Click here to Skip to main content
15,885,216 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Questions about SMO Pin
Eddy Vluggen24-Mar-14 8:13
professionalEddy Vluggen24-Mar-14 8:13 
QuestionZedgraph YAxis Bit Values with Text Labels Pin
Member 224024223-Mar-14 22:22
Member 224024223-Mar-14 22:22 
QuestionVB.NET aximp.exe not found Pin
CharlesDE23-Mar-14 21:20
CharlesDE23-Mar-14 21:20 
AnswerRe: VB.NET aximp.exe not found Pin
Bernhard Hiller23-Mar-14 22:00
Bernhard Hiller23-Mar-14 22:00 
GeneralRe: VB.NET aximp.exe not found Pin
CharlesDE23-Mar-14 22:32
CharlesDE23-Mar-14 22:32 
QuestionIdentifying process completion Pin
Sam Marrocco23-Mar-14 10:26
Sam Marrocco23-Mar-14 10:26 
AnswerRe: Identifying process completion Pin
Alan N23-Mar-14 11:02
Alan N23-Mar-14 11:02 
GeneralRe: Identifying process completion Pin
Sam Marrocco23-Mar-14 11:23
Sam Marrocco23-Mar-14 11:23 
Thanks for the response, Alan.

A quick check confirms what you stated--that the OutputDataReceived and ErrorDataReceived are raised with a Nothing value for e.data as the last call after returning their respective data. Since this call happens only once (for each Received event) and *only* after the data is completed, I can set a local flag within the process for each Received event when that happens. Between the two flags and the process.hasexited() property I can raise a custom event along the lines of:

If Process.HasExited() and OutputDataReceived_IsCompleted and ErrorDataReceived_IsCompleted then
Raise Event Process_HasTrulyCompleted()
EndIf

This seems to be the only guaranteed manner of knowing that all the conditions are met.
QuestionRemove connectionstring from app.config Pin
dilkonika22-Mar-14 7:30
dilkonika22-Mar-14 7:30 
GeneralRe: Remove connectionstring from app.config Pin
PIEBALDconsult22-Mar-14 8:18
mvePIEBALDconsult22-Mar-14 8:18 
GeneralRe: Remove connectionstring from app.config Pin
dilkonika22-Mar-14 8:43
dilkonika22-Mar-14 8:43 
GeneralRe: Remove connectionstring from app.config Pin
Eddy Vluggen22-Mar-14 8:49
professionalEddy Vluggen22-Mar-14 8:49 
GeneralRe: Remove connectionstring from app.config Pin
dilkonika22-Mar-14 9:20
dilkonika22-Mar-14 9:20 
GeneralRe: Remove connectionstring from app.config Pin
Dave Kreskowiak22-Mar-14 12:28
mveDave Kreskowiak22-Mar-14 12:28 
GeneralRe: Remove connectionstring from app.config Pin
dilkonika22-Mar-14 13:48
dilkonika22-Mar-14 13:48 
GeneralRe: Remove connectionstring from app.config Pin
Dave Kreskowiak22-Mar-14 14:37
mveDave Kreskowiak22-Mar-14 14:37 
GeneralRe: Remove connectionstring from app.config Pin
dilkonika22-Mar-14 14:54
dilkonika22-Mar-14 14:54 
GeneralRe: Remove connectionstring from app.config Pin
Dave Kreskowiak23-Mar-14 3:55
mveDave Kreskowiak23-Mar-14 3:55 
GeneralRe: Remove connectionstring from app.config Pin
dilkonika23-Mar-14 4:58
dilkonika23-Mar-14 4:58 
GeneralRe: Remove connectionstring from app.config Pin
Dave Kreskowiak23-Mar-14 13:02
mveDave Kreskowiak23-Mar-14 13:02 
GeneralRe: Remove connectionstring from app.config Pin
dilkonika23-Mar-14 13:58
dilkonika23-Mar-14 13:58 
GeneralRe: Remove connectionstring from app.config Pin
Dave Kreskowiak23-Mar-14 14:19
mveDave Kreskowiak23-Mar-14 14:19 
GeneralRe: Remove connectionstring from app.config Pin
PIEBALDconsult22-Mar-14 12:12
mvePIEBALDconsult22-Mar-14 12:12 
QuestionODBC Connection Pin
SPSandy21-Mar-14 5:47
SPSandy21-Mar-14 5:47 
AnswerRe: ODBC Connection Pin
Simon_Whale21-Mar-14 5:49
Simon_Whale21-Mar-14 5:49 

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.