Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #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

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.

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

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