Posted on: 11/10/2014 7:15:09 PM | Views : 431

I created a button to run three subs A, B, C but every time it stops after running sub A which is running batch file.
Sub B and sub C never run.
How to fix it?
Private Sub A() Dim procInfo As New ProcessStartInfo() procInfo.UseShellExecute = True procInfo.FileName = "d:\run.bat" procInfo.WorkingDirectory = "d:\" procInfo.Verb = "runas" procInfo.Arguments = "" procInfo.WindowStyle = ProcessWindowStyle.Normal Process.Start(procInfo) End Sub
Private sub B() ...do copy files end sub
Private sub c() ... RUN STORE PROCEDURE END SUB

Go to the complete details ...