Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server App monitor

Status
Not open for further replies.

EZEason

Programmer
Dec 11, 2000
213
US
I need some guidance on how to develop a server app to monitor other server apps. I need to capture start time, end time, user name, and ask them user for a project code. I plan on putting the data into a SQL Database. My first thought is to write a console app that captures the data then launches the app. But I do not know how to launch an app from another app. Or, can the log file for user, start time, and end time, but I would not get the project number.

Any suggestions would be helpful.


What doesn't kill you makes you stronger.
 
To answer just launching an app question you just use:

System.Diagnostics.Process.Start(FilePathAndName)

Where of course FilePathAndName is the file path and file name of the program you wish to start. Also any command line variables it may need.

-I hate Microsoft!
-Forever and always forward.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top