Link to home
Create AccountLog in
Avatar of smithmrk
smithmrkFlag for United States of America

asked on

VB.net Windows Forms - Popup Dialog Modal USING BackgroundWorker

Hello Experts!

OK, I want to have a popup dialog that has a "Please Wait..." GIF while the program is working on loading data.  I don't want a progress bar as I have one of those on the main screen I just want a small popup dialog box with the animated gif showing Please Wait...

How can I popup the modal dialog box using a BackgroundWorker?

Thanks,
Mark
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

You may not be able to use BackgroundWorker for the Gif itself. You can use backgroundworker to do the actual work while the GUI thread is showing the gif. Or you can use a thread to show the gif form using application.run method.
Avatar of smithmrk

ASKER

Can you give me an example of application. run method?

Thanks,
Mark
OK, without using BackgroundWorker...do you have any examples of where I can display the GIF Form have have it reference back to the parent form so that it is Modal...so if the user click into another window and clicks back to the application it will still show the Please Waiting...screen?

Thanks,
Mark
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Thanks!

Mark