Results 1 to 2 of 2

Thread: Help needed with MSComm

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2001
    Posts
    1

    Question

    Hi

    I am an extreme newbie at VB. I'm trying to do a project where I'll need to read in hex values through the com port (COM1) and be able to output them to a microcontroller. I've tried to look around, but info on mscomm is scarce (Thats what it looks like I'll need to use).

    I'm only familiar with the old C++ commands inportb and outportb.

    Could someone please give me an example of how I do the declaration, reading in and outputting a value to the com port.

    Thank you

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    I haven't used the control myself before, so cannot put this in newbie terms, but there is some info on working with this at http://forums.vb-world.net/showthrea...ghlight=mscomm that hopefully might help you...

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

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