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

C#

 
GeneralRe: Notify Icon Problem for Console Application. Pin
ptr2void25-May-08 23:00
ptr2void25-May-08 23:00 
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 
I don't often write console apps so if this is incorrect - someone please point it out!

Although you can create a notify icon in a console app, I don't believe you can interact with it from one.

I think one way to do this is to launch an invisible winforms app that handles the notify icon and attach the console app's process to it so the winforms app can redirect the output.

Alternatively, you may be able to do some Pinvoke[^] stuff to catch the messages.

Dave

AnswerRe: Notify Icon Problem for Console Application. PinPopular
Anthony Mushrow26-May-08 5:40
professionalAnthony Mushrow26-May-08 5:40 
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 

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.