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
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