No. Simply put, the class must have a startable Main and be in a project
who's output is set to EXE.
Or you could have the class in a DLL and have a separate EXE that calls the
class.
Either way, you have to have an EXE that the WinSchd can start.
As for the web.config, you can still access it using standard methods or xml
readers.
If I'm not understanding your restrictions, let me know, there are many ways
to accomplish the same task.
John Mark Howell.
"Scott" <Sc***@discussions.microsoft.com> wrote in message
news:99**********************************@microsof t.com...
I have a vb.net class file that I would like to have run as a scheduled
job from Windows Scheduler. Can a class file be converted to a .exe file so
it can be scheduled? The class file needs information from web.config, so
its not practical to make the class file its own project. Any information or
suggestions would be appreciated.
Thanks