Re: How do i load a form?
Re: How do i load a form?
If I got the right idea of your question, you can try this:
frmSplash.Show
Regards,
Michi
Re: How do i load a form?
frmSplash.Show vbModal
or
frmSplash.show vbModeless
Re: How do i load a form?
Excellent. Thanks !
Jase
http://www.slideshowdesktop.com
View your images and photos on your desktop with ease using SlideShow Desktop, the desktop wallpaper manager for Microsoft Windows.
Re: How do i load a form?
Thankyou
Jase
http://www.slideshowdesktop.com
View your images and photos on your desktop with ease using SlideShow Desktop, the desktop wallpaper manager for Microsoft Windows.
Re: How do i load a form?
Thanks. What does the '1' mean ? Is it simply the number that represents vbModal or vbModeless ?
Jase
http://www.slideshowdesktop.com
View your images and photos on your desktop with ease using SlideShow Desktop, the desktop wallpaper manager for Microsoft Windows.
Re: How do i load a form?
Use of "Load" as a function probably is not good. "Load" is a reserved word in VB. You might run into naming conflicts.
To get your splash screen to display
frmSplash.show
should display it.
John G
Re: How do i load a form?
Although all the other replies are correct, I prefer doing it something similar to what you would in C++.
Since the Form is a class I declare a variable of that type then instantiate the object, call the load and show methods and walla.
dim fSplash as frmSplash
set fsplash = new frmSplash
load fsplash
fplash.show
'// Do whatever processing we need to initialise the app
unload fSplash
set fsplash = nothing
That's neat and tidy.
Re: How do i load a form?
Thanks
Jase
http://www.slideshowdesktop.com
View your images and photos on your desktop with ease using SlideShow Desktop, the desktop wallpaper manager for Microsoft Windows.
Re: How do i load a form?