Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
The results for both strings were not 010101.. but funky charactesrs.. square,0,&^#)*)...
lcHex = STRCONV([0,&^#)*)],15)
?lcHex && 302C265E23292A29
lcBinary = STRCONV([302C265E23292A29],16)
?lcBinary && 0,&^#)*)
sreg = activex.getregistrerfeature
for x = 1 to len(sreg)
? asc(substr(sreg, x, 1))
endfor
craig said:...the return string (sReg) may contain CHR(0) in it which would null terminate the string of characters - in effect truncating the result displayed in VFP.
PUBLIC oForm as Form
oForm = CREATEOBJECT("Form")
oForm.Addobject("Text1", "Textbox")
oForm.Text1.value = "Hello" + CHR(0) + "World"
oForm.Text1.Visible = .T.
oForm.Show(1)
MESSAGEBOX("Hello" + CHR(0) + "World")