Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using MSCOMM with USB to serial device
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01320080
Message ID:
01320734
Views:
17
Open the comm tester form that you downloaded. Create a command button and call it LIST PORTS. In the CLICK event put this code:

* Launch Device Manager Form to see all ports and devices on computer

Local lcOpen

Declare Integer ShellExecute In shell32.Dll ;
INTEGER hndWin, String cAction, String cFileName, ;
STRING cParams, String cDir, Integer nShowWin

lcOpen = "devmgmt.msc"

ShellExecute(0,"open",lcOpen,"","",1)



Click on PORTS - COMM AND LPT

Make sure Comm 4 exists.


What is your connection code for RThreshold?

Don
Previous
Reply
Map
View

Click here to load this message in the networking platform