Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSCOMM does not work in XP with soft modem
Message
De
13/07/2004 11:29:07
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
MSCOMM does not work in XP with soft modem
Divers
Thread ID:
00923763
Message ID:
00923763
Vues:
85
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
Répondre
Fil
Voir

Click here to load this message in the networking platform