Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows Services
Message
 
To
22/06/2010 15:14:16
Yau Yat Hoong
3 Eye Security Sdn Bhd
Malaysia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01470220
Message ID:
01470250
Views:
74
>Am trying to create an exe that runs via windows scheduler.
>The exe reads from com port values from a weighing scale and updates the information into an SQL file.
>Need a timer as well as the ole control mscomm32.
>Would like to do it programmatically.
>Question is how do I add in the mscomm32 into a prg and loop that with a timer object?
>YH

As Craig points out a Windows Task scheduler will run at a specified time (or date) once. I don't think that is what you want. A windows service (as your title suggests) would run all the time if a timer is added to it, but why do you feel you need a windows service as oppose to a regular exe?
Previous
Reply
Map
View

Click here to load this message in the networking platform