Click here to Skip to main content
16,008,010 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralAPI to get Application Status (running, stopped, etc) [modified] Pin
Mitch F.17-Mar-08 17:26
Mitch F.17-Mar-08 17:26 
GeneralRe: API to get Application Status (running, stopped, etc) Pin
Scott Dorman17-Mar-08 17:52
professionalScott Dorman17-Mar-08 17:52 
GeneralRe: API to get Application Status (running, stopped, etc) Pin
Mitch F.17-Mar-08 18:08
Mitch F.17-Mar-08 18:08 
GeneralRe: API to get Application Status (running, stopped, etc) Pin
Scott Dorman17-Mar-08 18:13
professionalScott Dorman17-Mar-08 18:13 
GeneralRe: API to get Application Status (running, stopped, etc) Pin
Mitch F.17-Mar-08 18:34
Mitch F.17-Mar-08 18:34 
GeneralRe: API to get Application Status (running, stopped, etc) Pin
Scott Dorman18-Mar-08 2:58
professionalScott Dorman18-Mar-08 2:58 
GeneralRe: API to get Application Status (running, stopped, etc) [modified] Pin
Mitch F.18-Mar-08 8:55
Mitch F.18-Mar-08 8:55 
GeneralRe: API to get Application Status (running, stopped, etc) Pin
Scott Dorman18-Mar-08 9:50
professionalScott Dorman18-Mar-08 9:50 
You're welcome. Glad to help out.

It seems that WaitForInputIdle() applies only to process with a UI but there may also be other conditions which cause it to return false. You might want to consider uisng the WaitForInputIdle(Int32) overload since the version you are calling has the potential to wait forever. Also, if for some reason the process doesn't have a message loop, both overloads will immediately return false, so you might want to test the return value as well.

Scott.

—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai

[Forum Guidelines] [Articles] [Blog]

Generalupdating VB form Pin
Orlando234517-Mar-08 16:12
Orlando234517-Mar-08 16:12 
GeneralRe: updating VB form Pin
Luc Pattyn17-Mar-08 16:26
sitebuilderLuc Pattyn17-Mar-08 16:26 
Generalselecting a single selectedValue with a list view control Pin
AAGTHosting17-Mar-08 11:37
AAGTHosting17-Mar-08 11:37 
GeneralRe: selecting a single selectedValue with a list view control Pin
Dave Kreskowiak18-Mar-08 3:45
mveDave Kreskowiak18-Mar-08 3:45 
Questionhow to clear MS Access synchronization list? Pin
Eric Georgiades17-Mar-08 10:08
Eric Georgiades17-Mar-08 10:08 
GeneralRe: how to clear MS Access synchronization list? Pin
Dave Kreskowiak18-Mar-08 3:42
mveDave Kreskowiak18-Mar-08 3:42 
GeneralRe: how to clear MS Access synchronization list? Pin
Eric Georgiades18-Mar-08 5:01
Eric Georgiades18-Mar-08 5:01 
QuestionDisplaying how many users are currently logged into a web application - Please help Pin
Mr Business Kid17-Mar-08 9:51
Mr Business Kid17-Mar-08 9:51 
GeneralRe: Displaying how many users are currently logged into a web application - Please help Pin
Christian Graus17-Mar-08 10:38
protectorChristian Graus17-Mar-08 10:38 
GeneralRe: Displaying how many users are currently logged into a web application - Please help Pin
Mr Business Kid17-Mar-08 10:49
Mr Business Kid17-Mar-08 10:49 
GeneralRe: Displaying how many users are currently logged into a web application - Please help Pin
Dave Kreskowiak17-Mar-08 13:01
mveDave Kreskowiak17-Mar-08 13:01 
GeneralRe: Displaying how many users are currently logged into a web application - Please help Pin
Christian Graus17-Mar-08 13:25
protectorChristian Graus17-Mar-08 13:25 
GeneralRe: Displaying how many users are currently logged into a web application - Please help [modified] Pin
nlarson1117-Mar-08 16:10
nlarson1117-Mar-08 16:10 
GeneralThere is no row at position 0 Pin
AAGTHosting17-Mar-08 7:03
AAGTHosting17-Mar-08 7:03 
GeneralRe: There is no row at position 0 Pin
Dave Kreskowiak18-Mar-08 3:03
mveDave Kreskowiak18-Mar-08 3:03 
GeneralDropdown list remains visible Pin
cstrader23217-Mar-08 5:07
cstrader23217-Mar-08 5:07 
GeneralRe: Dropdown list remains visible Pin
Dave Kreskowiak18-Mar-08 2:56
mveDave Kreskowiak18-Mar-08 2:56 

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.