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