title: I need to set a progress bar that shows percentage according to execution of lines
body: <p>In by vb.net form, I have some 300 lines of code that performs various operations.
  Approximately it takes 40 to 60 seconds to complete based on given inputs. End users asked me, We don't know whether the process is undergone or hanged-up. </p>
  
  <p>So, I need to display a progress bar which should gradually increase according to the execution of code. </p>
  
  <p>During the execution of 75th line, the progress should display loaded upto 25%.
  During the execution of 225th line, the progress should display loaded upto 75%. </p>
  
  <p>So, How to achieve that.. Can we achieve that by using Thread ? If yes, how can I ?? I am new for Thread. </p>