Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / August 2006

Tip: Looking for answers? Try searching our database.

How to spawn a batch process from C# windows forms program

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Parrot - 30 Aug 2006 23:22 GMT
How do you spawn a batch process from a C# program in a Windows form?  I used
to do this in C++ with a spawn command but I can't find the equivalent
instruction in C#.  Can anyone tell me how to execute an external program
from a Windows form program by submitting a command line instruction?
Jim Wooley - 31 Aug 2006 02:43 GMT
Hello Parrot,

> How do you spawn a batch process from a C# program in a Windows form?
> I used to do this in C++ with a spawn command but I can't find the
> equivalent instruction in C#.  Can anyone tell me how to execute an
> external program from a Windows form program by submitting a command
> line instruction?

Process.Start()

Jim Wooley
http://devauthority.com/blogs/jwooley/default.aspx
Parrot - 31 Aug 2006 03:03 GMT
Hi Jim;
Thanks for your reply.  It is exactly what I was looking for.  I don't know
what Microsoft or I would do without people like you due to the cryptic
Microsoft documentation.
Dave Uphoff

> Hello Parrot,
>
[quoted text clipped - 8 lines]
> Jim Wooley
> http://devauthority.com/blogs/jwooley/default.aspx
Jim Wooley - 31 Aug 2006 03:31 GMT
Hello Parrot,
Glad to help. The hardest part of dotnet is knowing which namespace they
put stuff in. It just takes some time to get your head around. I've been
working with it for 5 years now and still keep finding new stuff.

Jim Wooley
http://devauthority.com/blogs/jwooley/default.aspx

> Hi Jim;
> Thanks for your reply.  It is exactly what I was looking for.  I don't
[quoted text clipped - 16 lines]
>> Jim Wooley
>> http://devauthority.com/blogs/jwooley/default.asp

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.