|
-
Mar 7th, 2008, 12:16 PM
#1
Thread Starter
New Member
vb.net -> slow app launch,, help me...
hi
i made a small swf launcher in vb.net which process.start a swf file and keep the device not turned off while the swf is running
but the problem that the compiled exe loads slow
are other programs made by c++ so they are fast?
if so, can some one help me to convert my app to c++. it's only 3 small functions
Last edited by benefit_ms; Mar 7th, 2008 at 12:27 PM.
-
Mar 8th, 2008, 01:15 PM
#2
Re: vb.net -> slow app launch,, help me...
I can only think of one meaning for swf, and it certainly isn't right.
When you say that it loads slow, how slow?
There are certain things that do take a long time to start up for apps on PDAs, and it doesn't really matter what language you write in. The shopping list program I wrote in .NET is just as slow to load as the calculator program that I got online (which is not .NET).
However, there are ways you can cheat, which is what I did with the shopping list. I basically made up a dummy form that looks like my real form, and put it up as a splash screen while the program loads in the background. The reason I could get away with this is because it was the DB connection that was the slow piece. By using the splash screen (which looks like the normal screen minus two buttons), the program comes up in 2seconds while the program loads in 7seconds. Without the splash screen, the program shows up in 6seconds.
My usual boring signature: Nothing
 
-
Mar 9th, 2008, 06:50 AM
#3
Thread Starter
New Member
Re: vb.net -> slow app launch,, help me...
thanks for the replay and sorry for my bad English
if you made a WM5 app contains only a form and a button using vb.net2005 it takes some time to load on the device while other programs (like adobe flashlite, most ppc programs that don't require .net) load fast no more that 1 sec.
-
Mar 9th, 2008, 01:46 PM
#4
Re: vb.net -> slow app launch,, help me...
It's not the form, it's the framework and other helper stuff. However, not all other programs load so fast, either. One potential issue is the memory management. If most of your app is loaded into memory, then launch time drops to a fraction of a second. However, as far as I can tell, the OS controls what is in memory and what (and when) pieces get discarded. For my shopping list app, I have yet to determine a pattern as to when closing it and re-opening will cause it to just spring back within a second, or when it will have to go through the entire load.
However, I do have apps that aren't .NET that take significant load time, and the load time for my shopping list is only 2s for the splash screen. It appears to be the DB connection that takes so long. Even 2 seconds is fairly slow compared to some other items, but it's acceptable.
My usual boring signature: Nothing
 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|