G
Guest
Hi;
I have developed a VB.net app in a module that queries a database, loads the
data into several arrays and then loops through the array. It then compares
time data stored in the array with the current system time. If there is a
match a program is then started. The apps purpose is be like the windows task
scheduler. And I want
to run it as service because it will run continuosly.
I can't seen to find an example of where an app like this is made a service.
Most
of the examples of candidates for services a like a special backup routine
or to
monitor a specific process.
So could I run my app as a service ?
If so do I transfer my code which now exists in the main() sub and a
function into
the service class of a service project ? Or can I call my module from the
OnStart Sub ?
Thanks for any insights,
I have developed a VB.net app in a module that queries a database, loads the
data into several arrays and then loops through the array. It then compares
time data stored in the array with the current system time. If there is a
match a program is then started. The apps purpose is be like the windows task
scheduler. And I want
to run it as service because it will run continuosly.
I can't seen to find an example of where an app like this is made a service.
Most
of the examples of candidates for services a like a special backup routine
or to
monitor a specific process.
So could I run my app as a service ?
If so do I transfer my code which now exists in the main() sub and a
function into
the service class of a service project ? Or can I call my module from the
OnStart Sub ?
Thanks for any insights,