Hi,

Can anyone advise me in how I can decrypt a file and then have my program read it.

I have managed to encrypt the ini file, and I am able to read the encrypted file and store this information in a richtextbox. I am able to convert this back into plain English (Read the encrypted file into richtextbox1, decrypt the the data from richtextbox1 to richtextbox2, richtextbox2 is now in English), but the problem I have is that my program does not want to read the data richtextbox2.

Is it possible to make my program read the ini data from a richtextbox, if so how can I go about doing that ? (Or is my approach wrong)

Any help is appreciated.

Thanks.
Al.