Click here to Skip to main content
16,004,906 members
Home / Discussions / C#
   

C#

 
GeneralRe: Notify Icon Problem for Console Application. Pin
Abhijit Jana25-May-08 23:07
professionalAbhijit Jana25-May-08 23:07 
GeneralRe: Notify Icon Problem for Console Application. Pin
ptr2void25-May-08 23:09
ptr2void25-May-08 23:09 
GeneralRe: Notify Icon Problem for Console Application. Pin
Abhijit Jana25-May-08 23:16
professionalAbhijit Jana25-May-08 23:16 
GeneralRe: Notify Icon Problem for Console Application. Pin
Abhijit Jana25-May-08 23:21
professionalAbhijit Jana25-May-08 23:21 
GeneralRe: Notify Icon Problem for Console Application. Pin
ptr2void25-May-08 23:25
ptr2void25-May-08 23:25 
GeneralRe: Notify Icon Problem for Console Application. Pin
Abhijit Jana26-May-08 0:15
professionalAbhijit Jana26-May-08 0:15 
GeneralRe: Notify Icon Problem for Console Application. Pin
DaveyM6926-May-08 1:29
professionalDaveyM6926-May-08 1:29 
AnswerRe: Notify Icon Problem for Console Application. PinPopular
Anthony Mushrow26-May-08 5:40
professionalAnthony Mushrow26-May-08 5:40 
Okay, this doesn't work because a console application is not event driven. It just sits there and waits, when its waiting for your input its because you called the method Read or ReadLine otherwise it wouldn't know you had pressed any keys.

Windows applications listen for messages that the OS sends it, so when you click something the OS will send a message to the application which contains information on what what was clicked, where, with what button etc. To use these messages you need to use Application.Run otherwise the OS will not send any messages to your application (or the application will ignore them, either way).

My current favourite word is: I'm starting to run out of fav. words!
-SK Genius

Game Programming articles start -here[^]-

AnswerRe: Notify Icon Problem for Console Application. Pin
Ed.Poore26-May-08 7:10
Ed.Poore26-May-08 7:10 
GeneralRe: Notify Icon Problem for Console Application. Pin
charlieg26-May-08 17:17
charlieg26-May-08 17:17 
GeneralRe: Notify Icon Problem for Console Application. Pin
Ed.Poore26-May-08 23:35
Ed.Poore26-May-08 23:35 
Questionevent log name Pin
George_George25-May-08 22:15
George_George25-May-08 22:15 
QuestionC# Port of dnsjava Pin
K.L.K25-May-08 22:05
K.L.K25-May-08 22:05 
AnswerRe: C# Port of dnsjava Pin
leppie25-May-08 22:27
leppie25-May-08 22:27 
QuestionHow to intercept request/responce sequence from IE (generally, WebBrowser control or csExWB) Pin
Alexey Pelykh25-May-08 21:41
Alexey Pelykh25-May-08 21:41 
QuestionBacking Up SQL/mySQL with C# Pin
Matt Cavanagh25-May-08 21:22
Matt Cavanagh25-May-08 21:22 
AnswerRe: Backing Up SQL/mySQL with C# Pin
Abhijit Jana25-May-08 21:43
professionalAbhijit Jana25-May-08 21:43 
QuestionRe: Backing Up SQL/mySQL with C# Pin
Matt Cavanagh25-May-08 22:19
Matt Cavanagh25-May-08 22:19 
AnswerRe: Backing Up SQL/mySQL with C# Pin
Abhijit Jana25-May-08 23:13
professionalAbhijit Jana25-May-08 23:13 
QuestionWeb.Mail - Configuration Error. Pin
Shivarudrayya H25-May-08 21:08
Shivarudrayya H25-May-08 21:08 
AnswerRe: Web.Mail - Configuration Error. Pin
Abhijit Jana25-May-08 21:18
professionalAbhijit Jana25-May-08 21:18 
GeneralRe: Web.Mail - Configuration Error. Pin
Shivarudrayya H25-May-08 21:24
Shivarudrayya H25-May-08 21:24 
QuestionHow to know that a process has finished? Pin
ptr2void25-May-08 20:54
ptr2void25-May-08 20:54 
AnswerRe: How to know that a process has finished? Pin
dan!sh 25-May-08 21:01
professional dan!sh 25-May-08 21:01 
AnswerRe: How to know that a process has finished? Pin
Laddie25-May-08 21:02
Laddie25-May-08 21: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.