|
-
Nov 15th, 1999, 04:15 PM
#1
Thread Starter
Hyperactive Member
Yesterday I posted this: http://www.vb-world.net/ubb/Forum1/HTML/010481.html
Serge's code works fine but the problem is that the program is totally inactive untill the executable is loaded completely...
this should not be the case because I want to display an animation in that period...
I was told this was because of the "Do Untill"-loop.
I deleted this loop and made a timer flash a picture (the whole time)to check if the halting of the program was gone... It was not; as soon as I shell-execute an exacutable the timer events halt untill the execuatble is loaded. When it is loaded the timer events resume.
So this is probably the problem: how can I/can I display an animation while I executable is being shell-executed
Hope someone can solve this one....
-
Nov 15th, 1999, 06:05 PM
#2
Thread Starter
Hyperactive Member
In case my question is not clear:
Why does my program halt/pauze when it shell-executes another program ??
How can I stop it from halting ?
plz help...
-
Nov 15th, 1999, 07:02 PM
#3
Frenzied Member
Can't you use the...
RetVal = Shell("c:\myfile.exe",1)
-
Nov 15th, 1999, 07:51 PM
#4
Thread Starter
Hyperactive Member
RetVal = Shell("c:\myfile.exe",1) would be the same as
RetVal = Shell("c:\myfile.exe",vbNormalFocus).
In both cases the application is still halted for the time between executing and being activated (be it minimized, maximized focus, nofocus, hidden etc.)of the shel-executed program
-
Nov 15th, 1999, 08:10 PM
#5
Thread Starter
Hyperactive Member
Would multithreading be an option here ?
If yes, how would I implement a multithread between two subs (one for shelling an app, the other a timer...
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
|