Free Games Forum
Free Games Games Forums Music Forums TV Forums

  Free Games Forum Home FORUM
HOME
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN
Rules & FAQ RULES / FAQ
REPORT SPAM

Free Games Forum: Game Technology: Visual Basic / VB:
Splash Screen??

 

 


Fire_Of_Hell
Newbie

Mar 20, 2006, 6:32 PM

Post #1 of 9 (415 views)
Shortcut
Splash Screen?? Can't Post

hi, this is probably a nooby question, but what is the code for a child form which loads on startup and exits a few seconds later, and has a splash on it?



thechezman14
Enthusiast


Mar 21, 2006, 9:56 AM

Post #2 of 9 (408 views)
Shortcut
Re: [Fire_Of_Hell] Splash Screen?? [In reply to] Can't Post

make a new progect (stanard form), press alt + p, click add form.



put this into form1



Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Private Sub Form_Load()
Me.Show
Call Sleep(3000)
Form2.Show
Me.Hide
End Sub




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
will MM for FREE

This is 10% luck, 20% skill, 15% concentrated power of will, 5% pleasure, 50% pain, And a 100% reason to remember the name - mike shinoda


Fire_Of_Hell
Newbie

Mar 21, 2006, 5:39 PM

Post #3 of 9 (403 views)
Shortcut
Re: [thechezman14] Splash Screen?? [In reply to] Can't Post

That doesnt show the splash though, just the outline of the window...


(This post was edited by Fire_Of_Hell on Mar 21, 2006, 5:48 PM)


brownhead
Member

Mar 21, 2006, 6:13 PM

Post #4 of 9 (398 views)
Shortcut
Re: [Fire_Of_Hell] Splash Screen?? [In reply to] Can't Post

Try this:


Code
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) 
Private Sub Form_Activate()
Me.Show
Call Sleep(3000)
Form2.Show
Me.Hide
End Sub



-------------------------------------


[img]http://i25.photobucket.com/albums/c51/70k0/BHU.png[/img]


thechezman14
Enthusiast


Mar 21, 2006, 9:14 PM

Post #5 of 9 (397 views)
Shortcut
Re: [brownhead] Splash Screen?? [In reply to] Can't Post

you have to put something in form1.picture



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
will MM for FREE

This is 10% luck, 20% skill, 15% concentrated power of will, 5% pleasure, 50% pain, And a 100% reason to remember the name - mike shinoda


Fire_Of_Hell
Newbie

Mar 22, 2006, 12:26 PM

Post #6 of 9 (385 views)
Shortcut
Re: [thechezman14] Splash Screen?? [In reply to] Can't Post


In Reply To
you have to put something in form1.picture

nevermind, i just had to use form1.refresh, i already had a picture in it


terrankiller
Veteran


Mar 22, 2006, 2:06 PM

Post #7 of 9 (381 views)
Shortcut
Re: [Fire_Of_Hell] Splash Screen?? [In reply to] Can't Post


In Reply To
hi, this is probably a nooby question, but what is the code for a child form which loads on startup and exits a few seconds later, and has a splash on it?

Omg...


thechezman14
Enthusiast


Mar 22, 2006, 9:47 PM

Post #8 of 9 (377 views)
Shortcut
Re: [terrankiller] Splash Screen?? [In reply to] Can't Post

gotta learn sometime m8



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
will MM for FREE

This is 10% luck, 20% skill, 15% concentrated power of will, 5% pleasure, 50% pain, And a 100% reason to remember the name - mike shinoda


scare crow
Member


Mar 23, 2006, 3:23 PM

Post #9 of 9 (373 views)
Shortcut
Re: [thechezman14] Splash Screen?? [In reply to] Can't Post

yes, this is one of the most basic things to make in vb... easy... and they also have tutorials on

www.pixel2life.com

and

www.tutorialized.com

 
 
 


Search for (options) Web Design by Web Ideas - Page loaded in: 0.15 s on (CGI/1.1)