|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
run a dos commandhey all,
how do i run a dos command from vb and make sure that the dos command completes before proceeding back to vb? thanks, rodchar rodchar wrote:
> hey all, Use the process class to start your program. The processinfo class will > > how do i run a dos command from vb and make sure that the dos command > completes before proceeding back to vb? > > thanks, > rodchar gives you more control over it. Chris "rodchar" <rodc***@discussions.microsoft.com> schrieb: I am curious which command you want to run. Maybe there is a better > how do i run a dos command from vb and make sure that the dos command > completes before proceeding back to vb? solution. If you want to shell another application, you may want to use the code below: \\\ Dim p As Process = Process.Start("C:\foo.exe") p.WaitForExit() MsgBox("Program terminated!") /// -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> thanks everyone this helped.
Show quoteHide quote "rodchar" wrote: > hey all, > > how do i run a dos command from vb and make sure that the dos command > completes before proceeding back to vb? > > thanks, > rodchar
question on coding a reset button
need help resolving runtime error EXE vs DLL Creation Draw backs of Serialized Objects Best Practices with In Memory Data Method description thingy... Device Driver in VB 2005 Converting a project from 2003 to 2005 differences Peculiar inconsistency in autogenerated event handler code Books On VB.NET 2005 |
|||||||||||||||||||||||