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

Running other program in VB

P: n/a
Hi

Is it possible with VB.NET to start another program (winrar), to let the
program finish and then to continue?
How can I do this?

Thanks
Joris
Apr 4 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Joris De Groote wrote:
Hi

Is it possible with VB.NET to start another program (winrar), to let the
program finish and then to continue?
How can I do this?

Thanks
Joris


Take a look at the Process & ProcessInfo classes. They will do what you
are looking to do.

I'm guessing you are doing this to extract files, you may be able to do
this with a .net component if you look around for one.

Chris
Apr 4 '06 #2

P: n/a
Thanks for the quick response :)

"Chris" <no@spam.com> wrote in message
news:Oy**************@TK2MSFTNGP12.phx.gbl...
Joris De Groote wrote:
Hi

Is it possible with VB.NET to start another program (winrar), to let the
program finish and then to continue?
How can I do this?

Thanks
Joris


Take a look at the Process & ProcessInfo classes. They will do what you
are looking to do.

I'm guessing you are doing this to extract files, you may be able to do
this with a .net component if you look around for one.

Chris

Apr 4 '06 #3

P: n/a
"Joris De Groote" <jo************@skynet.be> schrieb:
Is it possible with VB.NET to start another program (winrar), to let the
program finish and then to continue?
How can I do this?


\\\
Imports System.Diagnostics
....
Dim p As Process = Process.Start(...)
p.WaitForExit()
....
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Apr 4 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.