Winan,
One idea is to write managed code to decrypt the information and then create a COM wrapper that your VB6 code can call. Here is a link to the online help that explains how to create a COM callable wrapper:
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003APR.1033/cpguide/html/cpconexposingnetframeworkcomponentstocom.htm
>some of records in my table already encrypted with System.Security.Cryptography
>(such as: PIN, UserID, GroupCode ... etc)
>I have the other application (VB6 application) ..in some process, it need
>to read them ..
>
>is there any tricks for reading them (the encrypted records) correctly from
>my VB6's application?
>
>many thanks in advance
>
>Regards
>Winan
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi