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. Launching an external process from a BackgroundWorker thread?

Launching an external process from a BackgroundWorker thread?

Scheduled Pinned Locked Moved C#
question
5 Posts 4 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.
  • T Offline
    T Offline
    thompsons
    wrote on last edited by
    #1

    Since I haven't tried this before, are there any major problems with launching an external process from a BackgroundWorker thread? Just thought I'd ask before I try and start pulling what little hair I have left. Thanks in advance, Steve.

    L R D 3 Replies Last reply
    0
    • T thompsons

      Since I haven't tried this before, are there any major problems with launching an external process from a BackgroundWorker thread? Just thought I'd ask before I try and start pulling what little hair I have left. Thanks in advance, Steve.

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      that is the wrong order if you ask me. first read the documentation and/or try; if you still have a problem, then ask and the CodeProject will try and help you. :)

      Luc Pattyn [Forum Guidelines] [My Articles]


      This month's tips: - before you ask a question here, search CodeProject, then Google; - the quality and detail of your question reflects on the effectiveness of the help you are likely to get; - use PRE tags to preserve formatting when showing multi-line code snippets.


      1 Reply Last reply
      0
      • T thompsons

        Since I haven't tried this before, are there any major problems with launching an external process from a BackgroundWorker thread? Just thought I'd ask before I try and start pulling what little hair I have left. Thanks in advance, Steve.

        R Offline
        R Offline
        Ravenet
        wrote on last edited by
        #3

        HI thompsons what you means by the external process? In my undestand, You are try start a notepad exe in same PC, is it? is it correct ,can up external process.

        Cheers,Earn and Enjoy RRave MCTS,MCPD http://ravesoft.blogspot.com

        1 Reply Last reply
        0
        • T thompsons

          Since I haven't tried this before, are there any major problems with launching an external process from a BackgroundWorker thread? Just thought I'd ask before I try and start pulling what little hair I have left. Thanks in advance, Steve.

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

          Rule #1, try it! No, there's no problem with doing that at all. A new process starts on it's own thread anyway, so it really doesn't matter which thread you start a new proc on.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008

          T 1 Reply Last reply
          0
          • D Dave Kreskowiak

            Rule #1, try it! No, there's no problem with doing that at all. A new process starts on it's own thread anyway, so it really doesn't matter which thread you start a new proc on.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007, 2008

            T Offline
            T Offline
            thompsons
            wrote on last edited by
            #5

            To all: Thanks for the reply. My apologies for breaking rule #1; wasn't aware of it... Regards, Steve.

            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