Results 1 to 4 of 4

Thread: Annoying VB Problem

  1. #1
    Senior Member
    Join Date
    Dec 2001
    Posts
    134

    Question Annoying VB Problem

    I've been asked to make a program for my physics/chem teacher that involves sending info
    over a serial port. My problem is that I have the program set up to catch the info he wants but
    i need to know how to send the return keystroke after the user data so it knows it's done. I
    don't know how to use comm controls in c/c++ so I'm doing this in VB for now because I have
    to get it started, mahor project and all. If you know how to do this I'd be very grateful, or if you know a better way to do it, like in c/c++ if I can find a tutorial on using comm ports with it.
    Thanks in advance.
    Reality is the one who has it wrong, not you

  2. #2
    Senior Member
    Join Date
    Sep 2001
    Posts
    150

    vbcode

    www.freevbcode.com they have lots of links and downloads as well as a vb only forum

  3. #3
    Senior Member
    Join Date
    Nov 2001
    Posts
    4,785
    use SENDKEYS

    AppActive SecondAppTitle
    SendKeys "%(ENTER)",True
    Bukhari:V3B48N826 “The Prophet said, ‘Isn’t the witness of a woman equal to half of that of a man?’ The women said, ‘Yes.’ He said, ‘This is because of the deficiency of a woman’s mind.’”

  4. #4
    Senior Member
    Join Date
    Dec 2001
    Posts
    134
    thx, i ended up using the Chr() function and sent it that way
    Reality is the one who has it wrong, not you

Posting Permissions

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