Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to write to COM and LPT port
Message
Information générale
Forum:
Visual Basic
Catégorie:
Fonctions API de Windows
Divers
Thread ID:
00669079
Message ID:
00669512
Vues:
12
>Hi,

>My old DOS application that use to trigger POS drawer to open
>are written using C. So, I had to convert it into Visual Basic
>code, is there any way to write and read from the COM and LPT
>port using similar function like C function 'inport' and 'outport'
>in Visual basic.

>Please kindly help and advise. Thank you
>Best Regards
>Virusim

VFP'c supported control code for write from commport and LPT same VB and VC.I suggest you use API name VBIO.DLL whict you can download some sample on UT Download name Control hardware...But VBIO.DLL support only WIN9X.
I have other rountines for control hardware with Commport only support all Win.Please visit my website http://thaisofthouse.cjb.net (Thaifox Programmer)

Hopping to help you
Best Regards
Suppachai Klungkaew
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform