Originally posted by: finitooo
I have problems whits Timer.
Private Sub Timer1_Tick(ByVal sender As System.Object,_ ByVal e As System.EventArgs) Handles Timer1.Tick
After start service timer does not tick and I not catch
event.
end sub
What I have do.
If you don't find the timer from 'components', there is an option to restore it. Just right click on the 'components' space, 'Add/Remove Items', and then click on the reset button. Take into account that this will remove all custom items you had created from the toolbox!!
ReplyThis is because you are taking your timer from 'Windows forms' on the toolbox. You need to take the timer from 'components' on the toolbox. They are different, The timer from windows forms will not work with a service.
ReplyOriginally posted by: D3r3ck
I have written a service code following that instructions and timer doesn't starts when I Start the service.
anyone knows why, and/or what can I do?
NOTE: I have written Timer1.Enabled = True in onStart Sub.
This is because you are taking your timer from 'Windows forms' on the toolbox. You need to take the timer from 'components' on the toolbox. They are different, The timer from windows forms will not work with a service.
ReplyOriginally posted by: pank
Ihaven't tried but information is quite sufficient
Reply
Originally posted by: D.Manning
I have been able to install and start my service easily. However, after I made a change to my service I tried to uninstall and install again. It didn't give me any uninstall issues. When I ran install again, I got a message saying installed failed because service already exists. Anyone seen this before? Are there other more effective ways to uninstall a service than InstallUtil.exe /u?
ReplyOriginally posted by: Jesper M. Christensen
Great information, thanks !
-but if I install my service-application using a Setup Project, The service is not registered in the system.
Therefore I have to manually install the service using the InstallUtil. How can I build this in my Setup-project ?
Please respond to my e-mail address and this page.
Best regards
Hi !
Jesper M. Christensen
Originally posted by: Naresh Naphade
very good information for making service daemons for games log analyzers.
ReplyOriginally posted by: Altus
Good introduction. Keep it up.
Reply
Originally posted by: SHAY
is it possible to create a service on .net server
anyone???
i created a windows service according to this article
and tried to install it on a w2k server running
windows 2000, i got the following message:
mscoree.dll is missing.
and deploy it to 2000/XP machine?
Originally posted by: assembly
I found it useful. but I need more detailed one. q
Reply