Hi Paul!
>Hi all,
>I need your help to convert VB to VFP for the codes below because I already put dll_encryption.dll in c:\WINNT\system32 and I can run the encrytion.exe to encrypt or decrypt outside VFP wihout problem, but I want to integrate inside VFP instead.
>VB codes :
>Dim objEncryption
>Set objEncryption = Server.CreateObject("Dll_Encryption.clsEncryption")
>objEncryption.Encryption(DSN_OPER)
>VFP codes:
>.....
>.....
>and how to call that function from VFP too.
>TIA
Try:
Local loEncryption as Object
loEncryption = CreateObject("Dll_Encryption.clsEncryption")
loEncryption.Encryption(DSN_OPER)
Bye!
Erick
Força Sempre!
Strength Always!