Spash Screen With Winforms
Messages   Related Types
This message was discovered on ASPFriends.com 'winforms-cs' list.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

Mackey Kinard (VIP)
Does any body know how to put a SPLASH Screen on a Winforms Application
(Kinda the same way you used to be able to put
A SPLASH on your Visual C++ MFC based Application).

My main problem is, when RUNNING MY WINFORM APP for the First Time
(since the pc has been booted) it takes QUITE A WHILE
For the 1 Form to Appear (I gues its LOADING the .net framework stuff,
because if I just close it down a run it agin it comes up a lot faster)
This is Cool I understand having to load the .net framework dlls, but
since it takes so long to show up the "CUSTOMER" keeps hitting the icon
to launch until they see something...If I could SHOW a SPLASH (bitmap or
something)that appears IMEDIATEDLY (while loading the winform app). If
just try to Show something during the ONLoad of my winform, it does not
really help, because the .net framework is still loading first and
taking lots of time before mu onload would fire.

I was going to write a "LOADER" app in just "UNMANAGED" c++ to show a
bitmap as a SPLASH SCREEN....Then have the Load "CreateProcess" to
execute my Winforms .exe, I was hoping NOT to have to write the UNMANGED
LOADER just to show a SPLASH SCREEN IMMEDIATELY AFTER CLICKING the
ICON....

ANY HELP WOULD BE COOL!

- Mackey

Reply to this message...
 
    
Morkai Kurst
One issue with slow loading programs is there not being an aspnet user

Posted on MS windowsforms newsgroup

[Original message clipped]

Basically if you didn't install the sdk and or didn't setup asp.net web
stuff as well then that user won't have been created. Why winforms need
that user, no one has ever explained, but apparantly it works. I'm not
out of the dev environment yet so can't verify it personally but I have
seen several posts on the issue.

HTH

Morkai

[Original message clipped]

Reply to this message...
 
    
Mark Boulter
I think that this only applies to ASP.NET apps - mark

-----Original Message-----
From: Morkai Kurst [mailto:Click here to reveal e-mail address]=20
Sent: Wednesday, June 05, 2002 5:47 PM
To: winforms-cs
Subject: [winforms-cs] RE: Spash Screen With Winforms

One issue with slow loading programs is there not being an aspnet user

Posted on MS windowsforms newsgroup

[Original message clipped]

Basically if you didn't install the sdk and or didn't setup asp.net web
stuff as well then that user won't have been created. Why winforms need
that user, no one has ever explained, but apparantly it works. I'm not
out of the dev environment yet so can't verify it personally but I have
seen several posts on the issue.

HTH

Morkai

[Original message clipped]

| [winforms-cs] member Click here to reveal e-mail address =3D YOUR ID
| http://www.asplists.com/asplists/winforms-cs.asp =3D JOIN/QUIT

Reply to this message...
 
    
Morkai Kurst

> I think that this only applies to ASP.NET apps - mark

You obviously missed one of the last sentences of my post - "Why
winforms need that user, no one has ever explained, but apparantly it
works."

The problem with windows forms taking a long time to load has cropped up
a few times on Microsoft.public.dotnet.framework.windowsforms and the
issue of their being no aspnet user has proved in each of those cases to
be the problem. Some part of the framework when being loaded up looks
for it, eventually times out and then lets your app run, if the user is
there things start up a lot quicker.

No one has ever answered the question as to why this is. Maybe it's a
bug and will be fixed on next version, maybe its intentional. Your guess
is as good as mine.

Morkai

[Original message clipped]

Reply to this message...
 
    
Jamie Cool
Shawn Burke has a splash screen sample he built for a windows form
performance talk for this year's teched.

The talk & splash screen sample can be found at:

http://www.windowsforms.net/samples/DEV354.zip

=20

-----Original Message-----
From: Mackey Kinard [mailto:Click here to reveal e-mail address]=20
Sent: Wednesday, June 05, 2002 3:37 PM
To: winforms-cs
Subject: [winforms-cs] Spash Screen With Winforms

Does any body know how to put a SPLASH Screen on a Winforms Application
(Kinda the same way you used to be able to put
A SPLASH on your Visual C++ MFC based Application).

My main problem is, when RUNNING MY WINFORM APP for the First Time
(since the pc has been booted) it takes QUITE A WHILE
For the 1 Form to Appear (I gues its LOADING the .net framework stuff,
because if I just close it down a run it agin it comes up a lot faster)
This is Cool I understand having to load the .net framework dlls, but
since it takes so long to show up the "CUSTOMER" keeps hitting the icon
to launch until they see something...If I could SHOW a SPLASH (bitmap or
something)that appears IMEDIATEDLY (while loading the winform app). If
just try to Show something during the ONLoad of my winform, it does not
really help, because the .net framework is still loading first and
taking lots of time before mu onload would fire.

I was going to write a "LOADER" app in just "UNMANAGED" c++ to show a
bitmap as a SPLASH SCREEN....Then have the Load "CreateProcess" to
execute my Winforms .exe, I was hoping NOT to have to write the UNMANGED
LOADER just to show a SPLASH SCREEN IMMEDIATELY AFTER CLICKING the
ICON....

ANY HELP WOULD BE COOL!

- Mackey

| [winforms-cs] member Click here to reveal e-mail address =3D YOUR ID
| http://www.asplists.com/asplists/winforms-cs.asp =3D JOIN/QUIT

Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com