General information
Category:
Third party products
Hello all.
I need to run this javascript code in VFP
function sha1_base64(txt) {
var md = forge.md.sha1.create();
md.update(txt);
return new Buffer(md.digest().toHex(), 'hex').toString('base64');
}
I've been searching and found this code
oSC = Createobject("Wscript.Shell")
oSC.Run("Cscript.exe some_program.js")
But I don't know how to send or receive parameters.
Thank you for your help.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only