>>>lcFile is incomplete. It either has to start with '\\" for UNC or with drive letter 'X:\'
>>>
>>>>lcFile = '\POS\PDA\PDADATA_20100513_123401.TXT'
>>>>
>>>>lnLength = 16001
>>>>
>>>>lcNABP = '7871801'
>>>>
>>>>Thanks!
>>
>>I changed the code to put the SYS(5) to the front of lcfile -> 'C:\POS\PDA\PDADATA_20100513_123401.TXT''
>>
>>Same ole result again... same error.... (I double checked and made sure that clsEncryption.dll was registered on the PC).
>
>Try passing the name with double quotes since it has spaces in it, e.g.
>
>lcFile = ["C:\POS\PDA\PDADATA_20100513_123401.TXT"]
:-)
The name has no spaces in it :-)
It if just acronym and Michel is expanding it.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.