Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. CreateProcess API for C# .NET?

CreateProcess API for C# .NET?

Scheduled Pinned Locked Moved C#
csharpjsontutorialquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Krischu
    wrote on last edited by
    #1

    Is there an API for the Win32 CreateProcess interface with all functionality available in C#/.NET? I'm seeking for an example and would be very grateful for one.

    D 1 Reply Last reply
    0
    • K Krischu

      Is there an API for the Win32 CreateProcess interface with all functionality available in C#/.NET? I'm seeking for an example and would be very grateful for one.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      You're either going to use the Process class in the System.Diagnostics namespace or you can P/Invoke the CreateProcess function yourself. Go to http://www.pinvoke.net[^] for details.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008
      But no longer in 2009...

      A 1 Reply Last reply
      0
      • D Dave Kreskowiak

        You're either going to use the Process class in the System.Diagnostics namespace or you can P/Invoke the CreateProcess function yourself. Go to http://www.pinvoke.net[^] for details.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008
        But no longer in 2009...

        A Offline
        A Offline
        April Fans
        wrote on last edited by
        #3

        Have a try: using system.diagnostics; process.start("excel.exe");

        April Comm100 - Leading Live Chat Software Provider

        D 1 Reply Last reply
        0
        • A April Fans

          Have a try: using system.diagnostics; process.start("excel.exe");

          April Comm100 - Leading Live Chat Software Provider

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          ...and you're telling me the blatenly obvious, why....?? You might want to reply to the original poster and not me. That way, HE gets the email notification that you replied.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008
          But no longer in 2009...

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups