Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Serial port
Message
De
18/09/2002 05:35:49
 
 
À
17/09/2002 14:14:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00701091
Message ID:
00701673
Vues:
26
Hi,

Help for the MSCOMM control can be found in COMM98.CHM

Essentially you need to set up and open the relevant port e.g:
MSCOMM.Settings = "9600,N,8,1"
MSCOMM.CommPort = 1
MSCOMM.ImputLen = 0
MSCOMM.PortOpen = .T.
and then either poll the input or put code in the OnComm() event to handle incoming data (I favour using the OnComm() approach). There are VB examples in the help file.

HTH,
Viv
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform