I am working on an encryption program in Delphi 2.0. The program is able to encrypt the selected file(s) but, for instance, if the file is a .txt, once you open the encrypted version it shows you the encrypted text. But I would rather have it that the encypting program could write a small piece of code at the start of every encrypted file with say a MessageDlg saying - 'This file has been encrypted. Do you wish to decrypt now?' with mbyes, mbno and if mryes then a shell execute to the encryption program.
Any help appreciated.