By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,166 Members | 1,775 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,166 IT Pros & Developers. It's quick & easy.

Can I start a process asynchronously?

P: n/a
Many applications need to lanch a web browser to show its homepage to
users. I used
System.Diagnosis.Process.Start("http://www.google.com");
Or I launched other application like
System.Diagnosis.Process.Start("notepad.exe");

But the problems is the application freezes for a couple of seconds
till the application starts. Is there any way to start a process
asynchronously, so that my application wouldn't freeze? Should I create
a new Thread and call Process.Start within it?

Oct 25 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Yes you can start the process asynchronously.Move the process start in
seperate method.Create a new thread and call the process start method within
it.Start the thread.

"Sin Jeong-hun" wrote:
Many applications need to lanch a web browser to show its homepage to
users. I used
System.Diagnosis.Process.Start("http://www.google.com");
Or I launched other application like
System.Diagnosis.Process.Start("notepad.exe");

But the problems is the application freezes for a couple of seconds
till the application starts. Is there any way to start a process
asynchronously, so that my application wouldn't freeze? Should I create
a new Thread and call Process.Start within it?

Oct 25 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.