Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Encrypted Data to and from VFP COM
Message
De
05/10/2006 08:44:14
 
 
À
05/10/2006 08:31:00
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01159515
Message ID:
01159643
Vues:
21
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform