Page 1 of 1

no luck with inp & out please help!

Posted: Wed Dec 31, 2008 12:44 am
by iamdenteddisk
I have tryed 2 or 3 differt things from tutorials and have used QB for years and just dont think I understand what is meant in the tutorial this is my first time trying to us qb with a modem though I done games and such before, I just cant grasp the inp & out stuff it just dont click for me what I want to use is the open com statements but my problem is this qb uses com 1 & 2 not 3 & 4 and my modem is on com 3 so..

I am down to a single error "file or number don't exist"
on the line below.

OPEN "com" + port$ + ":" + baud$ + ",N,8,1,RB2048,TB2048" FOR RANDOM AS #1


the Tutorial says:
COM1 &H3F8
COM2 &H2F8
COM3 &H3E8
COM4 &H2E8

it also says that qb can only use com 1&2 in H or L meaning 1&3 are on com1 and 2&4 are on com2 in qb
and this tutorial suggest pokeing the com3 address into com1
**what is the syntax or line to do that?**

can anyone help me here?

if this is possible and I am thinking it is but just not clearly documented, the simple prog I am working on now will be an exelent source for others too.

Posted: Wed Dec 31, 2008 2:33 am
by burger2227
PLEASE STAY in ONE THREAD on this topic! I will answer in the other thread..............