thisform.oConnection.Open() thisform.RunProcess() thisform.oConnection.Close() MessageBox("Process finished")The connection remains open until I close the messagebox window.
thisform.oConnection.Open() thisform.RunProcess() thisform.oConnection.Close() wait timeout 1 MessageBox("Process finished")The connection closes as expected before the messagebox is displayed, I'm confirming this by using performance monitor.