help..in vb.net with dos prompt
currently i m doing a research on communication between a shell program in
command prompt with vb.net. i tried to launch my dos cmd command using my
program in vb.net
but if i wish to pass some parameter how can i do so???
for example, shell out my cmd dos command then i wan to pass in parameter
like c: then let the command prompt process then i pass again another parameter
and get the respond
can it do something like tat in vb.net
pls advice me wif some sample example.
thanks v.much for ur advice.
currently i am testing on following code:
Dim myProcess As Process = New Process()
myProcess.StartInfo.FileName = "notepad"
myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Normal
myProcess.EnableRaisingEvents = True
i am able to perform so from notepad not able for command prompt window.
Re: help..in vb.net with dos prompt
In article <firstname.lastname@example.org> (from peiyoon
> dear sir,
> currently i m doing a research on communication between a shell program in
> command prompt with vb.net. i tried to launch my dos cmd command using my
> program in vb.net
> but if i wish to pass some parameter how can i do so???
Here's a couple of examples:
(watch for line-breaks)
Microsoft .NET MVP
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center