|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
||||
|
||||
|
Creating a Windows Service
Hey,
Quite a broad question now! has anyone got any good links to help describe how to make a basic Service in windows. basically i want a process that polls lets say every 10 mins checking to see if another service is running! if it isnt then i want it to create a file sounds simple but im stuggling starting! Any ideas would be great! Thanks
__________________
To fly a Kite high you have to fly against the wind! think about it..... deep man deep!! Current Project Contact me |
|
#2
|
|||
|
|||
|
use sc.exe to make a service, giving it the binPath to an executable file of some sort -- search msdn for details. You might want a scheduled task instead though.
|
|
#3
|
||||
|
||||
|
Hey, edfollett,
Sorry for not seeing this thread until now, but if you still need this solution, it can be done pretty easily in WMI. Post back if you're still interested and I'll help you write the script. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Other Programming Languages > Creating a Windows Service |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|