The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages - More
> .Net Development
|
Loading Screen
Discuss Loading Screen in the .Net Development forum on Dev Shed. Loading Screen .NET development forum discussing all .NET derivatives including C#, VB.NET, ASP.NET, ADO.NET and more. Learn the ins and outs of using the .NET framework.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

October 5th, 2003, 12:06 PM
|
|
Contributing User
|
|
Join Date: Jul 2003
Posts: 61
Time spent in forums: 6 m
Reputation Power: 10
|
|
|
Loading Screen
I want to make window appear until the application be loaded
how can i do it ?using VB.NET
|

October 5th, 2003, 10:59 PM
|
|
Contributing User
|
|
Join Date: Jul 2003
Location: Windsor ON, Canada
Posts: 462
  
Time spent in forums: 14 h 1 m 30 sec
Reputation Power: 12
|
|
|
show the splash screen. load the main form in the splash screen's activate even. then show the main and unload the splash screen.
|

October 6th, 2003, 04:57 AM
|
|
Contributing User
|
|
Join Date: Jul 2003
Posts: 61
Time spent in forums: 6 m
Reputation Power: 10
|
|
|
What is the Splash screen and how can i create it
|

October 6th, 2003, 03:39 PM
|
|
Junior Member
|
|
Join Date: Sep 2003
Posts: 17
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Splash screen is the screen that you want to show while your program is loading!!
|

October 6th, 2003, 03:42 PM
|
|
Contributing User
|
|
Join Date: Jul 2003
Posts: 61
Time spent in forums: 6 m
Reputation Power: 10
|
|
|
ok how can i do it
|

October 7th, 2003, 02:05 AM
|
|
Junior Member
|
|
Join Date: Sep 2003
Posts: 17
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
It depends on what you want to show, it is a regu;ar form with your specific design. Do what nopoints advised to show and hide the splash screen as you need.
|

October 7th, 2003, 10:52 AM
|
|
Junior Member
|
|
Join Date: Oct 2003
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
splash screen
To create a splash screen while you do other loading events, the easiest way is to create a new Form subclass.
To get the "splash screen" look, just make the FormBorderStyle = FormBorderStyle.None, and set the BackgroundImage to something pretty (and then set the Form Size to the BackgroundImage's Size). Maybe even throw in a Label with its BackColor set to Transparent and set it public so you can change it as you proceed through your tasks.
To load the Splash screen, in the method where you are coordinating your application loading, towards the beginning create an instance of the Form and run the .Show() method. Then, when you are almost ready to launch into your main application (through Application.Run, or whatever), run .Close() on the Splash screen form.
|

October 7th, 2003, 11:03 AM
|
|
Contributing User
|
|
Join Date: Jul 2003
Posts: 61
Time spent in forums: 6 m
Reputation Power: 10
|
|
|
thank you man
i did all the things you saied
i create a form and make pretty background
nad when the application start(MyBASE.load) i open the form
for 20 seconds
but i don't want to use the timer i want to make this screen showen until the application loaded
|

October 7th, 2003, 01:10 PM
|
|
Contributing User
|
|
Join Date: Sep 2003
Location: Montreal, Canada
Posts: 486
Time spent in forums: 3 h 52 m 20 sec
Reputation Power: 10
|
|
|
just LOAD the form. When it have finish loading the form then you show it ! not before.
you just line it up.
show spash screen
load frmpatatipatata as frmSomething
frmpatatipatata.showdialog
me.hide
something +- like that ! just that you do it line by line, that's what the code should do then.
p
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|