PDA

Click to See Complete Forum and Search --> : qb45 Program Serial Ports


PeterPigmy
May 17th, 2002, 10:52 AM
I have a VERY large QB45 program that works with serial port data-input a lot. It would be a pain to re-write in vb6.

On several machines running Windows (but not always) the program doesn't recognise any input from the Comm Ports.

Anybody any ideas, perhaps to write a shell in vb that "opens" them.

Help, this is driving me nuts (especially on my XP-Pro machine).


Thanx

Pigmy
:cool:

king_scott_2
Oct 2nd, 2002, 06:59 PM
hey i have had a solution but it's kind of crapy

i hope you still need it but here i go.

i created a dos program in qb7.1 but you can still use whatever you use. anyway it consits of 3 exe files. one is the dos one that opens the port and listens when it gets an input it opens a file to write to with the open thing. then it shells out to a windows program. the windows program opend reads the file and uses sendkeys "^h" or whatever you like to the other exe using appactiveate of whatever it is. Then the main windows program opens the file agin reads what is in there. Then delets the file.

Note: the dos program should be like a windows 95 window popup or opened in vb with the shell and vbhide statement.