Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to write to COM and LPT port
Message
General information
Forum:
Visual Basic
Category:
Windows API functions
Miscellaneous
Thread ID:
00669079
Message ID:
00669512
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform