Results 1 to 2 of 2

Thread: qb45 Program Serial Ports

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2001
    Location
    Peterborough, UK
    Posts
    160

    qb45 Program Serial Ports

    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
    Remember - The light at the end of the tunnel could well be an on-coming train !

  2. #2
    Addicted Member
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    243
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width