#HELP with Com Port VB
Need HELP with Com port in V Basic using VBasic i want to communicate
between my computer and Ham radio transceiver.I can open the the com port
and I can send info to the radio But here is my problem. This is the way it
is done in QBasic
Open "com1 " etc
print#1, chr$(0);chr$(15)
this instructs the radio to sent back 75 bytes to the computer.
in using QBasic this received the info B4= input(loc(1),#)
the above line is junk it should read b$=input$(loc(1)#) for I = 1 to
len(b$) b=mid$(b$,i,1):print b$ then i can process the bytes.How can this
input$ from the com port be done in VBasic does any have any suggestions
would be greatly apreciated. Thanks Bob Kowaluk
There are 2 Replies.