p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional C#, 2nd and 3rd Editions (http://p2p.wrox.com/forumdisplay.php?f=44)
-   -   Starting Windows Services Thru GUI (http://p2p.wrox.com/showthread.php?t=2477)

amarwadi August 5th, 2003 04:21 PM

Starting Windows Services Thru GUI
I read the chapter on Windows services. I developed a Windows Service that allows a user to display all possible IP addresses for the machine on which it is running. I want to start the Windows service programatically using ServiceController and the code you have provided lets me PAUSE, CONTINUE and STOP the service. Everytime I want to START the service using the form START button, it gives me an error stating
It also throws a system exception - 1073741819 and a System.ComponentModel.Win32Exception - RPC call failed exception.
I have looked online for all kinds of materials that would allow me to solve this problem, but alas there is none!
I would highly appreciate your help on this.

All times are GMT -4. The time now is 02:33 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.