hi,
I used the following statement in VC++ to send commands to serial device.
sprintf(buf,"%c%c%c",0x55,0x52,0x0d);
Equivalent in VB.NET? I tried with string.format(String.Format("{0:x},{1:x}", 0x55, 0x56). got an error indication like "Comma,")" or a valid expression continuation expected."
how to convert those hex datas into string?
Thank you!
I used the following statement in VC++ to send commands to serial device.
sprintf(buf,"%c%c%c",0x55,0x52,0x0d);
Equivalent in VB.NET? I tried with string.format(String.Format("{0:x},{1:x}", 0x55, 0x56). got an error indication like "Comma,")" or a valid expression continuation expected."
how to convert those hex datas into string?
Thank you!