Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declare DLL's
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01464409
Message ID:
01464448
Views:
33
>>>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"]

Tried changing code to this to avoid any spaces.. (this did not have any... the 'POS' got changed by UT to be 'Point of Sale'
lcEncryptedFile 	= ' " ' + ALLTRIM(lcFile) + ' " '
lcEncryptNABP   	= ' " ' + ALLTRIM(lcNABP) + ' " '
	
loclsEncrypt = CREATEOBJECT("clsEncryption.clsEncrypt")
*Convert encrypted file to unencrypted string of memory data
lcUnencryptedStringofData = loclsEncrypt.DecryptDataFromFile(lcEncryptedFile, lnLength, lcEncryptNABP)
	
Same result....
Tommy Tillman A+ NetWork+ MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform