Click here to Skip to main content
15,913,268 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Sending Email without using Outlook Pin
GuyThiebaut17-Oct-07 23:03
professionalGuyThiebaut17-Oct-07 23:03 
AnswerRe: Sending Email without using Outlook Pin
Christian Graus17-Oct-07 10:56
protectorChristian Graus17-Oct-07 10:56 
QuestionCan we read return from a process without waiting its completion? Pin
ATC17-Oct-07 7:59
ATC17-Oct-07 7:59 
AnswerRe: Can we read return from a process without waiting its completion? Pin
Dave Kreskowiak17-Oct-07 15:26
mveDave Kreskowiak17-Oct-07 15:26 
GeneralRe: Can we read return from a process without waiting its completion? Pin
ATC18-Oct-07 6:05
ATC18-Oct-07 6:05 
GeneralRe: Can we read return from a process without waiting its completion? Pin
svanwass18-Oct-07 9:09
svanwass18-Oct-07 9:09 
GeneralRe: Can we read return from a process without waiting its completion? Pin
Dave Kreskowiak18-Oct-07 12:09
mveDave Kreskowiak18-Oct-07 12:09 
AnswerRe: Can we read return from a process without waiting its completion? Pin
Luc Pattyn17-Oct-07 15:38
sitebuilderLuc Pattyn17-Oct-07 15:38 
Hi,

AFAIK the general solution that will cope with both stdout and stderr, no matter how much
data is expected, requires several threads:
- one thread (other than the GUI thread) that reads lines (not ReadToEnd) from stdout
- one more thread (other than the GUI thread) that reads lines from stderr
- the necessary Control.InvokeRequired and Control.Invoke() stuff to let them access
your GUI
- and maybe yet another thread that waits for the process to terminate (if that is
relevant to your app).

And even when you program it according to the documentation (study it!) you will
find it difficult to get it to work properly on Win95/98/Me (IIRC that's how it used to be
on .NET 1.0/1.1 anyway).

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google


GeneralRe: Can we read return from a process without waiting its completion? Pin
ATC18-Oct-07 6:06
ATC18-Oct-07 6:06 
QuestionPerforming drag and drop between two datagridviews? Pin
Mr Oizo17-Oct-07 7:19
Mr Oizo17-Oct-07 7:19 
AnswerRe: Performing drag and drop between two datagridviews? Pin
Dave Kreskowiak17-Oct-07 14:21
mveDave Kreskowiak17-Oct-07 14:21 
QuestionButton with menu in outlook Pin
Koltz17-Oct-07 6:56
Koltz17-Oct-07 6:56 
Questioncatch internet explorer web site request Pin
Jamal Encami17-Oct-07 5:33
professionalJamal Encami17-Oct-07 5:33 
AnswerRe: catch internet explorer web site request Pin
Colin Angus Mackay17-Oct-07 6:12
Colin Angus Mackay17-Oct-07 6:12 
GeneralRe: catch internet explorer web site request Pin
Dave Kreskowiak17-Oct-07 6:58
mveDave Kreskowiak17-Oct-07 6:58 
AnswerRe: catch internet explorer web site request Pin
Dave Kreskowiak17-Oct-07 6:12
mveDave Kreskowiak17-Oct-07 6:12 
AnswerRe: catch internet explorer web site request Pin
svanwass18-Oct-07 9:07
svanwass18-Oct-07 9:07 
AnswerRe: catch internet explorer web site request Pin
Jamal Encami18-Oct-07 13:10
professionalJamal Encami18-Oct-07 13:10 
Questionplease help Pin
Sonia Gupta17-Oct-07 4:25
Sonia Gupta17-Oct-07 4:25 
AnswerRe: please help Pin
Dave Kreskowiak17-Oct-07 5:15
mveDave Kreskowiak17-Oct-07 5:15 
GeneralRe: please help Pin
Colin Angus Mackay17-Oct-07 6:13
Colin Angus Mackay17-Oct-07 6:13 
AnswerRe: please help Pin
pmarfleet17-Oct-07 6:43
pmarfleet17-Oct-07 6:43 
AnswerRe: please help Pin
Christian Graus17-Oct-07 9:47
protectorChristian Graus17-Oct-07 9:47 
AnswerRe: please help Pin
Pete O'Hanlon17-Oct-07 10:04
mvePete O'Hanlon17-Oct-07 10:04 
QuestionConvert binary string to integer Pin
VFaul17-Oct-07 4:21
VFaul17-Oct-07 4:21 

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.