HighTechTalks DotNet Forums  

Load time for large application

Dotnet Framework (Compact Framework) microsoft.public.dotnet.framework.compactframework


Discuss Load time for large application in the Dotnet Framework (Compact Framework) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Keven Corazza
 
Posts: n/a

Default Load time for large application - 09-04-2009 , 04:54 AM






Hi,

I'm developing an application with NetCF1.0. The application is growing day
by day, month by month and now the loading time is not the same as in the
beginning.

I suppose that this is normal but I'm thinking if there is a solution to
reduce the loading time. For example the application includes several options
and functions that are necessary immediately but they can activate when the
user request for them.

Is it possible to divide the code and dinamically load the requested part ?

In standard Windows application it is possible to load a DLL dinamically. Is
there similar option in NETCF ?

Any suggestion is appreciated.

Thank you in advance

Keven Corazza

Reply With Quote
  #2  
Old   
Ginny Caughey
 
Posts: n/a

Default Re: Load time for large application - 09-04-2009 , 05:39 AM






Keven,

Why are you developing for .NetCF 1? My suggestion would be to use something
newer.

--

Ginny Caughey
Device Application Development MVP



"Keven Corazza" <KevenCorazza (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

I'm developing an application with NetCF1.0. The application is growing
day
by day, month by month and now the loading time is not the same as in the
beginning.

I suppose that this is normal but I'm thinking if there is a solution to
reduce the loading time. For example the application includes several
options
and functions that are necessary immediately but they can activate when
the
user request for them.

Is it possible to divide the code and dinamically load the requested part
?

In standard Windows application it is possible to load a DLL dinamically.
Is
there similar option in NETCF ?

Any suggestion is appreciated.

Thank you in advance

Keven Corazza

Reply With Quote
  #3  
Old   
Keven Corazza
 
Posts: n/a

Default Re: Load time for large application - 09-04-2009 , 06:45 AM



Dear Ginny,

the developing of the application started few years ago with NETCF1.0. I
know that there is something new but we have to complete some features with
the current approach before to change.

Keven Corazza


"Ginny Caughey" wrote:

Quote:
Keven,

Why are you developing for .NetCF 1? My suggestion would be to use something
newer.

--

Ginny Caughey
Device Application Development MVP



"Keven Corazza" <KevenCorazza (AT) discussions (DOT) microsoft.com> wrote in message
news:44860ACB-6AD6-4997-A2A6-A8EB83531478 (AT) microsoft (DOT) com...
Hi,

I'm developing an application with NetCF1.0. The application is growing
day
by day, month by month and now the loading time is not the same as in the
beginning.

I suppose that this is normal but I'm thinking if there is a solution to
reduce the loading time. For example the application includes several
options
and functions that are necessary immediately but they can activate when
the
user request for them.

Is it possible to divide the code and dinamically load the requested part
?

In standard Windows application it is possible to load a DLL dinamically.
Is
there similar option in NETCF ?

Any suggestion is appreciated.

Thank you in advance

Keven Corazza

Reply With Quote
  #4  
Old   
Chris Tacke, MVP
 
Posts: n/a

Default Re: Load time for large application - 09-04-2009 , 07:05 AM



The assemblies load when a class in it is used. Create less "stuff" at
startup and you'll have less code loading, and thereby faster loading. A
native splash screen can also go a long way toward positive user perception.
And I'm with Ginny - just changing to a newer version of the CF will improve
things.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com

"Keven Corazza" <KevenCorazza (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

I'm developing an application with NetCF1.0. The application is growing
day
by day, month by month and now the loading time is not the same as in the
beginning.

I suppose that this is normal but I'm thinking if there is a solution to
reduce the loading time. For example the application includes several
options
and functions that are necessary immediately but they can activate when
the
user request for them.

Is it possible to divide the code and dinamically load the requested part
?

In standard Windows application it is possible to load a DLL dinamically.
Is
there similar option in NETCF ?

Any suggestion is appreciated.

Thank you in advance

Keven Corazza

Reply With Quote
  #5  
Old   
Keven Corazza
 
Posts: n/a

Default Re: Load time for large application - 09-04-2009 , 07:50 AM



Thank you Chris,

please confirm the following: the exe size doesn't influence the loading
time; it is just a matter of objects that are created at startup

I've also understand, in clear way, to move to new version of CF as soon as
possible.

Thank you.

Keven Corazza


"Chris Tacke, MVP" wrote:

Quote:
The assemblies load when a class in it is used. Create less "stuff" at
startup and you'll have less code loading, and thereby faster loading. A
native splash screen can also go a long way toward positive user perception.
And I'm with Ginny - just changing to a newer version of the CF will improve
things.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com

"Keven Corazza" <KevenCorazza (AT) discussions (DOT) microsoft.com> wrote in message
news:44860ACB-6AD6-4997-A2A6-A8EB83531478 (AT) microsoft (DOT) com...
Hi,

I'm developing an application with NetCF1.0. The application is growing
day
by day, month by month and now the loading time is not the same as in the
beginning.

I suppose that this is normal but I'm thinking if there is a solution to
reduce the loading time. For example the application includes several
options
and functions that are necessary immediately but they can activate when
the
user request for them.

Is it possible to divide the code and dinamically load the requested part
?

In standard Windows application it is possible to load a DLL dinamically.
Is
there similar option in NETCF ?

Any suggestion is appreciated.

Thank you in advance

Keven Corazza


Reply With Quote
  #6  
Old   
Markus Humm
 
Posts: n/a

Default Re: Load time for large application - 09-07-2009 , 07:36 AM



Hello,

for instance avoid to auto create all your forma at startup. Create them
only when calling them the first time.

Greetings

Markus

Reply With Quote
  #7  
Old   
Chris Tacke, MVP
 
Posts: n/a

Default Re: Load time for large application - 09-07-2009 , 09:29 PM



Correct, EXE size has zero to do with the time it will take to load the app.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com

"Keven Corazza" <KevenCorazza (AT) discussions (DOT) microsoft.com> wrote

Quote:
Thank you Chris,

please confirm the following: the exe size doesn't influence the loading
time; it is just a matter of objects that are created at startup

I've also understand, in clear way, to move to new version of CF as soon
as
possible.

Thank you.

Keven Corazza


"Chris Tacke, MVP" wrote:

The assemblies load when a class in it is used. Create less "stuff" at
startup and you'll have less code loading, and thereby faster loading. A
native splash screen can also go a long way toward positive user
perception.
And I'm with Ginny - just changing to a newer version of the CF will
improve
things.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com

"Keven Corazza" <KevenCorazza (AT) discussions (DOT) microsoft.com> wrote in message
news:44860ACB-6AD6-4997-A2A6-A8EB83531478 (AT) microsoft (DOT) com...
Hi,

I'm developing an application with NetCF1.0. The application is growing
day
by day, month by month and now the loading time is not the same as in
the
beginning.

I suppose that this is normal but I'm thinking if there is a solution
to
reduce the loading time. For example the application includes several
options
and functions that are necessary immediately but they can activate when
the
user request for them.

Is it possible to divide the code and dinamically load the requested
part
?

In standard Windows application it is possible to load a DLL
dinamically.
Is
there similar option in NETCF ?

Any suggestion is appreciated.

Thank you in advance

Keven Corazza


Reply With Quote
  #8  
Old   
Alberto Silva, MVP
 
Posts: n/a

Default Re: Load time for large application - 09-08-2009 , 06:57 AM



Marteem has just published an article detailing how you can create a native
C++ app which can promptly give some feedback to the user while starting the
..NET CF app, and thus giving the impression that it will start faster:

http://www.dotnetfordevices.com/forum.html#378


--

Alberto Silva
http://www.moving2u.pt - R&D Manager
http://msmvps.com/AlbertoSilva - Blog
Microsoft MVP - Device Application Development


"Keven Corazza" <KevenCorazza (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

I'm developing an application with NetCF1.0. The application is growing
day
by day, month by month and now the loading time is not the same as in the
beginning.

I suppose that this is normal but I'm thinking if there is a solution to
reduce the loading time. For example the application includes several
options
and functions that are necessary immediately but they can activate when
the
user request for them.

Is it possible to divide the code and dinamically load the requested part
?

In standard Windows application it is possible to load a DLL dinamically.
Is
there similar option in NETCF ?

Any suggestion is appreciated.

Thank you in advance

Keven Corazza


__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4401 (20090906) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4405 (20090908) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.