i have code to extract rar files .i want to assosiate a progress bar for this process of extraction.below is my code.could you please add progressbar to it.
public void UnZip()
{
string DestinationPath = @"C:\Temp\DATA_UNITS\BusinessObjectsServer_win\response.ini";
Shell32.Shell sc = new Shell32.Shell();
System.IO.Directory.CreateDirectory("C:\\TEMP");
Shell32.Folder output = sc.NameSpace("C:\\TEMP");
string sourcePath = Application.StartupPath + "\\51047839.ZIP";
Shell32.Folder input = sc.NameSpace(sourcePath);
output.CopyHere(input.Items());
System.IO.File.Delete(DestinationPath);
}
Khan Abrar AhmedPosted Jun 25, 2014, 4:49 AM
http://www.dotnetperls.com/progressbar
http://www.codeproject.com/Questions/672977/Show-progress-bar-in-windows-forms-application
http://www.aspdotnet-suresh.com/2010/12/how-to-use-progressbar-control-in.html