splash screen to hold a some time to display to the mdiform
-
Hi! Have made an application in vb.net visual studio 2008. Need some help to use a splash screen, that waits for about 4 seconds before it show the main form. And of course close the splash screen... Have Added the splash screen to my project, but thats it. And the splash screen is loaded, but need to set timer and to start the main form.. Please help me with example source on this one.. Thanks
-
Hi! Have made an application in vb.net visual studio 2008. Need some help to use a splash screen, that waits for about 4 seconds before it show the main form. And of course close the splash screen... Have Added the splash screen to my project, but thats it. And the splash screen is loaded, but need to set timer and to start the main form.. Please help me with example source on this one.. Thanks
On your main mdiForm in the Load event show the splash screen
Private _splash As SplashScreen
Sub Form_Load() Handles Me.Load
_splash = New SplashScreen
_splash.Show(Me)
End SubThen in the Shown event close the splash Screen
Sub Form_Shown() Handles Me.Shown
_splash = New SplashScreen
_splash.Close
_splash.Dispose
_splash = Nothing
End SubSteve Jowett ------------------------- Real programmers don't comment their code. If it was hard to write, it should be hard to read.
-
Hi! Have made an application in vb.net visual studio 2008. Need some help to use a splash screen, that waits for about 4 seconds before it show the main form. And of course close the splash screen... Have Added the splash screen to my project, but thats it. And the splash screen is loaded, but need to set timer and to start the main form.. Please help me with example source on this one.. Thanks
2008? There's a Splash Screen component built in. All you have to do is right-your project in the Solution Explorer, and click Add New Item... It's in the list that shows up. Everything is already done for you.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
2008? There's a Splash Screen component built in. All you have to do is right-your project in the Solution Explorer, and click Add New Item... It's in the list that shows up. Everything is already done for you.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008Thanks You when apllication in on that time first the splash screen show and hold for a moment than after the mdiform to display that are not happen please if u have a solution so please help me and if u have a code so that's also give it please
-
Thanks You when apllication in on that time first the splash screen show and hold for a moment than after the mdiform to display that are not happen please if u have a solution so please help me and if u have a code so that's also give it please
I already gave you the solution.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
I already gave you the solution.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008i want's to ask that i can hold splash screen for a 5 second and all other this are done but the splash screen can't hold for some moment i want to try but that's not work please help for that propblem thanks
-
i want's to ask that i can hold splash screen for a 5 second and all other this are done but the splash screen can't hold for some moment i want to try but that's not work please help for that propblem thanks
Show your splash screen form and then call
Thread.Sleep(5000)
.A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
Show your splash screen form and then call
Thread.Sleep(5000)
.A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008thank for this advices but... That's also i done but on that time the splash screen are not look proper that's look like some process are happen hear that's not possible other wise i will give u printscreen but when i will try but on the process are occoure so the splash screen are not show in that printscreen only the backgroud are show
-
thank for this advices but... That's also i done but on that time the splash screen are not look proper that's look like some process are happen hear that's not possible other wise i will give u printscreen but when i will try but on the process are occoure so the splash screen are not show in that printscreen only the backgroud are show
You didn't use the SplashScreen component, did you?
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
You didn't use the SplashScreen component, did you?
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008I use the Slash Screen Componet Hear We put the what to do i in my project 1) Add the Splash Screen component in my Project 2) That's define as StartUpForm 3) Than i Code in Splash Screen that's below remarks : form1 is mdiform Dim showForm As New Form1 Me.Show() Me.Activate() System.Threading.Thread.Sleep(5000) showForm.ShowDialog() 4) if i didn't Write the me.show the splash Screen form are not show that's the me.show and me.active are define 5) in that time the splash screen are show but that's display not perferct that's look like when some process are occoure in backgroud i want's to display splash screen in perfect please help me