Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect Com Port
Message
From
07/02/2013 10:32:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Detect Com Port
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01565392
Message ID:
01565392
Views:
73
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
Next
Reply
Map
View

Click here to load this message in the networking platform