I've got a VB program which creates an instance of an Outlook application:
dim ol as outlook.application
set ol = new outlook.application
When I schedule this command using NT Scheduled Tasks, and then log out, my program hangs on the above set statement. Is there something in the environment I needs to set which will allow outlook to initialize? This program works fine, interactively and in batch, as long as I'm logged into NT. Outlook doesn't have to be running either.
I've also made sure that when I scheduled the task that I used my user ID and password which has administrative priviledges.
Any help appreciated.