Closing of HyperACCESS from within a Visual Basic Script
To have HyperACCESS automatically close once your script has completed its necessary tasks, replace the API function haTerminate with the following sample code:
haDisconnectSession
haWaitForConnection 2, 10000
haMenuString “FX”