Click here to Skip to main content
16,009,631 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: User Control in VB.NET Pin
GuruPandian21-Jan-05 3:41
GuruPandian21-Jan-05 3:41 
GeneralAccessing remote objects in VB.NET Pin
kumthekar18-Jan-05 23:37
kumthekar18-Jan-05 23:37 
Generalconvert IntPrt back to its original Object in VB.NET Pin
mujjusyed18-Jan-05 20:18
mujjusyed18-Jan-05 20:18 
GeneralRe: convert IntPrt back to its original Object in VB.NET Pin
Matt Philmon19-Jan-05 17:47
Matt Philmon19-Jan-05 17:47 
GeneralVB.NEt instance checking app Pin
TeleT3ch18-Jan-05 16:20
TeleT3ch18-Jan-05 16:20 
GeneralRe: VB.NEt instance checking app Pin
Christian Graus18-Jan-05 17:16
protectorChristian Graus18-Jan-05 17:16 
GeneralRe: VB.NEt instance checking app Pin
TeleT3ch19-Jan-05 2:37
TeleT3ch19-Jan-05 2:37 
GeneralRe: VB.NEt instance checking app Pin
rwestgraham30-Jan-05 19:39
rwestgraham30-Jan-05 19:39 
You can do this with API calls, which are even within the grasp of VB6 "meager" abilities. LOL.

EnumProcesses is one way but it can be cumbersome to work with.

If the application creates a main window that has a reasonably unique caption that does not change (in other words, this would never work with a web browser, but is feasible for most regular compiled apps) you can use the FindWindowEx API.

If you search for the app caption and window class, and the handle returns as zero, the app is (probably) not running.

Use Spy to help you determine the caption and window class name to search for.

Robert
GeneralRe: VB.NEt instance checking app Pin
TeleT3ch31-Jan-05 4:33
TeleT3ch31-Jan-05 4:33 
GeneralRe: VB.NEt instance checking app Pin
Icharus16-Feb-05 5:45
Icharus16-Feb-05 5:45 
GeneralMDI Forms, VB.NET & PictureBox Pin
nagajim18-Jan-05 13:35
nagajim18-Jan-05 13:35 
GeneralEditable Text Boxes in Crystal reports Pin
Member 162996418-Jan-05 6:55
Member 162996418-Jan-05 6:55 
GeneralRe: Editable Text Boxes in Crystal reports Pin
Jim Matthews18-Jan-05 10:00
Jim Matthews18-Jan-05 10:00 
Generalgetting the correct location Pin
raulavi18-Jan-05 6:40
raulavi18-Jan-05 6:40 
GeneralRe: getting the correct location Pin
Amaterasuv18-Jan-05 7:17
Amaterasuv18-Jan-05 7:17 
GeneralRe: getting the correct location Pin
raulavi18-Jan-05 7:26
raulavi18-Jan-05 7:26 
GeneralRe: getting the correct location Pin
raulavi18-Jan-05 7:41
raulavi18-Jan-05 7:41 
GeneralRe: getting the correct location Pin
Jim Matthews18-Jan-05 7:49
Jim Matthews18-Jan-05 7:49 
GeneralRe: getting the correct location Pin
raulavi18-Jan-05 8:28
raulavi18-Jan-05 8:28 
GeneralRe: getting the correct location Pin
Amaterasuv18-Jan-05 8:48
Amaterasuv18-Jan-05 8:48 
GeneralRe: getting the correct location Pin
Jim Matthews18-Jan-05 9:58
Jim Matthews18-Jan-05 9:58 
GeneralRe: getting the correct location Pin
raulavi18-Jan-05 10:18
raulavi18-Jan-05 10:18 
GeneralRe: getting the correct location Pin
raulavi18-Jan-05 10:30
raulavi18-Jan-05 10:30 
GeneralRe: getting the correct location Pin
Jim Matthews18-Jan-05 10:46
Jim Matthews18-Jan-05 10:46 
GeneralRe: getting the correct location Pin
raulavi18-Jan-05 13:01
raulavi18-Jan-05 13:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.