Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C# (http://www.go4expert.com/forums/c-sharp/)
-   -   Exception of file encryption using c# (http://www.go4expert.com/forums/exception-file-encryption-using-c-sharp-t15570/)

cat_sin 22Dec2008 13:53

Exception of file encryption using c#
 
Hi,
Currently i am doing a project related to file encryption using c#. I new to the c# programming actually. I used microsoft visual c# express 2008. I had combine some of the code from internet reference, but i am facing a problem where program highlight "cs.Close();" and show
IndexOutOfRangeException was unhandled when decrypt button is clicked. The file decryption is unsuccessful due to this exception i think. Is there anybody know how to solve for this problem?

If I am not disturbing,please guide. Thanks a lot!

Regards,
sf

ciaovista.com 24Dec2008 01:57

Re: Exception of file encryption using c#
 
Obviously I can't help with your code as I do not have it; however what I can do is give you code that does work, as I use it in my apps. Let me know if you want the code. I will put it on my website where you can download it, or I can just post pieces of it here.

cat_sin 24Dec2008 11:14

Re: Exception of file encryption using c#
 
To ciaovista.com,
Quote:

Originally Posted by ciaovista.com (Post 40545)
Obviously I can't help with your code as I do not have it; however what I can do is give you code that does work, as I use it in my apps. Let me know if you want the code. I will put it on my website where you can download it, or I can just post pieces of it here.

I want the code that u works well with. So that, i can take it as a reference.

Thanks for your help. I really appreciate it.

Regards,
cat_sin

ciaovista.com 27Dec2008 20:48

Re: Exception of file encryption using c#
 
Sorry about the delay due to the holidays. To download the demo and the source code, go to ciaovista.com and at the bottom of the webpage you will find the links to EncryptDecryptApp. Let me know how it goes.

cat_sin 28Dec2008 12:19

Re: Exception of file encryption using c#
 
To ciaovista.com,

Thank you for your code. It seems great and it is exactly what i want. It helps me a lot in solving my problem. Thanks a lot!

Regards,
cat_sin


All times are GMT +5.5. The time now is 15:25.