WRI Colleges Forum
Hello WRIans...

If you are not a member yet, please register with complete information to be able to post, reply and to create thread or topics in the forum.

Madya na po kita!!

Login with FACEBOOK is now available for facebook users.


[Admin]

Join the forum, it's quick and easy

WRI Colleges Forum
Hello WRIans...

If you are not a member yet, please register with complete information to be able to post, reply and to create thread or topics in the forum.

Madya na po kita!!

Login with FACEBOOK is now available for facebook users.


[Admin]
WRI Colleges Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Please notify or send an SMS to forum admin @09501527151 for activation of your account.
Welcome...... Alumni of Naga, Rinconada, Calabanga, Partido and Sorsogon....
Alumni of the WRI-Goa Branch is planning to have a simple Alumni Reunion on 2018. Please text 09501527151 for attendance.
We are looking for Forum Moderator from other branches; Naga, Rinconada, Calabanga and Sorsogon Alumni. Salamat.
Search
Display results as :
Advanced Search
April 2024
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
282930    

Calendar

Latest topics
WRI-Goa Pa-Raffle 2010 WinnersSat Dec 02, 2017 6:47 pmarvie21
alumni reunion... Thu Nov 30, 2017 6:33 pmarvie21
Annyeong-haseyoThu Nov 30, 2017 6:28 pmarvie21
hello.... good daySun Nov 19, 2017 6:59 pmChelleAnn
Forum Rules and GuidelinesSun Nov 19, 2017 3:36 pmradax
Uploading of Images and VideosSun Nov 19, 2017 3:34 pmradax
Troubleshooting your telephone line... Sat Jul 29, 2017 6:18 pmradax
What is PROTOCOL?Sat Jul 29, 2017 6:17 pmradax
Pa-Raffle 2010 @ WRI-Goa GroundMon Jul 17, 2017 8:20 pmradax
Forum Rules & GuidelinesMon Jul 17, 2017 8:17 pmradax
Forum Group SynchronizationMon Jul 17, 2017 8:12 pmradax
The Sportsfest 2014Wed Mar 19, 2014 10:18 amradax
kumusta? goanians???? Thu Mar 13, 2014 10:19 pmGuest
WRI Foundation 2014 at SM City NagaMon Mar 10, 2014 11:47 amGuest
hi everyone..Mon Mar 03, 2014 12:37 pmradax
Care and maintenance of Leather furnitureMon Oct 28, 2013 5:14 pmGuest
Consider the filling of the sofaFri Oct 25, 2013 5:12 pmGuest
Conversion Dining Top for Pool TableTue Oct 22, 2013 4:48 pmGuest
Antique Writing DesksMon Oct 21, 2013 5:01 pmGuest
Take care of your wooden outdoor furniture Sat Oct 19, 2013 4:39 pmGuest
Cooking FeastSat Aug 27, 2011 3:18 pmmherlcan
wri-calabanga please read thiszzz....Sun Jul 17, 2011 3:51 pmrickzmanansala
wri-calabangaFri Jul 08, 2011 6:02 pmrickzmanansala
haen lamang ang pictures kan nakaaging instramurals 2010??Tue Jul 05, 2011 12:16 pmrickzmanansala
PROGRAMMING EXERCISE ConcentrationTue Jul 05, 2011 12:15 pmrickzmanansala
Have a nice day WriansTue Jul 05, 2011 12:12 pmrickzmanansala
2012...must see it and must believe it???Tue Jul 05, 2011 12:10 pmrickzmanansala
wri calabanga team building...Mon Jul 04, 2011 11:26 amrickzmanansala
FM TRANSCEIVER ARCHITECTURESun Jul 03, 2011 3:49 pmrickzmanansala
hi po sir danSun Jul 03, 2011 3:48 pmrickzmanansala
asar talaga.. Sun Jul 03, 2011 3:48 pmrickzmanansala
Saang Branch ka ba?Sun Jul 03, 2011 3:34 pmrickzmanansala
Attention!! aLL WRI Graduates..!!!Tue Dec 21, 2010 3:00 pmmeowchi
WRI Intramurals 2010Thu Nov 04, 2010 4:35 pmmherlcan
What is a Protocol?Tue Oct 26, 2010 12:00 pmBlex
What is a Network?Tue Oct 26, 2010 11:59 amGuest
How to crimp a cable RJ45Tue Oct 26, 2010 11:39 amGuest
Troubleshooting Your Phone LineTue Oct 26, 2010 11:24 amBlex
General printer troubleshooting.Tue Oct 26, 2010 11:08 amGuest
kelan po ba ang intrams ng WRI-Goa?Tue Oct 12, 2010 10:10 amGuest
ehem...Sun Sep 19, 2010 4:35 pmGuest
rationalTue Sep 07, 2010 7:07 amarvie21
Pagsungko ni INA (2010)Sat Sep 04, 2010 1:49 pmGuest
WRI-GOA STARTING POINT...Fri Sep 03, 2010 1:37 amarvie21
WRI-Goa Alumni EventsSun Aug 29, 2010 11:53 amBlex
When there was a WRI Kolping in CanamanWed Aug 18, 2010 12:29 pmarvie21
kumusta wrians?Sun Aug 15, 2010 10:23 pmbonnkeivy
Basic PC AssemblySun Aug 08, 2010 6:59 pmGuest
Propaganda TechniquesSun Aug 08, 2010 6:32 pmGuest
Good news for WRIFri Jan 22, 2010 10:08 amradax
Tictactoe in C++Wed Dec 16, 2009 2:29 amviraxz
Multiple Form Splash ScreenFri Dec 11, 2009 8:53 pmINKHRIPTOR
WRI Goa momentsThu Dec 10, 2009 3:15 pmGuest
help me my friends.. :DThu Dec 10, 2009 3:01 pmGuest
To all WRIan Graduates...Thu Dec 10, 2009 2:03 pmGuest
Inline encryption with using bintoint algoTue Dec 08, 2009 5:20 pmjcodee
Shaker Sort ANSI CTue Dec 08, 2009 4:52 pmjcodee
Calling of all WRI Goa GraduatesTue Dec 01, 2009 2:18 amradax
WRI Foundation Anniversary on March 2006Sun Nov 29, 2009 1:22 pmradax
Alumni Date on the making..Sat Nov 28, 2009 12:02 pmBlex
Simple Calculator in VBFri Nov 27, 2009 6:49 pmGuest
Planning for WRI AlumniThu Nov 26, 2009 11:22 pmGuest
WRI SorsogonFri Nov 20, 2009 2:34 amradax
Batch 2005 Grads From Rassel SilosFri Nov 20, 2009 1:43 amradax
WRI Goa (Tuloy po kau sa bahay ni Kuya)Fri Nov 20, 2009 1:40 amradax
WRI Foundation Anniversary on March 2006Fri Nov 20, 2009 1:29 amradax
To all WRIans...Mon Nov 16, 2009 9:12 pmmeowchi
Online Forum MeetingSat Nov 14, 2009 2:31 pmmeowchi
Merry Christmas..Sat Nov 14, 2009 2:28 pmmeowchi
Calling all WRI Graduates!Thu Nov 12, 2009 6:40 pmmeowchi
Updated WRIans Forum SiteFri Nov 06, 2009 4:19 amradax
Pictures of WRIWed Nov 04, 2009 4:08 pmmeowchi
List of names of WRI GraduatesMon Oct 26, 2009 11:11 amradax
Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None

Top posters
157 Posts - 43%
42 Posts - 12%
25 Posts - 7%
23 Posts - 6%
23 Posts - 6%
21 Posts - 6%
20 Posts - 6%
20 Posts - 6%
19 Posts - 5%
13 Posts - 4%
Cool Radio Hits



Page Hits
reset 12/3/2017
Multiple Form Splash Screen Counter

Go down
INKHRIPTOR
INKHRIPTOR
Newbie
Posts : 19
Join date : 2009-11-14
Age : 35
Home Address : Magarao

Multiple Form Splash Screen Empty Multiple Form Splash Screen

Fri Dec 11, 2009 8:53 pm
And now on to the Splash Screen example. The idea behind the splash screen example is to introduce the user to the application by showing a form with perhaps a logo or colorful graphic. The splash screen should display for a few seconds and then automatically switch to the application's main screen with no intervention from the user.



To build this sample application, perform the following steps:

* Start a new VB project.



* Set the following properties of the form:

Property Value

(Name) frmSplash

BorderStyle 0 – None


* Place an Image control on the form. (Be sure to use an Image, and not a PictureBox.)



While the PictureBox is a versatile control, more overhead is involved in using it. If all you want to do is display an image, then use the Image control. The PictureBox can also be used to display an image, but it also enables you to use graphics methods and can also serve as container (similar to a Frame) that lets you house other controls. Since we don't want to do any of that stuff and just want to display an image, we'll stick with the Image control.



Resize the Image control to encompass the size of the form. Name the control imgClouds.



Set the Stretch property to True. When the Stretch property is True, the picture you assign to the Image control will automatically expand or contract to conform to the size of the control. When the Stretch property is False, the Image control will automatically resize itself to expand or contract to the size of the picture that is assigned to it.



Set the Picture property. When you click the ellipsis button on the Picture property, a dialog box will open to allow you to navigate your system to find a suitable picture file. The main types of files that can be assigned to an Image control are .bmp, .jpg, .ico, and .wmf. Depending on the OS you are using, the clouds.bmp file may or may not be present on your system. If it is, the most likely place it would be is in either the Windows or WINNT directory. If you cannot find "clouds.bmp", simply navigate your system to locate any file of the appropriate type. Once you find your file, click Open on the dialog box. The picture will then fill the Image control.



* Place a Label on the form, move it to the center of the form and increase its width to encompass the width of the form. Set the properties of the label as follows:

Property Value

Alignment 2 - Center

BackStyle 0 – Transparent

Caption My Cool Application

Font Arial (Bold Italic, Size 24)


* Place a Timer on the form and set its properties as follows:

Property Value

(Name) tmrSplash

Enabled True (the default)

Interval 3000 (3 seconds)


At this point, your form should look something like this:


Multiple Form Splash Screen Image001

* From the VB Project menu, choose Add Form and select the option to add a new form. Name the new form frmMain. For the purpose of this demo, you need not place any controls on this form.



* Back on frmSplash, code the tmrSplash_Timer event as follows:

Private Sub tmrSplash_Timer()



tmrSplash.Enabled = False

frmMain.Show

Unload Me



End Sub


Run the project. The splash screen will display for three seconds and then the main form will be displayed. Close frmMain.

Download the VB project code for the example above here.

------------------------------------------------------------------------------------------------------------
Source: http://www.vb6.us/tutorials/multiple-form-splash-screen-tutorial

Written By TheVBProgramer.
Back to top
Permissions in this forum:
You cannot reply to topics in this forum