Example Dim lsxECLOIAObj as Object Set lsxECLOIAObj = new lsxECLOIA("A") if (lsxECLOIAObj.WaitForAppAvailable (10000)) then MessageBox("Application is available") else MessageBox("Timeout Occurred") end if