Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > BOOK: Professional C#, 2nd and 3rd Editions
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional C#, 2nd and 3rd Editions
This is the forum to discuss the Wrox book Professional C#, 3rd Edition by Simon Robinson, Christian Nagel, Karli Watson, Jay Glynn, Morgan Skinner, Bill Evjen; ISBN: 9780764557590
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C#, 2nd and 3rd Editions section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 5th, 2003, 04:21 PM
Registered User
 
Join Date: Aug 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Starting Windows Services Thru GUI

Hello,
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
"CANNOT START XYZ SERVICE ON MACHINE '.'"
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.
Regards


 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Professional Windows GUI Programming using C# Blackadder All Other Wrox Books 2 February 11th, 2011 10:27 AM
Need help in starting Windows Project g_vamsi_krish Visual Studio 2005 0 January 3rd, 2007 01:16 PM
windows services rana018 C# 0 August 16th, 2006 05:13 AM
windows services marclena General .NET 0 June 30th, 2004 11:22 AM
Starting Windows Services Programatically amarwadi VS.NET 2002/2003 0 August 5th, 2003 04:22 PM



All times are GMT -4. The time now is 08:58 PM.


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