Click here to Skip to main content
15,911,030 members
Home / Discussions / C#
   

C#

 
AnswerRe: ftp treeview Pin
Christian Graus1-Jun-08 4:00
protectorChristian Graus1-Jun-08 4:00 
QuestionCheck Box in grid view Pin
venkat86_ece31-May-08 23:54
venkat86_ece31-May-08 23:54 
AnswerRe: Check Box in grid view Pin
Christian Graus1-Jun-08 4:01
protectorChristian Graus1-Jun-08 4:01 
AnswerCP Ignore Pin
leckey1-Jun-08 10:14
leckey1-Jun-08 10:14 
QuestionWindows service status checking Pin
George_George31-May-08 22:09
George_George31-May-08 22:09 
AnswerRe: Windows service status checking Pin
Zoltan Balazs31-May-08 23:03
Zoltan Balazs31-May-08 23:03 
GeneralRe: Windows service status checking Pin
George_George31-May-08 23:23
George_George31-May-08 23:23 
Questionconsole mode and service mode Pin
George_George31-May-08 21:43
George_George31-May-08 21:43 
Hello everyone,


My application can be started as both console mode from main function and servide mode from OnStart.

My question is, is there any elegant way to detect whether the application is run under console mode or servide mode? Currently, I set a status in main function manually to detect whether it is run under console mode or service mode.

Any more elegent solution or built-in API I could use?


thanks in advance,
George
AnswerRe: console mode and service mode Pin
PIEBALDconsult1-Jun-08 5:14
mvePIEBALDconsult1-Jun-08 5:14 
GeneralRe: console mode and service mode Pin
George_George1-Jun-08 14:36
George_George1-Jun-08 14:36 
QuestionMouseEventArgs and Screen Position Pin
Expert Coming31-May-08 19:39
Expert Coming31-May-08 19:39 
AnswerRe: Better Way Pin
Expert Coming31-May-08 20:17
Expert Coming31-May-08 20:17 
AnswerRe: MouseEventArgs and Screen Position Pin
Shree31-May-08 23:13
Shree31-May-08 23:13 
QuestionVSTO Excel Help Pin
sharp_k31-May-08 15:38
sharp_k31-May-08 15:38 
AnswerRe: VSTO Excel Help Pin
jammmie9991-Jun-08 1:41
professionaljammmie9991-Jun-08 1:41 
GeneralRe: VSTO Excel Help Pin
sharp_k1-Jun-08 7:24
sharp_k1-Jun-08 7:24 
Question2 BinaryWriter for a file ? Pin
Xmen Real 31-May-08 15:23
professional Xmen Real 31-May-08 15:23 
AnswerRe: 2 BinaryWriter for a file ? Pin
Anthony Mushrow31-May-08 15:45
professionalAnthony Mushrow31-May-08 15:45 
GeneralRe: 2 BinaryWriter for a file ? Pin
Xmen Real 31-May-08 15:48
professional Xmen Real 31-May-08 15:48 
QuestionfolderBrowserDialog and Saving file Pin
MumbleB31-May-08 10:57
MumbleB31-May-08 10:57 
AnswerRe: folderBrowserDialog and Saving file Pin
That Asian Guy31-May-08 11:11
That Asian Guy31-May-08 11:11 
GeneralRe: folderBrowserDialog and Saving file Pin
MumbleB31-May-08 21:00
MumbleB31-May-08 21:00 
AnswerRe: folderBrowserDialog and Saving file Pin
Shree31-May-08 23:12
Shree31-May-08 23:12 
GeneralRe: folderBrowserDialog and Saving file Pin
MumbleB31-May-08 23:32
MumbleB31-May-08 23:32 
QuestionHow Do I Code Plugins for Other Apps (MSN Messenger)? Pin
That Asian Guy31-May-08 10:49
That Asian Guy31-May-08 10:49 

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.