Click here to Skip to main content
15,922,007 members
Home / Discussions / C#
   

C#

 
AnswerRe: saving a remote binary file (swf) locally with c# Pin
jkersch29-Sep-05 4:26
jkersch29-Sep-05 4:26 
QuestionTransparent Avalon application Pin
zeihou28-Sep-05 10:57
zeihou28-Sep-05 10:57 
AnswerRe: Transparent Avalon application Pin
[Marc]28-Sep-05 11:33
[Marc]28-Sep-05 11:33 
GeneralRe: Transparent Avalon application Pin
J. Dunlap28-Sep-05 17:30
J. Dunlap28-Sep-05 17:30 
Questionunions in C# Pin
Marc Clifton28-Sep-05 10:25
mvaMarc Clifton28-Sep-05 10:25 
AnswerRe: unions in C# Pin
David Stone28-Sep-05 10:43
sitebuilderDavid Stone28-Sep-05 10:43 
GeneralRe: unions in C# Pin
Marc Clifton28-Sep-05 10:56
mvaMarc Clifton28-Sep-05 10:56 
GeneralRe: unions in C# Pin
David Stone28-Sep-05 11:02
sitebuilderDavid Stone28-Sep-05 11:02 
QuestionGet mouse coordinates anywhere on the form Pin
Dan Neely28-Sep-05 10:06
Dan Neely28-Sep-05 10:06 
AnswerRe: Get mouse coordinates anywhere on the form Pin
Dan Neely28-Sep-05 10:20
Dan Neely28-Sep-05 10:20 
AnswerRe: Get mouse coordinates anywhere on the form Pin
[Marc]28-Sep-05 11:29
[Marc]28-Sep-05 11:29 
QuestionMake an MDIChild not from MDIParent Pin
kulile28-Sep-05 9:46
kulile28-Sep-05 9:46 
AnswerRe: Make an MDIChild not from MDIParent Pin
Dave Kreskowiak28-Sep-05 11:18
mveDave Kreskowiak28-Sep-05 11:18 
GeneralRe: Make an MDIChild not from MDIParent Pin
Anonymous29-Sep-05 0:31
Anonymous29-Sep-05 0:31 
Questionwhat really happens to form when closed from controlbox X Pin
tekken2228-Sep-05 9:15
tekken2228-Sep-05 9:15 
AnswerRe: what really happens to form when closed from controlbox X Pin
Dan Neely28-Sep-05 10:03
Dan Neely28-Sep-05 10:03 
QuestionA Console window for Trace.WriteLine Pin
Account Removal28-Sep-05 8:59
Account Removal28-Sep-05 8:59 
AnswerRe: A Console window for Trace.WriteLine Pin
Heath Stewart28-Sep-05 9:26
protectorHeath Stewart28-Sep-05 9:26 
Applications for either the console or windows subsystem won't display output for Trace.WriteLine unless you add the following lines of code before calling your first Trace.WriteLine (or Debug.WriteLine):
Trace.Listeners.Add(new TextWriterTraceListener(Console.Out));
To display a console window for a Windows Forms applcation compiled for the window subsystem (because a Windows Forms application can be compiled for the console subsystem and work, plus write console data; ildasm.exe is compiled this way) you'd have to P/Invoke CreateConsoleScreenBuffer and write a TextWriter around that for use with the TextWriterTraceListener, or just write your own TraceListener derivative to do that.

The easiest is just compile your Windows Forms application using /t:exe instead of /t:winexe so that you already have a console attached to the process.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Customer Product-lifecycle Experience
Microsoft

[My Articles] [My Blog]
GeneralRe: A Console window for Trace.WriteLine Pin
Account Removal28-Sep-05 10:17
Account Removal28-Sep-05 10:17 
AnswerRe: A Console window for Trace.WriteLine Pin
dbetting28-Sep-05 11:18
dbetting28-Sep-05 11:18 
GeneralRe: A Console window for Trace.WriteLine Pin
Account Removal30-Sep-05 7:44
Account Removal30-Sep-05 7:44 
QuestionIs there an easier way to find things in C# Pin
Dave Everett28-Sep-05 7:36
Dave Everett28-Sep-05 7:36 
AnswerRe: Is there an easier way to find things in C# Pin
Heath Stewart28-Sep-05 8:16
protectorHeath Stewart28-Sep-05 8:16 
GeneralRe: Is there an easier way to find things in C# Pin
Dave Everett28-Sep-05 9:44
Dave Everett28-Sep-05 9:44 
GeneralRe: Is there an easier way to find things in C# Pin
Heath Stewart28-Sep-05 9:58
protectorHeath Stewart28-Sep-05 9:58 

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.