PDA

Click to See Complete Forum and Search --> : Help needed with MSComm


Khyron
Feb 16th, 2001, 12:24 PM
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

alex_read
Feb 19th, 2001, 06:58 AM
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/showthread.php?s=&threadid=53236&highlight=mscomm that hopefully might help you...