I have a VB program that is setup to run via Windows NT's Scheduled Tasks. The program basically generates a report that we want to print at night and have it ready on the user's printer first thing in the morning. When setting up the Scheduled Task, we give it an account name and password
Here's the problem:
Since we run the program at night when nobody is logged on to the workstation, it seems that the printer assignment/mapping doesn't take place thus the report which is created in Crystal Reports and VB6 is never sent to the printer. If the same scheduled task runs while someone is logged on to the workstation, it goes to the default printer of the user logged on.
Any help would be greatly appreciated. Tarek