Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MsgBox is coming below the Splash screen in VB.NET

I have a splash screen set using the Application Framework. In my main form, I check for some conditions in Load() event of the MainForm and display a MsgBox if some of them fails.

But the problem is, the MsgBox comes below the Splash Screen. Is there any way to correct this?

like image 600
Jey Geethan Avatar asked Mar 01 '23 09:03

Jey Geethan


2 Answers

Try this link: http://www.codeproject.com/KB/install/TopMostMessageBox.aspx

It's in C# but it could be converted easily using a conversion tool (I'd post a link to that but since I'm a new user it's only letting me post 1 link..)

like image 110
Fake Avatar answered Mar 07 '23 06:03

Fake


Show the MsgBox in the splash form's Shown event.

like image 39
SLaks Avatar answered Mar 07 '23 06:03

SLaks