hey all,
I'v writed some code (below) that runs a batch file and i'm trying to direct the output to a form called formstatus. On this form there is a list box (so as to make it scrollable) in which i'd like the batch file output to be displayed.
firstly, the bold underlined line throws an error "value cannot be null, parameter name: item" since i'm new to this and lerning as i go i have no idea how to correct...
User Profile
Collapse
-
I have the answer.
Start a new process (Notepad).
'
Dim myProcess As Process = System.Diagnost ics.Process.Sta rt("MyTextFile. txt")
'
' Wait until it ends.
'
myProcess.WaitF orExit()
MessageBox.Show ("Notepad ended: " & myProcess.ExitT ime & "." & _
System.Environm ent.NewLine & "Exit... -
vb.net shell command help!
hey all i'm new in here so hello to all!!!
right down to business,
I have a little project for work that does several tasks.
the one i'm having issues with is a on a form of mine.
I'd like to start a bat file via the shell command but wait for the bat file to finish before popping up a messagebox,show ("completed" )
any ideas?
I'm very new to all of...
No activity results to display
Show More
Leave a comment: