Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSCOMM does not work in XP with soft modem
Message
From
13/07/2004 11:29:07
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
MSCOMM does not work in XP with soft modem
Miscellaneous
Thread ID:
00923763
Message ID:
00923763
Views:
86
I have soft modem in Windows XP SP1
XP shows it as COM3 and all other programs work with it.

I ran the following code in VFP 7 :
thisform.olecontrol1.Commport= 3
thisform.olecontrol1.InBuffersize = 8000
thisform.olecontrol1.Settings= "2400,n,8,1"
thisform.olecontrol1.handshaking = 2
thisform.olecontrol1.Portopen= .t.
The last line in this code causes error

OLE IDispatch exception code 0 from MSComm: The device is not open..

In Windowos 98 this works OK.

Any idea ?
Andrus
Reply
Map
View

Click here to load this message in the networking platform