Home All Groups Group Topic Archive Search About

show something while loading .Net framework

Author
30 Aug 2006 9:35 AM
steven
Hello,

As anyone knows, before starting up a .Net application, parts of the
..Net framework must be loaded in memory. Therefore, starting this
application can last for quite a few seconds (especially on slow
computers). Is there anything you can do to show the user the framework
is loading? Many programs have a 'loading'-window, to show the user the
program is loading. Is this possible?

Some users think the program is not starting, pressing the desktop-icon
a few times more. Then they get the same application multiple times opened.

Many thanks,

Steven

Author
30 Aug 2006 10:50 AM
Meelis Lilbok
You can use "Make single instance application" property.

Mex



Show quoteHide quote
"steven" <u***@example.net> wrote in message
news:OMLXeeBzGHA.3464@TK2MSFTNGP03.phx.gbl...
> Hello,
>
> As anyone knows, before starting up a .Net application, parts of the .Net
> framework must be loaded in memory. Therefore, starting this application
> can last for quite a few seconds (especially on slow computers). Is there
> anything you can do to show the user the framework is loading? Many
> programs have a 'loading'-window, to show the user the program is loading.
> Is this possible?
>
> Some users think the program is not starting, pressing the desktop-icon a
> few times more. Then they get the same application multiple times opened.
>
> Many thanks,
>
> Steven
Author
30 Aug 2006 11:14 AM
Herfried K. Wagner [MVP]
"steven" <u***@example.net> schrieb:
> As anyone knows, before starting up a .Net application, parts of the .Net
> framework must be loaded in memory. Therefore, starting this application
> can last for quite a few seconds (especially on slow computers). Is there
> anything you can do to show the user the framework is loading? Many
> programs have a 'loading'-window, to show the user the program is loading.
> Is this possible?

No, not really, because the first line of your code gets executed after the
CLR/.NET Framework libraries have been loaded.  Doesn't the mouse pointer
show the application starting cursor?

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
Author
30 Aug 2006 12:01 PM
jeff
if you wanted to .... you could build a simple launcher program in VB6 that
opens a splash screen ... then calls you exe to run ... then after a few
seconds or so ... it closes itself ... our your vb.net checks for an
instance of the launcher and closes it.



Show quoteHide quote
"steven" <u***@example.net> wrote in message
news:OMLXeeBzGHA.3464@TK2MSFTNGP03.phx.gbl...
> Hello,
>
> As anyone knows, before starting up a .Net application, parts of the .Net
> framework must be loaded in memory. Therefore, starting this application
> can last for quite a few seconds (especially on slow computers). Is there
> anything you can do to show the user the framework is loading? Many
> programs have a 'loading'-window, to show the user the program is loading.
> Is this possible?
>
> Some users think the program is not starting, pressing the desktop-icon a
> few times more. Then they get the same application multiple times opened.
>
> Many thanks,
>
> Steven