473,324 Members | 2,511 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Run a VB.NET class file from Windows Scheduler

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
Jul 21 '05 #1
1 1722
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

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Faiz | last post by:
We have developed an application in VB6 (say AA.exe). We wish to schedule the execution of this application (AA.exe) through Windows Task Scheduler. Is there a way through which we can add this...
1
by: Neil Ginsberg | last post by:
I am having trouble using Windows Scheduler with an A2K database that has a password. The password is a db password, not a user-level security password. I have a routine I am looking for Scheduler...
7
by: PawelR | last post by:
Hello group, Sorry, My English is very little. I have qustion about windows scheduler. My application create report and send this report to users. I want run this application as job in windows...
1
by: Scott | last post by:
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...
2
by: Pat_RI | last post by:
I am trying to call a macro using a command file by using Windows Scheduler. I am able to run the command file and the macro runs without issue if I doubleclick on the *.cmd file. When I try...
19
by: bubzilla | last post by:
Hi, i´ve got about 10 headerfiles with implemented classes. Now when i try to compile them i get the following message: In file included from Proxy/ServerCnx.hh:36, from...
3
by: mayur_hirpara | last post by:
Hi, I am writing a VB.NET application. It is a Windows application at the moment. The application contains a button. the click event of button perform a long running task. It needs to be started...
2
by: Jeff Johnson | last post by:
Disclaimer: I am extremely new to Web services and may very well be doing the wrong thing! Background: I have a Web service and a Windows Forms client app (VS 2005). The Web service exposes a...
1
by: Prof. William Battersea | last post by:
I'd like a class method to fire every n seconds. I tried this: class Timed: def.__init__(self): self.t = Timer(3, self.dothing) def.start(self): self.t.start()
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.