Library tutorials & articles
Launching a process from Windows Forms
- Introduction
- Creating a class to call a process
- Wrapping Up
Introduction
I wanted to launch a script from a Windows Form application and display the standard output in a text box as the process was running. Surely you're not surprised to learn that multithreading is involved. It turns out you'll have at least four threads running to do this simple task. To keep things simple and sane, I've reused code from other another source, so I must first give credit to the MSDN article "Give Your .NET-based Application a Fast and Responsive UI with Multiple Threads" by I.D. Griffiths. I highly suggest reading this article for more background on multithreading in Windows Forms applications. Thanks also to Chad Christensen for his suggestions in using a RichTextBox.
Related articles
Related discussion
-
Help me how to dynamic create row column of TableLayoutpanel at run time ??????
by anatha1 (0 replies)
-
Very Urgent regarding deleting the images from a folder
by rameshbandi (2 replies)
-
How to Export Datagridview contents to Excel
by BarbaMariolino (8 replies)
-
Help accessing sound card
by daz4904 (0 replies)
-
How to Write a GPS Application
by stoyac (19 replies)
Related podcasts
-
Object-Oriented Programming in Ruby
In this episode, I talk with Scott Bellware about object-oriented programming in Ruby, and Ruby's object model. This is taken from a private conversation, and the audio quality suffers at times. Much thanks to Scott for allowing this to be released.This episode of the Alt.NET Podcast is bro...
Perhaps you can use this software:
http://www.accusoft.com/imaging/imagegear/ig_formats.asp
Regards,
Magnus Strand
i want to convert a postscript file to image with visual c# .net.
who can help me?
This thread is for discussions of Launching a process from Windows Forms.