Click here to Skip to main content
15,868,164 members
Home / Discussions / C#
   

C#

 
QuestionWindows Service Question Pin
Jassim Rahma23-Aug-14 22:03
Jassim Rahma23-Aug-14 22:03 
QuestionRe: Windows Service Question Pin
Richard MacCutchan23-Aug-14 22:43
mveRichard MacCutchan23-Aug-14 22:43 
AnswerRe: Windows Service Question Pin
Jassim Rahma23-Aug-14 22:48
Jassim Rahma23-Aug-14 22:48 
GeneralRe: Windows Service Question Pin
Eddy Vluggen24-Aug-14 0:25
professionalEddy Vluggen24-Aug-14 0:25 
GeneralRe: Windows Service Question Pin
Richard MacCutchan24-Aug-14 0:40
mveRichard MacCutchan24-Aug-14 0:40 
AnswerInconsistent names Pin
peterkmx24-Aug-14 1:01
professionalpeterkmx24-Aug-14 1:01 
GeneralRe: Inconsistent names Pin
Jassim Rahma24-Aug-14 2:02
Jassim Rahma24-Aug-14 2:02 
GeneralRe: Inconsistent names Pin
Wes Aday24-Aug-14 4:12
professionalWes Aday24-Aug-14 4:12 
Jassim Rahma wrote:
the same problem

Which "same problem" are you talking about? I see several problem with this code.
Your service is started, OnStart is called, seeing that there is nothing in your OnStart method, nothing happens, the method exits, your service exits.
You do not have a timer 1 to use the tick event handler you have setup
You do not have a timer 2 to use the tick event handler you have setup
You would need to set the UseDefaultCredentials property to false
You probably don't have access to network resources depending on the user account your service is running under.
You can lead a developer to CodeProject, but you can't make them think.
The Theory of Gravity was invented for the sole purpose of distracting you from investigating the scientific fact that the Earth sucks.

AnswerRe: Windows Service Question Pin
Dave Kreskowiak24-Aug-14 6:55
mveDave Kreskowiak24-Aug-14 6:55 
AnswerRe: Windows Service Question Pin
Gerry Schmitz25-Aug-14 11:09
mveGerry Schmitz25-Aug-14 11:09 
QuestionSoftware Protection vs Dongle Protection Pin
Jassim Rahma22-Aug-14 5:21
Jassim Rahma22-Aug-14 5:21 
AnswerRe: Software Protection vs Dongle Protection Pin
OriginalGriff22-Aug-14 5:42
mveOriginalGriff22-Aug-14 5:42 
AnswerRe: Software Protection vs Dongle Protection Pin
Eddy Vluggen22-Aug-14 6:55
professionalEddy Vluggen22-Aug-14 6:55 
GeneralRe: Software Protection vs Dongle Protection Pin
Jassim Rahma22-Aug-14 8:01
Jassim Rahma22-Aug-14 8:01 
GeneralRe: Software Protection vs Dongle Protection Pin
Eddy Vluggen22-Aug-14 8:33
professionalEddy Vluggen22-Aug-14 8:33 
GeneralRe: Software Protection vs Dongle Protection Pin
Jassim Rahma22-Aug-14 9:32
Jassim Rahma22-Aug-14 9:32 
GeneralRe: Software Protection vs Dongle Protection Pin
Eddy Vluggen22-Aug-14 11:52
professionalEddy Vluggen22-Aug-14 11:52 
GeneralRe: Software Protection vs Dongle Protection Pin
Jassim Rahma22-Aug-14 11:54
Jassim Rahma22-Aug-14 11:54 
GeneralRe: Software Protection vs Dongle Protection Pin
Eddy Vluggen23-Aug-14 1:12
professionalEddy Vluggen23-Aug-14 1:12 
GeneralRe: Software Protection vs Dongle Protection Pin
Bernhard Hiller24-Aug-14 21:15
Bernhard Hiller24-Aug-14 21:15 
GeneralRe: Software Protection vs Dongle Protection Pin
Eddy Vluggen25-Aug-14 0:32
professionalEddy Vluggen25-Aug-14 0:32 
GeneralRe: Software Protection vs Dongle Protection Pin
jschell22-Aug-14 10:23
jschell22-Aug-14 10:23 
GeneralRe: Software Protection vs Dongle Protection Pin
Eddy Vluggen22-Aug-14 11:54
professionalEddy Vluggen22-Aug-14 11:54 
Question128 bit Decimal Type Pin
computerpublic22-Aug-14 5:01
computerpublic22-Aug-14 5:01 
AnswerRe: 128 bit Decimal Type Pin
Eddy Vluggen22-Aug-14 5:06
professionalEddy Vluggen22-Aug-14 5:06 

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.