Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Encrypted Data to and from VFP COM
Message
From
05/10/2006 08:44:14
 
 
To
05/10/2006 08:31:00
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01159515
Message ID:
01159643
Views:
20
I do believe you are on the right track. The StrConv technique would allow me to return a string to VB.net. The ASP/VB app does not need to decode the string but subsequent processing of the table by a VFP app will need to decrypt. I think this will work nicely.

I suppose I could have encrypted the string in the VB app but I was not sure the result could be decrypted in the VFP app at a later date.

Thanks

Glenn

>>Thanks for the reply Alex. The VFP COM object provides a function which returns an encrypted string (using Craig's FLL) back to a VB.Net (2.0) program. To accomplish this feat the VFP app must declare a return data type to be compatible with .Net.
>
>Ahh. I see. I'm not sure of the answer as all my ADO.NET stuff uses SQL Server 2000 exclusively (IOW I do not use COM and DBF).
>I assume you use an OleDbConnection object. If you get the digest as text (BASE64), then it should come as a 'text' (memo) field, shouldn't it? How long are the digests? If they are short enhough, it could even be a varchar.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform