View Single Post
 
Old 10-07-2014, 12:20 PM
dilettante's Avatar
dilettante dilettante is offline
Underclocked lifestyle

Forum Leader
* Guru *
 
Join Date: Feb 2005
Location: Michigan, USA
Posts: 4,520
Default

No, since you can't send "hex values." I suppose you don't understand what hex actually is.

However you can just send the string you want to send, if need be cobbling it together from a string expression that involves one of the number-to-character functions. ChrW$() is the most efficent of those, accepting a Long integer and skipping costly ANSI to Unicode conversion.

But whether you pass that function a value in decimal, octal, or hex is up to you. VB has syntax for expressing integer values in all three radixes:

Code:
ChrW$(20&)
ChrW$(&O24&)
ChrW$(&H14&)
Reply With Quote