[dba-VB] Running an application from a service - DotNet

Scott Marcus marcus at tsstech.com
Wed Aug 10 06:10:42 CDT 2005


I'm not sure that you have to be logged in. But I am using it on Windows
2003 Server under the administrator account.

Scott Marcus
IT Programmer
TSS Technologies Inc.
www.tss.com


-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby
Sent: Tuesday, August 09, 2005 5:18 PM
To: dba-vb at databaseadvisors.com
Subject: RE: [dba-VB] Running an application from a service - DotNet

AFAIK, you have to be logged in for that to work.

John W. Colby
www.ColbyConsulting.com 

Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Scott Marcus
Sent: Tuesday, August 09, 2005 3:05 PM
To: dba-vb at databaseadvisors.com
Subject: RE: [dba-VB] Running an application from a service - DotNet


John,

I do this using Windows built in scheduler. No service needed.

Start|All Programs|Accessories|System Tools|Scheduled Tasks

Scott Marcus
IT Programmer
TSS Technologies Inc.
www.tss.com

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby
Sent: Tuesday, August 09, 2005 2:04 PM
To: dba-vb at databaseadvisors.com
Subject: [dba-VB] Running an application from a service - DotNet

VB.Net - I have successfully created a service with a timer that ticks
every
X seconds/minutes/hours.  It is writing to the Application Event Log so
I
can see that the tick is happening.

Now I need that service to now run an "external" application, i.e. (for
example) run an Access application, etc.  

Does anyone have any experience with doing this?  

My next step is to create a VB.Net application that pulls data out of a
table and turns it into a CSV file, marking the records as exported.  I
will
need to run that application at a specific time of day so I need my
service
to run this program.

John W. Colby
www.ColbyConsulting.com 

Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/



_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com

_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com




_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com




More information about the dba-VB mailing list