You sure clsEncryption.clsEncrypt is the class name? It also needs to be registered, if in fact, it's a COM DLL.
>I tried this...
>
>
>loclsEncrypt = CREATEOBJECT("clsEncryption.clsEncrypt")
>*Convert encrypted file to unencrypted string of memory data
>lcUnencryptedStringofData = loclsEncrypt.DecryptDataFromFile(lcFile, lnLength, lcNABP)
>
>
>And got an error...
>
>"OLE Error code 0x80020010: Invalid callee
>
>??
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer