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 <email@example.com> (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
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL