Click here to Skip to main content
15,917,328 members
Home / Discussions / C#
   

C#

 
GeneralRe: Flash Movie on Forms Pin
eggie515-Sep-04 11:42
eggie515-Sep-04 11:42 
GeneralRe: Flash Movie on Forms Pin
Heath Stewart15-Sep-04 11:50
protectorHeath Stewart15-Sep-04 11:50 
GeneralExtract an ISO files to the local hard drive Pin
ntuyen0115-Sep-04 9:17
ntuyen0115-Sep-04 9:17 
GeneralRe: Extract an ISO files to the local hard drive Pin
Joe Woodbury15-Sep-04 14:17
professionalJoe Woodbury15-Sep-04 14:17 
Questionhow to build a web browser? Pin
DuyNguyen15-Sep-04 9:17
DuyNguyen15-Sep-04 9:17 
AnswerRe: how to build a web browser? Pin
Nnamdi Onyeyiri15-Sep-04 10:22
Nnamdi Onyeyiri15-Sep-04 10:22 
GeneralC# - Convert Bitmap object to byte[] Pin
theJazzyBrain15-Sep-04 8:45
theJazzyBrain15-Sep-04 8:45 
GeneralRe: C# - Convert Bitmap object to byte[] Pin
Grimolfr15-Sep-04 9:28
Grimolfr15-Sep-04 9:28 
GeneralRe: C# - Convert Bitmap object to byte[] Pin
theJazzyBrain15-Sep-04 22:12
theJazzyBrain15-Sep-04 22:12 
Generalloop throu dataset Pin
Totoo15-Sep-04 7:47
Totoo15-Sep-04 7:47 
GeneralInstalling Windows Services Pin
Guillermo Jimenez15-Sep-04 7:36
Guillermo Jimenez15-Sep-04 7:36 
GeneralRe: Installing Windows Services Pin
Heath Stewart15-Sep-04 7:47
protectorHeath Stewart15-Sep-04 7:47 
GeneralRe: Installing Windows Services Pin
Guillermo Jimenez15-Sep-04 10:04
Guillermo Jimenez15-Sep-04 10:04 
GeneralRe: Installing Windows Services Pin
Heath Stewart15-Sep-04 10:16
protectorHeath Stewart15-Sep-04 10:16 
GeneralRe: Installing Windows Services Pin
Guillermo Jimenez16-Sep-04 4:27
Guillermo Jimenez16-Sep-04 4:27 
GeneralRe: Installing Windows Services Pin
Heath Stewart16-Sep-04 5:31
protectorHeath Stewart16-Sep-04 5:31 
In C#, "Attribute" is not required for classes that end in "Attribute" and that derive form Attribute. This is documented.

I do see a problem even with the auto-generated code - namely the properties that you filled-in, or rather didn't fill in. If you read the documentation for the ServiceInstaller.ServiceName property, it is crucial that your ServiceBase.ServiceName (ServiceBase is what you extended, of course) and your ServiceInstaller.ServiceName match exactly. I'm hoping you didn't call your Windows Server "Service1" (the name that you pass to net start or net stop). You need to disambiguate and give it something meaningful (like w3svc for the HTTP service in Windows NT, or iisadmin for the IIS Administration Service).

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles]
GeneralLooking for a generic method for accessing fields in C# classes/structs Pin
johnbMA15-Sep-04 7:06
johnbMA15-Sep-04 7:06 
GeneralRe: Looking for a generic method for accessing fields in C# classes/structs Pin
Nnamdi Onyeyiri15-Sep-04 7:31
Nnamdi Onyeyiri15-Sep-04 7:31 
GeneralRe: Looking for a generic method for accessing fields in C# classes/structs Pin
Heath Stewart15-Sep-04 7:42
protectorHeath Stewart15-Sep-04 7:42 
GeneralRe: Looking for a generic method for accessing fields in C# classes/structs Pin
Nick Parker15-Sep-04 7:46
protectorNick Parker15-Sep-04 7:46 
QuestionMax length of text in statusbar? Pin
blakeb_115-Sep-04 6:12
blakeb_115-Sep-04 6:12 
AnswerNevermind, found the answer Pin
blakeb_115-Sep-04 6:14
blakeb_115-Sep-04 6:14 
GeneralRe: Nevermind, found the answer Pin
Heath Stewart15-Sep-04 6:59
protectorHeath Stewart15-Sep-04 6:59 
GeneralRe: Nevermind, found the answer Pin
blakeb_117-Sep-04 5:34
blakeb_117-Sep-04 5:34 
GeneralScene change detection doubt Pin
ee9903515-Sep-04 5:55
ee9903515-Sep-04 5:55 

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.