Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Java
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Java
Miscellaneous
Thread ID:
01687027
Message ID:
01687027
Views:
96
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
Map
View

Click here to load this message in the networking platform