Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading from COM1
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00508102
Message ID:
00508121
Vues:
27
MSCOMM32.OCX (Drop an ActiveX control on a form, choose Insert control, and pick Microsoft Communication Control, version 6.0).
You may need to adjust the 'port' property, the 'settings' property (baud rate, parity, data bit, and stop bit values), the InBufferSize, etc.
Open the port:
thisform.olecontrol1.portopen=1
Use the 'Input' method to read data:
thisform.textbox1 = thisform.olecontrol1.input
Doru
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform