Click here to Skip to main content
15,922,630 members
Home / Discussions / C#
   

C#

 
QuestionWebServices in C#.net Pin
balu1234525-Jul-08 8:01
balu1234525-Jul-08 8:01 
AnswerRe: WebServices in C#.net Pin
Ashfield25-Jul-08 8:26
Ashfield25-Jul-08 8:26 
GeneralRe: WebServices in C#.net Pin
SomeGuyThatIsMe25-Jul-08 8:29
SomeGuyThatIsMe25-Jul-08 8:29 
GeneralRe: WebServices in C#.net Pin
balu1234525-Jul-08 8:36
balu1234525-Jul-08 8:36 
GeneralRe: WebServices in C#.net Pin
Ashfield25-Jul-08 9:13
Ashfield25-Jul-08 9:13 
QuestionProblem setting FormBorderStyle = WindowState.Maximized Pin
dlarkin7725-Jul-08 5:50
dlarkin7725-Jul-08 5:50 
AnswerRe: Problem setting FormBorderStyle = WindowState.Maximized Pin
DaveyM6925-Jul-08 6:17
professionalDaveyM6925-Jul-08 6:17 
GeneralRe: Problem setting FormBorderStyle = WindowState.Maximized Pin
dlarkin7725-Jul-08 6:22
dlarkin7725-Jul-08 6:22 
QuestiononBefore unload event Pin
Archana New to Dotnet25-Jul-08 5:30
Archana New to Dotnet25-Jul-08 5:30 
AnswerJavascript question :rolleyes: Pin
led mike25-Jul-08 5:43
led mike25-Jul-08 5:43 
QuestionTaking order with PDA Pin
Yulianto.25-Jul-08 4:55
Yulianto.25-Jul-08 4:55 
AnswerRe: Taking order with PDA Pin
hammerstein0525-Jul-08 5:33
hammerstein0525-Jul-08 5:33 
GeneralRe: Taking order with PDA Pin
DaveyM6925-Jul-08 6:21
professionalDaveyM6925-Jul-08 6:21 
GeneralRe: Taking order with PDA Pin
DaveyM6925-Jul-08 6:34
professionalDaveyM6925-Jul-08 6:34 
AnswerRe: Taking order with PDA Pin
DaveyM6925-Jul-08 8:07
professionalDaveyM6925-Jul-08 8:07 
Questionlan based application Pin
umeshdaiya25-Jul-08 4:04
umeshdaiya25-Jul-08 4:04 
AnswerRe: lan based application Pin
Anthony Mushrow25-Jul-08 4:42
professionalAnthony Mushrow25-Jul-08 4:42 
Questiondirectory watching Pin
stephan_00725-Jul-08 2:22
stephan_00725-Jul-08 2:22 
AnswerRe: directory watching Pin
benjymous25-Jul-08 3:53
benjymous25-Jul-08 3:53 
GeneralRe: directory watching Pin
stephan_00725-Jul-08 4:00
stephan_00725-Jul-08 4:00 
GeneralRe: directory watching Pin
Ashfield25-Jul-08 8:22
Ashfield25-Jul-08 8:22 
Questionbinding combobox to xml file Pin
bfis10813725-Jul-08 1:03
bfis10813725-Jul-08 1:03 
AnswerRe: binding combobox to xml file Pin
Tuwing.Sabado25-Jul-08 4:22
Tuwing.Sabado25-Jul-08 4:22 
GeneralRe: binding combobox to xml file Pin
bfis10813727-Jul-08 11:18
bfis10813727-Jul-08 11:18 
QuestionWindows Service : More than one user Service running within the same process Pin
Krugger40425-Jul-08 0:21
Krugger40425-Jul-08 0:21 
Hi,
I am working on a windows service that monitor a path and does some upload based on the FileWatcher class. As per microsoft, it say that "More than one user Service may run within the same process". Therefore, i created two services (component classes) in my windows service project and added an instance of each to the service to run as shown below:

static void Main()
{
ServiceUtility initUtl = new ServiceUtility(Constants System.ServiceProcess.ServiceBase[] ServicesToRun;
ServicesToRun = new System.ServiceProcess.ServiceBase[] { new exchangeRateFileWatcher(), new KYCFileWatcher() };System.ServiceProcess.ServiceBase.Run(ServicesToRun); }

However, i read that the second service will run only if the first one fails. Can you please tell me whether it is possible (and how) to run the two services within the same process (i.e exe)?

Thank you for your kind help

Carpe diem,
Krg

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.