Click here to Skip to main content
15,894,460 members
Home / Discussions / C#
   

C#

 
AnswerRe: Handling Multiple Exception Types Pin
Luc Pattyn20-Jul-10 14:17
sitebuilderLuc Pattyn20-Jul-10 14:17 
GeneralRe: Handling Multiple Exception Types Pin
Matt U.20-Jul-10 14:23
Matt U.20-Jul-10 14:23 
GeneralRe: Handling Multiple Exception Types Pin
Richard Blythe20-Jul-10 14:30
Richard Blythe20-Jul-10 14:30 
GeneralRe: Handling Multiple Exception Types Pin
Luc Pattyn20-Jul-10 15:07
sitebuilderLuc Pattyn20-Jul-10 15:07 
GeneralRe: Handling Multiple Exception Types Pin
Matt U.20-Jul-10 15:14
Matt U.20-Jul-10 15:14 
AnswerRe: Handling Multiple Exception Types Pin
PIEBALDconsult20-Jul-10 15:40
mvePIEBALDconsult20-Jul-10 15:40 
AnswerRe: Handling Multiple Exception Types Pin
Ravi Bhavnani20-Jul-10 17:50
professionalRavi Bhavnani20-Jul-10 17:50 
QuestionOldie (as opposed to a newbie) trying to write a Windows Service Pin
jbradshaw20-Jul-10 4:38
jbradshaw20-Jul-10 4:38 
So I'm a programmer who's been programming for 20 years. I have written Windows services numerous times and need to do it again. There are things that my service code doesn't do (like run in console mode) that I'd like it to do.

So does anybody have any code that I can steal that is the basis for a Windows service? I know I can create a new project as a Windows Service through VS2010 but was wondering if anybody has a basis I can use.

Also - the premise I used was in the OnStart command, start a timer that would run a routine that would poll for things to do. The routine would never end and check, based on time, if something needs to be done. Is this still an appropriate method for doing a service or is there a better way?

TIA - Jeff.
AnswerRe: Oldie (as opposed to a newbie) trying to write a Windows Service Pin
Pete O'Hanlon20-Jul-10 7:38
mvePete O'Hanlon20-Jul-10 7:38 
AnswerRe: Oldie (as opposed to a newbie) trying to write a Windows Service Pin
PIEBALDconsult20-Jul-10 16:49
mvePIEBALDconsult20-Jul-10 16:49 
QuestionHow to convert word document to xsl/xslt [modified] Pin
Exelioindia20-Jul-10 3:05
Exelioindia20-Jul-10 3:05 
AnswerRe: How to convert word document to xsl/xslt Pin
PIEBALDconsult20-Jul-10 3:10
mvePIEBALDconsult20-Jul-10 3:10 
GeneralRe: How to convert word document to xsl/xslt Pin
Exelioindia20-Jul-10 3:24
Exelioindia20-Jul-10 3:24 
GeneralRe: How to convert word document to xsl/xslt Pin
PIEBALDconsult20-Jul-10 3:40
mvePIEBALDconsult20-Jul-10 3:40 
GeneralRe: How to convert word document to xsl/xslt Pin
Exelioindia20-Jul-10 3:51
Exelioindia20-Jul-10 3:51 
GeneralRe: How to convert word document to xsl/xslt Pin
Mycroft Holmes20-Jul-10 15:31
professionalMycroft Holmes20-Jul-10 15:31 
QuestionDotNet and PHP Interactivity Pin
arj_agt20-Jul-10 3:01
arj_agt20-Jul-10 3:01 
AnswerRe: DotNet and PHP Interactivity Pin
Richard MacCutchan20-Jul-10 4:45
mveRichard MacCutchan20-Jul-10 4:45 
GeneralRe: DotNet and PHP Interactivity Pin
arj_agt20-Jul-10 18:13
arj_agt20-Jul-10 18:13 
AnswerRe: DotNet and PHP Interactivity Pin
Ennis Ray Lynch, Jr.20-Jul-10 5:05
Ennis Ray Lynch, Jr.20-Jul-10 5:05 
AnswerRe: DotNet and PHP Interactivity Pin
Dr.Walt Fair, PE20-Jul-10 5:39
professionalDr.Walt Fair, PE20-Jul-10 5:39 
Questionreffering C#.net proj dll(2.0) in to new vb.net proj made in 1.1 using vs studio2003 [modified] Pin
Ankit Aneja20-Jul-10 2:57
Ankit Aneja20-Jul-10 2:57 
AnswerRe: reffering C#.net proj dll(2.0) in to new vb.net proj made in 1.1 using vs studio2003 Pin
Dave Kreskowiak20-Jul-10 3:46
mveDave Kreskowiak20-Jul-10 3:46 
Questiondesrialization fail due to xsi:type Pin
jainiraj19-Jul-10 22:42
jainiraj19-Jul-10 22:42 
AnswerRe: desrialization fail due to xsi:type Pin
Peace ON19-Jul-10 22:56
Peace ON19-Jul-10 22:56 

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.