santhosh saripalli

santhosh saripalli

  • NA
  • 45
  • 51.1k

progressbar in windows application

Jun 25 2014 2:14 AM
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);


         }

Answers (1)