Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. splash screen to hold a some time to display to the mdiform

splash screen to hold a some time to display to the mdiform

Scheduled Pinned Locked Moved Visual Basic
csharpvisual-studiohelptutorial
10 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jigneshDPatel
    wrote on last edited by
    #1

    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

    S D 2 Replies Last reply
    0
    • J jigneshDPatel

      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

      S Offline
      S Offline
      Steven J Jowett
      wrote on last edited by
      #2

      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 Sub

      Then in the Shown event close the splash Screen

      Sub Form_Shown() Handles Me.Shown
      _splash = New SplashScreen
      _splash.Close
      _splash.Dispose
      _splash = Nothing
      End Sub

      Steve Jowett ------------------------- Real programmers don't comment their code. If it was hard to write, it should be hard to read.

      1 Reply Last reply
      0
      • J jigneshDPatel

        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

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        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

        J 1 Reply Last reply
        0
        • D Dave Kreskowiak

          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

          J Offline
          J Offline
          jigneshDPatel
          wrote on last edited by
          #4

          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

          D 1 Reply Last reply
          0
          • J jigneshDPatel

            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

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            I already gave you the solution.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007, 2008

            J 1 Reply Last reply
            0
            • D Dave Kreskowiak

              I already gave you the solution.

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                   2006, 2007, 2008

              J Offline
              J Offline
              jigneshDPatel
              wrote on last edited by
              #6

              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

              D 1 Reply Last reply
              0
              • J jigneshDPatel

                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

                D Offline
                D Offline
                Dave Kreskowiak
                wrote on last edited by
                #7

                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

                J 1 Reply Last reply
                0
                • D Dave Kreskowiak

                  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

                  J Offline
                  J Offline
                  jigneshDPatel
                  wrote on last edited by
                  #8

                  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

                  D 1 Reply Last reply
                  0
                  • J jigneshDPatel

                    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

                    D Offline
                    D Offline
                    Dave Kreskowiak
                    wrote on last edited by
                    #9

                    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

                    J 1 Reply Last reply
                    0
                    • D Dave Kreskowiak

                      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

                      J Offline
                      J Offline
                      jigneshDPatel
                      wrote on last edited by
                      #10

                      I 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

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups