L
LittleRob
I'm having problems using Windows Task scheduler (or AT or SCHTASKS) to
run a VB.NET program unattended.
I'm able to reduce it to some really simple code that still fails
My program has a Sub Main something like
Sub Main()
MainForm.showdialog
End Sub
In MainForm the New() does execute, but code in the MainFormLoad event
doesn't. I then get a System.InvalidOperationException in the Eventlog
for that machine.
Why is this so hard, when VB6 can do this no problem?
Thanks
Rob
run a VB.NET program unattended.
I'm able to reduce it to some really simple code that still fails
My program has a Sub Main something like
Sub Main()
MainForm.showdialog
End Sub
In MainForm the New() does execute, but code in the MainFormLoad event
doesn't. I then get a System.InvalidOperationException in the Eventlog
for that machine.
Why is this so hard, when VB6 can do this no problem?
Thanks
Rob