468,134 Members | 1,265 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,134 developers. It's quick & easy.

How to develop an application which runs automatically

Hi All,
I have to develop an application .The application has to update
database.It does not have any user interface.It needs to run on Windows
XP/2000 automatically at a particular time say 4 p.m. daily.
I have to develop the application in VB.net
My first question is which Visual Basic.Net Project type do I use-
Windows Service Or Class Library?
Second Question is What are the necessary initial steps I have to take
during development?
Thirdly how do I finally install or deploy the application so that it
automatically runs at a particular time on my Computer.
The OS will be either Windows XP or Windows 2000.
In addition if there are additional settings related to Operating
system?

Please Help!

Nov 19 '05 #1
2 1935
Hi,

There are 2 ways in which you can do that.

First the Simple Solution(less time consuming): Make a class and wrap the
functionallity in the class. Compile the class (using vbc/csc tool) or build
the project the dll file would be in the bin folder.

You can go to the control panes -> Schedules Task -> Add New Scheduled task.
There you can specify the periodicity in which the OS would execute your dll.
Like in your problem statement, you can specify the condition 04:00 PM daily.
In the process it would ask you the path of the dll file.

Second and the time consuming activity: Make an windows service. Have a
config file attach where you have parameters like M/H/D/F/Y for monthly ,
hourly, Daily, Forthnightly and Yearly and specify the duration.

You need to install the service using service installers. There is a lot of
stuff available for services on the net.

Hope this answers your query.

thanks and Regards,

Piyush Thakuria
"ap***********@yahoo.com" wrote:
Hi All,
I have to develop an application .The application has to update
database.It does not have any user interface.It needs to run on Windows
XP/2000 automatically at a particular time say 4 p.m. daily.
I have to develop the application in VB.net
My first question is which Visual Basic.Net Project type do I use-
Windows Service Or Class Library?
Second Question is What are the necessary initial steps I have to take
during development?
Thirdly how do I finally install or deploy the application so that it
automatically runs at a particular time on my Computer.
The OS will be either Windows XP or Windows 2000.
In addition if there are additional settings related to Operating
system?

Please Help!

Nov 19 '05 #2
<ap***********@yahoo.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
Please Help!


http://www.amazon.com/exec/obidos/tg...books&n=507846

Start at page 1...
Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by MEM | last post: by
2 posts views Thread by John Spiegel | last post: by
1 post views Thread by aparnasinha26 | last post: by
43 posts views Thread by Rob R. Ainscough | last post: by
4 posts views Thread by Ravi Ambros Wallau | last post: by
13 posts views Thread by John | last post: by
1 post views Thread by gcdp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.