hey all,
I've written a program in VB.net.
Most of the commands it runs are in dos and VB calls the relevent batch files to complete.
I'm looking for the command to pop a " messagebox.show ("Commands Completed") " message once the the batch file has finished.
My mate saids there is an extention that goes on the end of the shell command below;
(whole form)
Public Class Formecho
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Buttechorun.Click
Dim printerChoice As String
If RadButHp.Checked = True Then
printerChoice = "b"
Else
printerChoice = "a"
End If
Shell("\\swnfs01\home\blastman\batch\new\echo.bat " + printerChoice + " " + ipDetails.Text) 'MessageBox.Show("Echo Commands Completed")
End Sub
Private Sub Formecho_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
any ideas?

maybe somthing in the bacth to say it's finished is needed??
cheers.