Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Services
Message
 
À
22/06/2010 15:14:16
Yau Yat Hoong
3 Eye Security Sdn Bhd
Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01470220
Message ID:
01470250
Vues:
75
>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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform