Click here to Skip to main content
15,902,299 members
Home / Discussions / C#
   

C#

 
AnswerRe: The DLL file Pin
Christian Graus12-Aug-08 19:38
protectorChristian Graus12-Aug-08 19:38 
AnswerRe: The DLL file Pin
Vimalsoft(Pty) Ltd12-Aug-08 20:00
professionalVimalsoft(Pty) Ltd12-Aug-08 20:00 
QuestionShowing and hiding the console window Pin
Ekjon12-Aug-08 12:37
Ekjon12-Aug-08 12:37 
AnswerRe: Showing and hiding the console window Pin
PIEBALDconsult12-Aug-08 12:49
mvePIEBALDconsult12-Aug-08 12:49 
GeneralRe: Showing and hiding the console window Pin
Ekjon13-Aug-08 6:51
Ekjon13-Aug-08 6:51 
AnswerRe: Showing and hiding the console window Pin
Mark Salsbery12-Aug-08 13:03
Mark Salsbery12-Aug-08 13:03 
GeneralRe: Showing and hiding the console window Pin
Ekjon13-Aug-08 5:30
Ekjon13-Aug-08 5:30 
GeneralRe: Showing and hiding the console window Pin
Mark Salsbery13-Aug-08 6:06
Mark Salsbery13-Aug-08 6:06 
The Sleep(3000) in my example just demonstrated it -
in my case I was testing from a console app so the console
was already open when the sample code was hit.
I let it show for 3 seconds, hide it for three seconds,
then show it again.

You could use the same code in a GUI app but you'd need to
call AllocConsole() first to show the console window.

The Sleep() was to demonstrate that it works - you shouldn't be using
Sleep() - you have a timer Smile | :)

AllocConsole() shows the console, FreeConsole() hides it.

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Showing and hiding the console window Pin
Ekjon13-Aug-08 6:39
Ekjon13-Aug-08 6:39 
GeneralRe: Showing and hiding the console window Pin
Mark Salsbery13-Aug-08 7:03
Mark Salsbery13-Aug-08 7:03 
GeneralRe: Showing and hiding the console window Pin
Ekjon13-Aug-08 7:47
Ekjon13-Aug-08 7:47 
GeneralRe: Showing and hiding the console window Pin
Mark Salsbery13-Aug-08 7:57
Mark Salsbery13-Aug-08 7:57 
GeneralRe: Showing and hiding the console window Pin
Ekjon13-Aug-08 8:13
Ekjon13-Aug-08 8:13 
GeneralRe: Showing and hiding the console window Pin
Mark Salsbery13-Aug-08 8:25
Mark Salsbery13-Aug-08 8:25 
QuestionDo do I Print Avery Address Labels, C# Pin
TCHamilton12-Aug-08 11:21
TCHamilton12-Aug-08 11:21 
AnswerRe: Do do I Print Avery Address Labels, C# Pin
Wendelius12-Aug-08 11:40
mentorWendelius12-Aug-08 11:40 
GeneralMessage Removed Pin
12-Aug-08 11:54
TCHamilton12-Aug-08 11:54 
GeneralRe: Do do I Print Avery Address Labels, C# Pin
Wendelius12-Aug-08 11:59
mentorWendelius12-Aug-08 11:59 
GeneralRe: Do do I Print Avery Address Labels, C# Pin
vikas amin14-Aug-08 11:31
vikas amin14-Aug-08 11:31 
Questionproblems with process.start methode Pin
stephan_00712-Aug-08 11:12
stephan_00712-Aug-08 11:12 
AnswerRe: problems with process.start methode Pin
Wendelius12-Aug-08 11:27
mentorWendelius12-Aug-08 11:27 
GeneralRe: problems with process.start methode Pin
stephan_00712-Aug-08 11:44
stephan_00712-Aug-08 11:44 
GeneralRe: problems with process.start methode Pin
Wendelius12-Aug-08 11:54
mentorWendelius12-Aug-08 11:54 
GeneralRe: problems with process.start methode Pin
stephan_00712-Aug-08 11:58
stephan_00712-Aug-08 11:58 
GeneralRe: problems with process.start methode Pin
Wendelius12-Aug-08 12:02
mentorWendelius12-Aug-08 12:02 

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.