myb20
6th September 2003 09:22 UTC
display image while loading program
Hi everybody
I am usin nsExec to load a dos console based program by using command
nsExec::Exec "myprog.exe"
This program takes about 4 seconds to load. I want a GIF file to display on the screen until myprog.exe is loaded completely and then be detroyed automatically. I have tried advsplash::show but it did not solve my problem because advsplash image is diplayed for 4 seconds, then it is destroyed and then myprog.exe is started loading. Can anybody help ?
mirza
kichik
6th September 2003 09:42 UTC
The best you can get right now, without changing the plug-ins or creating your own plug-in, is the Banner plug-in that shows a banner with your own costumized text.
myb20
6th September 2003 14:28 UTC
I have tried Banner plug-in too but it did not solve the problem either. I used it in the following order
> display banner
> nsExec load application
> destroy banner
it loads banner and then my application. but the banner remains there until I close my application. I want the banner to be destroyed automatically once the application has been loaded or say about 4 seconds.
Afrow UK
6th September 2003 17:24 UTC
I think it's because nsExec::Exec "myprog.exe" pauses the installation until the process executed has finished.
-Stu
myb20
6th September 2003 19:47 UTC
yes that is correct. so is there anyway to stop nsExec by stopping installation execution. Is it possible to modify this plug-in to serve the purpose.
kichik
6th September 2003 20:49 UTC
There is no plug-in I know that can help you there. You'd have to change AdvSplash (closest because it shows an image) to set a timer on another thread. You can also change your program to hide Banner's window.
myb20
7th September 2003 14:17 UTC
I am a newbee in programming. Can you please provide guide lines how can I put AdvSplash on a different thread or what sor of modifications in my program can hide banner.