Results 1 to 3 of 3

Thread: starting a process

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2005

    starting a process

    hi, i'm kind of new to c# and i was wondering how to start a process, for example, say my process is "example.exe", and is in the root of c drive in visual basic i would start it by using: process.start("c:\example.exe"), how would i do this in c#?
    "Anybody can get angry or sad and frown but it takes a person with character to smile when times are hard."

  2. #2
    PowerPoster sunburnt's Avatar
    Join Date
    Feb 2001
    Boulder, Colorado

    Re: starting a process

    Exactly the same way :

    using System.Diagnostics;
    Every passing hour brings the Solar System forty-three thousand miles closer to Globular Cluster M13 in Hercules -- and still there are some misfits who insist that there is no such thing as progress.

  3. #3
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Sydney, Australia

    Re: starting a process

    Remember that the class library you're using in C# is exactly the same one as you were using in VB. Every class, property, method, etc. is exactly the same. It's only the key words and the syntax that's different.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width