|
-
Sep 22nd, 2005, 02:21 PM
#1
Thread Starter
New Member
Need help to launch external exe with Progress bar
Hello
I am doing an VB project, that launches external setup.exe, and the installation of the application will be silent, but i have to see progress bar in the Form
can anybody please help me in coding. I am able to create progress bar and able to launch setup.exe through shell command but how to synchronise the installation process with progress bar.
My target is to have check boxes associated with application need (I have total 5 application to be given as a choice) as per the check boxes selected it installs the applications with showing the status in progress bar
Please help me regarding my problem
Thanx in advance
-
Sep 22nd, 2005, 02:43 PM
#2
Re: Need help to launch external exe with Progress bar
I think with external exes you can just make approximations as there is no way to get the actual progress. You could just observe how much time approximately the exe takes and set a timer to move your progress bar in your application accordingly.
Pradeep
-
Sep 22nd, 2005, 02:53 PM
#3
Frenzied Member
Re: Need help to launch external exe with Progress bar
If you are lunching an external setup.exe, does it have a progress bar in it? if so you should ask ppl if there is anyway for doing global hook on the value of the prograssbar of that setup.exe
but if not then there is no way of knowing when or at what stage is this setup at
.
-
Sep 22nd, 2005, 03:01 PM
#4
Thread Starter
New Member
Re: Need help to launch external exe with Progress bar
Thanks for your suggestion.
Ok can you guys please tell me how can i know the installation is done, atleast, i can launch a dialog box saying that "Ok all of your applications have installed" can i use following statement
pf= shell "c:\adobe.exe",vbhide
Thank you
-
Sep 22nd, 2005, 03:11 PM
#5
Re: Need help to launch external exe with Progress bar
Instead of Shell command use the _____ API (err.. I forgot the name of the API which launches app and waits until it is terminated)
Pradeep
-
Sep 22nd, 2005, 03:25 PM
#6
Re: Need help to launch external exe with Progress bar
Got it!
You could use ShellAndWait or WaitForSingleObject API.
Pradeep
-
Sep 22nd, 2005, 03:26 PM
#7
Thread Starter
New Member
Re: Need help to launch external exe with Progress bar
Hello Pradeep
Thanx for that idea, please try to recall, but meanwhile i Google that thing.
bye
Praveen
-
Sep 22nd, 2005, 03:29 PM
#8
Re: Need help to launch external exe with Progress bar
 Originally Posted by vinpra
Hello Pradeep
Thanx for that idea, please try to recall, but meanwhile i Google that thing.
bye
Praveen
I've already recalled by now.
(previous post)
Pradeep
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|