Login | Register  
View Article

Current Articles | Categories | Search | Syndication

More work on the Windows Service

I did a bit more work with the Windows Service. Here's a screenshot of it when it first starts:

Here's a screenshot of it running:

In order to get this working correctly, you'll first need to set WheelMUD.WindowsService as the "Start Project." You do that by right-clicking on the project and selecting "Set As StartUp Project" from the context menu. It should look like this when you do this:

Once you do this, set the command-line parameter to have "-interactive". Again, right-click on WheelMUD.WindowsService, and select "Properties". Then, click on the "Debug" tab. It should look like this:

The "-interactive" parameter is important, as it tells the service to run in debug mode. Otherwise, when you try to run it, it will complain about the service not being installed and needed to use InstallUtil.exe.

Also, don't forget to change the path to the database to where it is located in your computer. The file name is WheelMUDWindowsService.exe.config.

Enjoy!

posted @ Wednesday, April 16, 2008 9:23 PM by Fastalanasa

Previous Page | Next Page

COMMENTS

Currently, there are no comments. Be the first to post one!
Click here to post a comment
Copyright 2007-2008 by WheelMUD  | Terms Of Use | Privacy Statement