I am new to vb.net and am using visual studio 2008. I am sending data back and forth using the serialport module. I am wondering if there is a way to send a hex byte, rather than having the module ALWAYS convert everything to ASCII. This is extremely obnoxious, and so far I cant seem to figure out how to avoid this. I am sending this data through a com port to external hardware, and ASCII is not acceptable.
For example, I may need to send 0x1F, or &H1F in vb.net notation, which I absolutely do not want converted into ASCII, because then it will be sent in two bytes rather than 1.
Please let me know if anybody knows a way to avoid this, or if I must move towards a different type of module to send and receive my serial data.
Thanks for viewing!