Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » VB.NET Process Method .....
Closed Thread
Old 05-11-2006, 12:36 PM   #1 (permalink)
 
Newb Techie

Join Date: May 2006

Posts: 4

Randum77

Send a message via AIM to Randum77
Default VB.NET Process Method .....

I'm making an app that will check to see if a certian process is running on a computer. I need to be able to check to see if it's running, if not, then run it. I've just gotten done w/ my first semester of VB but they didn't go into alot of detail so i've been digging though the MSDN at microsoft trying to find a way to do it. I found the Process method and i'm hoping it's the way to go I just need a bit of direction to get started. Here's what I am thinking. ..

Use the Process.GetProcessName to assign the name to a "as process" variable. Then do an "if then" type comparison to see if it's running, the false path would use the Process.ProcessStart to get it going again.

What i need here is confirmation or direciton on what to do. I'm doing my home work and testing things out, i just don't know enough at the moment. Thanks in advance.
Randum77 is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On