|
-
August 18th, 1999, 04:45 PM
#1
accessing com port
i wrote a small prog that transfers an ascii file to a psion palmtop in qbasic. everything works fine, but i´m porting it to visual basic now and i can´t seem to access any of the Com ports with Visual Basic the way i do it in qbasic: Open "COM" + tcom + ":" + tbaud + ",N,8,1" for Output as #5
where tcom is the number of the port and tbaud the baud rate.
so how do i use the com port in Visual Basic?
-
August 24th, 1999, 06:34 AM
#2
Re: accessing com port
Hi..
Perhaps you can use MSCOMM32.ocx for this purpose.
This OCX come with Visual Basic Controls and is easily usable.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|