Just came across a code of compressing file thought to share :). Code for text file only can be changed for other filetypes....It reduces nearly 97% of the file size ...
OpenFileDialog opd = new OpenFileDialog(); FolderBrowserDialog fbd = new FolderBrowserDialog(); textBox1.Text="Path + File To compress";//open file by open file dialog textBox2.Text="Path of folder where to save the compressed file";\\selected through FolderBrowserDialog textBox3.Text="Name of the resulting Compressed file"; textBox4.Text="Name of the resulting DeCompressed file"; textBox5.Text="Path + File To decompress";//open file by open file dialog; textBox6.Text="Path of folder where to save the decompressed file";\\selected through FolderBrowserDialog
Refrence: The Code Project
Edited by abelLazm: n/a