Is there any reason why TGCtrl.CreateProcess can't be called directly from the schedule.vbs file? When I try this:
If TGCtrl.CheckTime (0, tc, "0,5,10,15 8,11,14,17,20,23 * * 2,3,4,5,6") = true Then TGCtrl.CreateProcess CP_HIDE, "C:\_Programming\Perl\CQDefectExporter\CQDefectExporter.pl"
I get an error that says:
CreateProcessAsUser: is not a valid Win32 application.
Any ideas?