Question If process is running then 'something

Romeo12

Active member
Joined
Jul 15, 2009
Messages
25
Programming Experience
Beginner
Hey, i'm new here...
but, i search a lot, and i not found any answer ..
so, i decided to make a thread here ...


i want to khnow how to make a program, that program see if the process is running, and is the process is running, then make something ..


i have this !


VB.NET:
        Dim i As Process
        i = Process.GetProcessesByName(Process)

        If i = True Then
            'something
        End If



but don't work !
what is wrong ?
 
what actually Option Strict do ? yes, i turn it ON ..



and ...
i have to put the process with .exe ?
or with some quotes ? ("process.exe") ?
i have to declare that process ?
 
Back
Top