Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase
Create Splash Screen using VB.Net

Author: DevASP
Download Source Code : 386_Splash_Screen.zip

Create Splash Screen to diplay the product name, version vendor's corporate image, branding copyright and third party components information.

Splash screen is an image that appears while a computer is loading programs

Create Splash Screen to diplay the product name, version vendor's corporate image, branding copyright and third party components information.

Create new vb.net application, drag a label and a button on the form, Rename the buttom as "Again" and from as "frmMain" now create another from and rename it as "frmSplash" and drag picturebox on it and set properties of form "From boder style ---> None" and "Top most ---> true"

now write a code on frmMain load event

Dim F2 As New frmSplash

F2.Show()

now write a code on btn_again Button click

Dim F2 As New frmSplash

F2.Show()

now write a code on frmSplash load event

Dim sRect As Rectangle

Me.Top = ((Screen.GetWorkingArea(sRect).Height / 2) - (Me.Height / 2)) - 50

Me.Left = Screen.GetWorkingArea(sRect).Width

Me.TransparencyKey = Me.BackColor

Me.Width = 700

Me.Height = 400

now write a code on frmSplash paint event

Dim sRect As Rectangle

Dim p As Integer

Dim pR As Integer

Dim pL As Integer

pR = Screen.GetWorkingArea(sRect).Width

pL = (pR / 2) - (Me.Width / 2)

Me.Left = pR

'Draw Background Image on Form

e.Graphics.DrawImage(PictureBox2.Image, 0, 0)

For p = pR To pL Step -150

  Me.Left = p

Next

Me.Show()

Sleep(1500)

Me.Hide()

Article Comments
I really appreciate it!
But I have got one problem
When I run it,it says in the upper frm class:Value not cannot be null
Plz help me
thanks!

Posted on 10/8/2006 5:07:43 AM by Zeray

Transparent Splash screen in VB6 is Possible? If yes How?

Posted on 11/21/2006 1:11:49 AM by Rajat Malakar

hi sir,

i am a student doing 1st year in BCA, and only this year i started learning VB.net


i am not perfect with my VB.net so request you to send explian the splashscreen code as it is giving some errors.

thanx

Posted on 1/17/2007 10:43:47 PM by bharath

hello,Sir
my version of VB.NET is Visual studio 2005, which has taken configuration of splash screen as an in-built function. so you don't necessary to wirte code for it.
however ,i have also a question that how to show the product name by edition of splash screen code.

Posted on 11/23/2008 8:34:09 AM by liu_g

Thank You very much for your help.

Posted on 11/28/2008 4:45:54 AM by Thilini Nimesha

how can i deveoped my prgraming skill in vb.net.please give a solution.

Posted on 4/3/2010 6:12:28 AM by kuldeep Das

How to use splash in html
some thing tells abt splash and its uses

Posted on 7/3/2010 6:03:09 AM by Jagatpal Singh

I really appreciate it!

Very Good.

thanks!

Posted on 8/1/2010 1:08:59 PM by Vipin Bajpai

   
Add Article Comment:
Name :
Email Address :
   
Comments :
 
   
<< How to access Windows Form Variable into Another Form using Visual Basic.Net

Disclaimer - Privacy
© 2002-2014 DevASP.net