473,322 Members | 1,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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 15985
Search MSDN for the MinimumSplashScreenDisplayTime property of the
WindowsFormsApplicationBase 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.htm

"Newbie" <ne****@nospam.comwrote in message
news:O5**************@TK2MSFTNGP03.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 "MyApplication" Class, enter the code using
"MinimumSplashScreenDisplayTime" as follows:

' Keep splash on screen for 4 seconds
Protected Overrides Function OnInitialize( _
ByVal commandLineArgs As _
System.Collections.ObjectModel.ReadOnlyCollection( Of String) _
) As Boolean
Me.MinimumSplashScreenDisplayTime = 4000
Return MyBase.OnInitialize(commandLineArgs)
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
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...
14
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...
2
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...
2
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,...
1
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...
5
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...
2
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...
0
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...
0
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.