Archive: display image while loading program


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


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.


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.


I think it's because nsExec::Exec "myprog.exe" pauses the installation until the process executed has finished.

-Stu


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.


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.


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.