473,545 Members | 2,413 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

vb.net 200 splash screen - pause for longer

Hi,

In the application properties of my vb.net 2008 project I have set one of my
forms to be the splash screen.

How do I increase the time the splash screen is displayed for. It vanishs to
quick,and I would like it to display for 4 seconds
Thanks

Nov 9 '08 #1
2 16002
Search MSDN for the MinimumSplashSc reenDisplayTime property of the
WindowsFormsApp licationBase class - it contains sample code and instructions
for overriding the default timing of 2s.

http://msdn.microsoft.com/en-us/libr...splaytime.aspx

It's also at
ms-help://MS.VSCC.v90/MS.MSDNQTR.v90. en/fxref_microsoft .visualbasic/html/cd1b02c0-a9f2-f7db-0132-917098bafa05.ht m

"Newbie" <ne****@nospam. comwrote in message
news:O5******** ******@TK2MSFTN GP03.phx.gbl...
Hi,

In the application properties of my vb.net 2008 project I have set one of
my forms to be the splash screen.

How do I increase the time the splash screen is displayed for. It vanishs
to quick,and I would like it to display for 4 seconds
Thanks
Nov 9 '08 #2
On Nov 9, 4:49*am, "Newbie" <new...@nospam. comwrote:
Hi,

In the application properties of my vb.net 2008 project I have set one ofmy
forms to be the splash screen.

How do I increase the time the splash screen is displayed for. It vanishsto
quick,and I would like it to display for 4 seconds

Thanks
Hi,
You need to specify the required display time by:
1-Create your splash screen from "add new item" menu.
2-In project settings, view application tab, and set Splash Screen to
"your splash screen" from drop down menu.
3-And your request, click on "View Application Events"
4-Inside "MyApplicat ion" Class, enter the code using
"MinimumSplashS creenDisplayTim e" as follows:

' Keep splash on screen for 4 seconds
Protected Overrides Function OnInitialize( _
ByVal commandLineArgs As _
System.Collecti ons.ObjectModel .ReadOnlyCollec tion(Of String) _
) As Boolean
Me.MinimumSplas hScreenDisplayT ime = 4000
Return MyBase.OnInitia lize(commandLin eArgs)
End Function

You're done.

Hope this helps,

Onur Güzel
Nov 10 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2252
by: andrewcw | last post by:
I implemented the simplest of splash screens ( static and on its own thread ). But it seem that when first called maybe 8 seconds elapsed before it showed up, the main form follows several seconds later. Naturally recalling the application, the response is adequate I have 10 classes in my project. Some small, none really huge. And another...
14
6681
by: SStory | last post by:
I am trying to make a splash screen for my vb.net app. It is an mdi app. including the splash code produces wierd results. not inluding makes things fine. Also have tried loading the splash form from: * load event of main mdi parent
2
1683
by: BuzzLight | last post by:
This is my problem :- - I have set a form frmSplash as the startup form instead of sub Main. - This means I dont create an instance of it myself at startup.. its automatically created. - I have a timer on frmSplash set to 3000 ms interval - and here is its tick event : Private Sub tmrStartup_Tick(ByVal sender As Object, ByVal e As...
2
2098
by: Joe Cool | last post by:
Using VB in VS2005. 2005 has a new way to implment a spash screen that alleviates the need for hardly any code. But I have found that when a GUI that has a splash screen is run as a scheduled task, the splash screen (and no other screen) is displayed for the entire run of the application. How can I disable the spalsh screen just for when an...
1
2245
by: Ken Allen | last post by:
I am developing a small utility program that must perform a considerable amount of 'background' or 'research' work before it can display any user interface. In general it can take 3-15 seconds to perform all of the work requured before we display any user interface. So we have determined that the utility should have a splash screen to assure...
5
6388
by: steve | last post by:
Hi All I have a form set as the splash screen in VB.net 2005 application properties How can I tell when it has or is closing, as I want to then run some licence checking code without the splash screen interfering with msgboxes which may need to be displayed if the licence is invalid or missing I have tried in the splash form's...
2
4202
by: will_456 | last post by:
In vb2005 Express: In My Project Application Splash Screen I have selected my splash screen form. The form opens on project startup but closes immediately before anyone would have time to read it. I presume it only stays visible while the main form initialises. This is not long enough but I can't see how to slow it down. Should I set...
0
374
by: Tony K | last post by:
I happen to be reading a Q&A in my VS Magazine this month and there was a tidbit about how to make the splash screen display longer. Fit one of my problems perfectly, but... The MDI form shows up and my splash screen is now hidden. Because I set the display time to 8 seconds (8000ms) I have time to minimize the MDI form and see my splash...
0
1276
by: AlarV | last post by:
Hey everyone! I've been trying to create a Splash Screen in my Java program. I've managed to make the splash screen show itself, with the program. I now want to make it show first, and then show my main program. As in every program nowadays.. Here is my code: /* package ****;
0
7487
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7420
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7934
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7446
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6003
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5349
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4966
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1033
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
731
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.