Done - method of the AtouchX object
Description:
Terminates the connection to the
DbNet network.
The method terminates the connection to the
DbNet network, i.e. it mainly terminates communication (stops transmitting and receiving on communication lines, hangs all connected modems) and releases all allocated HW resources (
COM,
DOKOPO).
The method must always be called before the object is cancelled once the initialization method was called, regardless of whether the initialization was successful or failed!
After the connection is terminated, the other methods of the object cannot be used anymore because they will end with an "uninitialized" error. The exceptions are the version checking, information checking, and time conversion methods, which can be used without initialization. It is also possible to reuse initialization methods to reinitialize the connection.
Example:
JavaScriptVBScriptSelect and copy to clipboard
oATC.Done();
oATC.Done