Hello i'm making a program which alows me to see information on a certain game server, but i'm stuck on this section.
Basically i'm making it so that if samp.exe is open and running my program can run, but if not it cant.
Code:
If "C:\Program Files\Rockstar Games\GTA San Andreas\samp.exe" = True Then
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
else
stop
End If
End Sub
End Class
Can anyone solve my problem?;)