Click here to Skip to main content
15,893,663 members
Home / Discussions / C#
   

C#

 
GeneralRe: DataGrid row tag Pin
Steve Maier1-Jul-05 7:23
professionalSteve Maier1-Jul-05 7:23 
GeneralRe: DataGrid row tag Pin
glenn2011-Jul-05 12:46
glenn2011-Jul-05 12:46 
GeneralRe: DataGrid row tag Pin
Jassim Rahma1-Jul-05 12:54
Jassim Rahma1-Jul-05 12:54 
GeneralRe: DataGrid row tag Pin
glenn2011-Jul-05 17:03
glenn2011-Jul-05 17:03 
Questionhow to detect changes to text property of multiple controls bound using CurrencyManger Pin
therealmccoy1-Jul-05 6:13
therealmccoy1-Jul-05 6:13 
Generaluse debug info from external application Pin
Piovra_1-Jul-05 4:14
Piovra_1-Jul-05 4:14 
GeneralRe: use debug info from external application Pin
Roland Bär1-Jul-05 5:48
Roland Bär1-Jul-05 5:48 
GeneralRe: use debug info from external application Pin
S. Senthil Kumar1-Jul-05 6:07
S. Senthil Kumar1-Jul-05 6:07 
You can always redirect console output to your own stream, provided you launch the process.
You can write a tiny bootstrapping application that launches your main application after redirecting standard output and also captures console output. Something like
class BootStrapper
{
   StreamReader reader;
   public static void Launch()
   {
      ProcessStartInfo info = new ProcessStartInfo();
      info.RedirectStandardOutput = true;
      // Fill other parameters
      ...
      Process p = Process.Start(info);
      reader = p.StandardOutput;
      new Thread(new ThreadStart(ConsoleReader)).Start();
   }
   private void ConsoleReader()
   {
      string line = null;
      while ((line = Process.GetCurrentProcess().StandardOutput.ReadLine()) != null)
      {
	// Update UI
      }
   }
}


Or you can replace calls to Console.WriteLine with Trace.WriteLine and use the method that the other poster suggested.

Hope this helps.

Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
GeneralRe: use debug info from external application Pin
Piovra_6-Jul-05 2:13
Piovra_6-Jul-05 2:13 
GeneralExtending xml comment intellisense Pin
Roland Bär1-Jul-05 3:42
Roland Bär1-Jul-05 3:42 
Questionhow to get wsdl using wse 2.0 in short Pin
Iftikhar Akram1-Jul-05 3:36
Iftikhar Akram1-Jul-05 3:36 
AnswerRe: how to get wsdl using wse 2.0 in short Pin
Member 122691721-Jul-05 19:23
Member 122691721-Jul-05 19:23 
GeneralRe: how to get wsdl using wse 2.0 in short Pin
4-Jul-05 3:09
suss4-Jul-05 3:09 
QuestionAre there any issues with connecting to the ORACLE 10g database through C# .Net? Pin
suvarna joshi1-Jul-05 3:16
suvarna joshi1-Jul-05 3:16 
GeneralUrgent Integration of Windows Service setup with my project Pin
ksanju10001-Jul-05 1:50
ksanju10001-Jul-05 1:50 
GeneralEvent fired on killing an application fromTaskManager Pin
manivannan.p1-Jul-05 1:44
manivannan.p1-Jul-05 1:44 
GeneralRe: Event fired on killing an application fromTaskManager Pin
Dave Kreskowiak1-Jul-05 3:46
mveDave Kreskowiak1-Jul-05 3:46 
GeneralRe: Event fired on killing an application fromTaskManager Pin
manivannan.p1-Jul-05 22:12
manivannan.p1-Jul-05 22:12 
GeneralRe: Event fired on killing an application fromTaskManager Pin
Dave Kreskowiak2-Jul-05 16:31
mveDave Kreskowiak2-Jul-05 16:31 
GeneralRational for Generics? Proposal for change Pin
Nick Hounsome1-Jul-05 0:10
Nick Hounsome1-Jul-05 0:10 
GeneralRe: Rational for Generics? Proposal for change Pin
Judah Gabriel Himango1-Jul-05 5:25
sponsorJudah Gabriel Himango1-Jul-05 5:25 
GeneralRe: Rational for Generics? Proposal for change Pin
Nick Hounsome1-Jul-05 9:26
Nick Hounsome1-Jul-05 9:26 
GeneralRe: Rational for Generics? Proposal for change Pin
Judah Gabriel Himango1-Jul-05 9:40
sponsorJudah Gabriel Himango1-Jul-05 9:40 
GeneralSOAPFormatter and åäö Pin
Roger Alsing30-Jun-05 22:36
Roger Alsing30-Jun-05 22:36 
Generalexecute external program from a C# program Pin
StrayGrey30-Jun-05 22:23
StrayGrey30-Jun-05 22:23 

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.