try { string InputFile = Application .StartupPath + "\\softtechsolving.xls" ; // this is excel file, i.e I wanna to encrypt string OutputFile = = Application .StartupPath + "\\encrptsofttechsolving.xml" ; // encrptsofttechsolving is file name after encryption file name ...