Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding Communication Ports
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Finding Communication Ports
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01289388
Message ID:
01289388
Views:
54
Is there anything available to find which Comm Ports are available or being used?

Currently I use this DEVCON.EXE with this code, but it does not work in Vista.



Set Memowidth To 200

! devcon findall =ports > ports.txt
Create Table Data\ports (portlist m(20))

Append Blank
Append Memo portlist From ports.txt Overw
Modify Memo portlist Noedit && Display memo field again

This.Parent.txtcomm_Port.SetFocus()
Next
Reply
Map
View

Click here to load this message in the networking platform