Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
GeneralRe: Unable to clear textbox Pin
PartyGitsu6-Sep-07 20:34
PartyGitsu6-Sep-07 20:34 
GeneralRe: Unable to clear textbox Pin
DaveyM697-Sep-07 0:57
professionalDaveyM697-Sep-07 0:57 
GeneralRe: Unable to clear textbox Pin
DaveyM697-Sep-07 1:20
professionalDaveyM697-Sep-07 1:20 
QuestionWCF Transport :confused: Pin
Cape Town Developer3-Sep-07 23:03
Cape Town Developer3-Sep-07 23:03 
AnswerRe: WCF Transport :confused: Pin
originSH3-Sep-07 23:06
originSH3-Sep-07 23:06 
GeneralRe: WCF Transport :confused: Pin
Cape Town Developer3-Sep-07 23:11
Cape Town Developer3-Sep-07 23:11 
QuestionConsole application run as a windows service or command line in C# 2.0 Pin
Sundarapandian.Balasubramanian3-Sep-07 22:50
Sundarapandian.Balasubramanian3-Sep-07 22:50 
AnswerRe: Console application run as a windows service or command line in C# 2.0 Pin
originSH3-Sep-07 22:57
originSH3-Sep-07 22:57 
It would probably be easier to have 2 seperate apps that just use the same code from a shared lib.

I really think it would be more trouble than it's worth trying to have the single exe, and for very little gain.

A service needs to be installed, so the application would have to install itself depending on the supplied options, you'd probably also need to add in code to ensure that multiple copies can't be run and more code to handle the controlling of the service. All of which can be easily avoided.
GeneralRe: Console application run as a windows service or command line in C# 2.0 Pin
originSH3-Sep-07 22:59
originSH3-Sep-07 22:59 
GeneralRe: Console application run as a windows service or command line in C# 2.0 Pin
Sundarapandian.Balasubramanian3-Sep-07 23:20
Sundarapandian.Balasubramanian3-Sep-07 23:20 
AnswerRe: Console application run as a windows service or command line in C# 2.0 Pin
Skippums4-Sep-07 13:10
Skippums4-Sep-07 13:10 
QuestionInstalling printer drivers with WMI Pin
diamakz3-Sep-07 22:13
diamakz3-Sep-07 22:13 
QuestionProgrammatic Router Port Mapping Pin
1242563-Sep-07 21:55
1242563-Sep-07 21:55 
AnswerRe: Programmatic Router Port Mapping Pin
originSH3-Sep-07 22:51
originSH3-Sep-07 22:51 
Questionsql server Pin
Sonia Gupta3-Sep-07 21:14
Sonia Gupta3-Sep-07 21:14 
AnswerRe: sql server Pin
Guffa3-Sep-07 21:20
Guffa3-Sep-07 21:20 
QuestionHash produces different results Pin
dotmartin3-Sep-07 21:03
dotmartin3-Sep-07 21:03 
AnswerRe: Hash produces different results Pin
dotmartin4-Sep-07 3:11
dotmartin4-Sep-07 3:11 
QuestionHow to append a file's all contents to an existing file Pin
tiasoft3-Sep-07 20:56
tiasoft3-Sep-07 20:56 
AnswerRe: How to append a file's all contents to an existing file Pin
Giorgi Dalakishvili3-Sep-07 21:17
mentorGiorgi Dalakishvili3-Sep-07 21:17 
QuestionStatic variables Pin
Tsepoz3-Sep-07 20:51
Tsepoz3-Sep-07 20:51 
AnswerRe: Static variables Pin
rah_sin3-Sep-07 22:19
professionalrah_sin3-Sep-07 22:19 
QuestionUITypeEditor disabled when used PropertyDescriptor (In Property Grid) Pin
varad273-Sep-07 19:54
varad273-Sep-07 19:54 
AnswerRe: UITypeEditor disabled when used PropertyDescriptor (In Property Grid) Pin
TJoe5-Sep-07 9:14
TJoe5-Sep-07 9:14 
QuestionWindows 2000 and services. Pin
Geron3-Sep-07 19:45
Geron3-Sep-07 19:45 

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.