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

John W. Colby jwcolby at colbyconsulting.com
Tue Aug 9 18:24:57 CDT 2005


This is what I found for doing this:

System.Diagnostics.Process.Start("notepad.exe","sample.txt");

>From this article:

http://www.dotnetbips.com/51AA8C48-7DD4-416B-A9D2-63C26644C120.aspx?articlei
d=28

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 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







More information about the dba-VB mailing list