Click here to Skip to main content
16,004,761 members
Home / Discussions / C#
   

C#

 
GeneralRe: StreamReader.ReadLine locking thread Pin
Kentamanos18-Nov-03 11:46
Kentamanos18-Nov-03 11:46 
GeneralRe: StreamReader.ReadLine locking thread Pin
Anonymous18-Nov-03 22:28
Anonymous18-Nov-03 22:28 
GeneralRe: StreamReader.ReadLine locking thread Pin
Kentamanos19-Nov-03 5:52
Kentamanos19-Nov-03 5:52 
GeneralRe: StreamReader.ReadLine locking thread Pin
Kentamanos19-Nov-03 6:53
Kentamanos19-Nov-03 6:53 
GeneralLaunch the Application on windows startup like MSN Messenger Pin
mnaveed18-Nov-03 5:38
mnaveed18-Nov-03 5:38 
GeneralRe: Launch the Application on windows startup like MSN Messenger Pin
Kentamanos18-Nov-03 5:47
Kentamanos18-Nov-03 5:47 
GeneralRe: Launch the Application on windows startup like MSN Messenger Pin
mnaveed18-Nov-03 23:35
mnaveed18-Nov-03 23:35 
GeneralRe: Launch the Application on windows startup like MSN Messenger Pin
Kentamanos19-Nov-03 5:50
Kentamanos19-Nov-03 5:50 
Then you want to create a Windows Service. The wizard inside VS.Net has a wizard for windows services, and that's a good place to start. You'll basically be creating a class that derives from System.ServiceProcess.ServiceBase. You'll also have to add an installer component (System.Configuration.Install.Installer) for your service and run "installutil" to get your service properly installed.

Services are not that hard to create, but they're a bit of a pain to debug. I recommend you find a good article on them somewhere to get started. A lot of people end up creating a class that they contain first in a normal console application for debugging purposes. They later contain that class in their service when they feel like it's been debugged a good amount.

Hope that helps a bit.



I, for one, do not think the problem was that the band was down. I think that the problem may have been that there was a Stonehenge monument on the stage that was in danger of being crushed by a dwarf.

-David St. Hubbins
GeneralRe: Launch the Application on windows startup like MSN Messenger Pin
Heath Stewart18-Nov-03 6:27
protectorHeath Stewart18-Nov-03 6:27 
GeneralRe: Launch the Application on windows startup like MSN Messenger Pin
Sphynx_Roland19-Nov-03 7:44
Sphynx_Roland19-Nov-03 7:44 
GeneralStatic variables in methods Pin
Amirjalaly18-Nov-03 4:49
Amirjalaly18-Nov-03 4:49 
GeneralRe: Static variables in methods Pin
Alvaro Mendez18-Nov-03 5:03
Alvaro Mendez18-Nov-03 5:03 
GeneralRe: Static variables in methods Pin
jparsons18-Nov-03 17:01
jparsons18-Nov-03 17:01 
GeneralRe: Static variables in methods Pin
Alvaro Mendez19-Nov-03 5:03
Alvaro Mendez19-Nov-03 5:03 
GeneralRe: Static variables in methods Pin
Jeff Varszegi18-Nov-03 5:07
professionalJeff Varszegi18-Nov-03 5:07 
GeneralRe: Static variables in methods Pin
Wernand18-Nov-03 5:13
Wernand18-Nov-03 5:13 
GeneralCreating an installer for my solution Pin
Anonymous18-Nov-03 4:49
Anonymous18-Nov-03 4:49 
GeneralRe: Creating an installer for my solution Pin
Heath Stewart18-Nov-03 6:49
protectorHeath Stewart18-Nov-03 6:49 
GeneralRe: Creating an installer for my solution Pin
gokselm20-Nov-03 11:02
gokselm20-Nov-03 11:02 
Generalwhere can I find the Win32 API constants for C# Pin
Wernand18-Nov-03 4:42
Wernand18-Nov-03 4:42 
GeneralRe: where can I find the Win32 API constants for C# Pin
Wernand18-Nov-03 5:09
Wernand18-Nov-03 5:09 
GeneralRe: where can I find the Win32 API constants for C# Pin
Pauwll18-Nov-03 7:14
Pauwll18-Nov-03 7:14 
GeneralRe: where can I find the Win32 API constants for C# Pin
Heath Stewart18-Nov-03 8:38
protectorHeath Stewart18-Nov-03 8:38 
GeneralRe: where can I find the Win32 API constants for C# Pin
Nick Seng18-Nov-03 15:03
Nick Seng18-Nov-03 15:03 
QuestionIE/IIS bug with repeated image? Pin
Todd Smith18-Nov-03 4:23
Todd Smith18-Nov-03 4:23 

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.