Am taking in some input from an external device into the mscomm control, I am using...
Temp = MSComm1.Input
Inbuff = CByte(Temp)
in the above, temp is a string, inbuff is a byte
Lets say I get 'y' in the temp string, should this conversion end me up with the value of 121 stored in inbuff?
I am getting a type mismatch error when it hits that line of code.
Any input would be greatly appreciated ;)
