you can use rtlMoveMemory. I made up a 'hex address'

Code:
Private Declare Sub RtlMoveMemory Lib "kernel32.dll" _
(Destination As Any, Source As Any,ByRef Length As SIZE_T )
Dim t as string
x=strptr(t)
hexaddress = &H0044
rtlMoveMemory( hexaddr,x , lenB(t) )