Avatar of smithmrk
smithmrk
Flag 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
Visual Basic.NET

Avatar of undefined
Last Comment
smithmrk

8/22/2022 - Mon
Nasir Razzaq

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.
smithmrk

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

Thanks,
Mark
smithmrk

ASKER
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
Your help has saved me hundreds of hours of internet surfing.
fblack61
ASKER CERTIFIED SOLUTION
Nasir Razzaq

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
smithmrk

ASKER
Thanks!

Mark