Members

Technology Zones

IBM Learning Center

Articles

Hosted By

MaximumASP

Info

Rated
Read 36,565 times

Contents

Downloads

Related Categories

Launching a process from Windows Forms - Introduction

mag37

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.

Sample Image - LaunchProcess.png

Mike Mayer is a Microsoft MVP in Visual C#.

Comments

  • Posted by laplace on 10 Apr 2004

    Perhaps you can use this software:
    http://www.accusoft.com/imaging/imagegear/ig_formats.asp

    Regards,
    Magnus Strand

  • convert postscript into image(help)

    Posted by vida65 on 22 Mar 2004

    hi
    i want to convert a postscript file to image with visual c# .net.
    who can help me?