Search code examples
.netvb.netwinformssplash-screen

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?


Solution

  • 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..)