Click here to Skip to main content
15,900,461 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Alfa to Bravo need help! Pin
Marcus J. Smith19-Apr-07 5:03
professionalMarcus J. Smith19-Apr-07 5:03 
AnswerRe: Alfa to Bravo need help! Pin
Colin Angus Mackay19-Apr-07 5:19
Colin Angus Mackay19-Apr-07 5:19 
AnswerRe: Alfa to Bravo need help! Pin
dptalt20-Apr-07 2:25
dptalt20-Apr-07 2:25 
QuestionHow to delete folder and its subfolders Pin
re infecta19-Apr-07 4:43
re infecta19-Apr-07 4:43 
AnswerRe: How to delete folder and its subfolders Pin
Dave Kreskowiak19-Apr-07 5:00
mveDave Kreskowiak19-Apr-07 5:00 
Questionneed to display stdout messages Pin
mduran4019-Apr-07 4:19
mduran4019-Apr-07 4:19 
AnswerRe: need to display stdout messages Pin
Dave Kreskowiak19-Apr-07 4:57
mveDave Kreskowiak19-Apr-07 4:57 
AnswerRe: need to display stdout messages Pin
sthotakura19-Apr-07 9:14
sthotakura19-Apr-07 9:14 
When a process writes text to its standard output(stdout) stream, that is normally gets displayed in the console window. You can redirect the StandardOutput stream property of the Process class, you can manipulate or even supress the text. To use this you have to set RedirectStandardOutput property of ProcessStartInfo to True.

Here I ll give you some sample code (..)

Dim oProcess as New Process
Dim oProcessStartInfo as New ProcessStartInfo("some executable name")
oProcessStartInfo.UseShellExecute = False
oProcessStartInfo.RedirectStandardOutput = True
oProcess.StartInfo = oProcessStartInfo
oProcess.Start()

Dim oStreamReader As StreamReader = oProcess.StandardOutput
Dim myString As String = oStreamReader.ReadLine() ' Or here you can use ReadToEnd() method




Cheers,
Suresh

GeneralRe: need to display stdout messages Pin
mduran4019-Apr-07 10:23
mduran4019-Apr-07 10:23 
GeneralRe: need to display stdout messages Pin
sthotakura20-Apr-07 7:30
sthotakura20-Apr-07 7:30 
GeneralRe: need to display stdout messages Pin
mduran4020-Apr-07 7:59
mduran4020-Apr-07 7:59 
QuestionError Concurrency Violation... Pin
CCG319-Apr-07 4:16
CCG319-Apr-07 4:16 
AnswerRe: Error Concurrency Violation... Pin
Dave Kreskowiak19-Apr-07 4:56
mveDave Kreskowiak19-Apr-07 4:56 
GeneralRe: Error Concurrency Violation... [modified] Pin
CCG319-Apr-07 5:23
CCG319-Apr-07 5:23 
GeneralRe: Error Concurrency Violation... Pin
Dave Kreskowiak19-Apr-07 7:23
mveDave Kreskowiak19-Apr-07 7:23 
GeneralRe: Error Concurrency Violation... Pin
CCG319-Apr-07 7:37
CCG319-Apr-07 7:37 
GeneralRe: Error Concurrency Violation... Pin
Dave Kreskowiak19-Apr-07 9:02
mveDave Kreskowiak19-Apr-07 9:02 
GeneralRe: Error Concurrency Violation... Pin
CCG319-Apr-07 9:26
CCG319-Apr-07 9:26 
GeneralRe: Error Concurrency Violation... Pin
CCG320-Apr-07 17:01
CCG320-Apr-07 17:01 
QuestionPassing Datagrid parameters to Crystal Reports Pin
Central_IT19-Apr-07 3:58
Central_IT19-Apr-07 3:58 
AnswerRe: Passing Datagrid parameters to Crystal Reports Pin
Tarakeshwar Reddy19-Apr-07 4:33
professionalTarakeshwar Reddy19-Apr-07 4:33 
GeneralRe: Passing Datagrid parameters to Crystal Reports Pin
Central_IT19-Apr-07 4:39
Central_IT19-Apr-07 4:39 
GeneralRe: Passing Datagrid parameters to Crystal Reports Pin
Tarakeshwar Reddy19-Apr-07 4:46
professionalTarakeshwar Reddy19-Apr-07 4:46 
QuestionNeed help to make pop3 server Pin
dmid19-Apr-07 3:51
dmid19-Apr-07 3:51 
AnswerRe: Need help to make pop3 server Pin
Dave Kreskowiak19-Apr-07 4:54
mveDave Kreskowiak19-Apr-07 4:54 

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.