Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detect Com Port
Message
De
07/02/2013 10:32:41
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Detect Com Port
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01565392
Message ID:
01565392
Vues:
71
Dear Experts

I developed an application that sends SMS messages from a USB GSM modem. I'm using a third party dll. I need to pass in the COM PORT, that the modem appears to be connected to.

So far, I've been looking up the COM PORT manually using the Windows Device Manager, and write it into a properties file. I'm wondering if there's a way to detect which COM PORT, the modem is connected to programmatically?

It'll save the trouble of looking it up every time.
The port number changes if I unplug/replug it sometimes.

Please help
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform