Hi
I have a small program that when you clik on a specific command button, it executes a batch file on my computer. The batch file takes about 10 minutes to complete, so i am trying to add a progress bar to the program that indicates the progress of the batch file and when it has finished running.
I have been reading the other threads regarding "Progress bars", but not having much luck as i am a beginer to VB
This is the type of code i am using to call the batch file.
Private Sub Command1_Click()
Dim Temp As Single
Temp = Shell("c:\Builder\builder.bat", vbMinimizedFocus)
End Sub
Any help or code would be appreciated
Thanks
Hugh
I have a small program that when you clik on a specific command button, it executes a batch file on my computer. The batch file takes about 10 minutes to complete, so i am trying to add a progress bar to the program that indicates the progress of the batch file and when it has finished running.
I have been reading the other threads regarding "Progress bars", but not having much luck as i am a beginer to VB
This is the type of code i am using to call the batch file.
Private Sub Command1_Click()
Dim Temp As Single
Temp = Shell("c:\Builder\builder.bat", vbMinimizedFocus)
End Sub
Any help or code would be appreciated
Thanks
Hugh