Hi,
Can anyone advise me on why SSR_GETUSERTMPSTR returns false.
I have the coding below.
SSR_GetAllUserInfo is working fine.
I used SSR_GetUserTmpStr to download the fingerprint template but it always returns false.
Did i miss something here?pls advise
Thanks,
Elvie
sdwEnrollNumber = ""...
hi,
how to convert below codes in vfp6
SET LIBRARY TO LOCFILE("vfpencryption.fll")
cStr="abcd"
?LOWER(STRCONV(Hash(cStr,2),15))
result : 88d4266fd4e6338d13b845fcf289579d209c897823b9217da3e161936f031589
thanks for help..
Vie
...varchar(500).
using SQLEXEC(), this field converts to memo field in vfp cursor as it's more than 254 chars.
to update backend i have this command : *fheader is linked to table in server via SPT
sele fheader
append blank
gather name (oObj) memo
if the field is empty its becomes NULL...
hi Sir,
create uft8encode.prg then call in QR code (every fields).
in you report_barcode.frx :
change the expression of Ole control to :
poFbc.FullQRCodeImage("Name : "+table_barcode.barcode+"|add1:"+utf8encode(table_barcode.barcode1)...
Hi sir,
just pass utf8encode routine in QR code image. it will work.
pls check below :
loFbcQ.FullQRCodeImage(utf8encode(cString) ,, , 6 * 33, 1))
function utf8encode(cStrText)
IF TYPE("cStrText")<>"C"
cStrText=""
ENDIF
LOCAL cRetVal As String
cFilen=FORCEEXT(SYS(2015),"txt")...
...fixed)
length = number of the bytes of string
value = My Shop
then, the tlv list is converted to hex then to base64
PHP
$tag = pack('H*', sprintf("%02X",1));
$value = "My Shop";
$length = pack('H*', sprintf("%02X",strlen($value)));
$lenVal = sprintf("%02X",strlen($value)) ;
echo...
hi sir Mike,
i tried this, but not getting same result.
cValue="My Shop"
cTag=RIGHTC(Transform(1, '@02X'),2)
cLen=RIGHTC(Transform(LEN(CREATEBINARY(cValue)), '@02X'),2)
?base64_encode(cTag+cLen+cValue)
FUNCTION base64_encode(S as String)
LOCAL i,j,k,q,ch,s2,buf,basechars
basechars =...
...base64_encode routine.
for sprintf(), i can get same result using :
RIGHTC(Transform(LEN(CREATEBINARY(1)), '@02X'),2)
PHP
$tag = pack('H*', sprintf("%02X",1));
$value = "My Shop";
$length = pack('H*', sprintf("%02X",strlen($value)));
$lenVal = sprintf("%02X",strlen($value)) ;
echo...
hi sir,
i was able to make it work in v6 using this and its working perfectly.
loFbcQ.FullQRCodeImage(utf8encode(cString) ,, , 6 * 33, 1))
function utf8encode(cStrText)
IF TYPE("cStrText")<>"C"
cStrText=""
ENDIF
LOCAL cRetVal As String
cFilen=FORCEEXT(SYS(2015),"txt")...
hi sir
Createbinary(Strconv(cString,9)) value is
i tried this :
loFbcQ.FullQRCodeImage(Createbinary(Strconv(cString,9)) ,, , 6 * 33, 1))
i am getting same result as Strconv(createbinary(cString),9)
اسم البائع: العالمية للذهب والألماس
Thank you.
Elvie
...sir,
cpcurrent() value is 1256
Createbinary(cString) value is
i tried this :
loFbcQ.FullQRCodeImage(Strconv(createbinary(cString),9),, , 6 * 33, 1))
and the result is correct now without ? as spaces.
i just need to convert STRCONV(,9) in v6.
i really did appreciate your help...
...you for your time in answering my queries.
It is working now. i tried your code below :
loFbcQ.FullQRCodeImage(Strconv(Strconv(cString,1),9),, , 6 * 33, 1))
the only issue, spaces are converted to ?.
for ?, i can use strtran to remove it.
strtran(Strconv(Strconv(cString,1),9),"?"," ")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.