Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Java
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Java
Divers
Thread ID:
01687027
Message ID:
01687027
Vues:
98
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform