Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many bizobjs is too many bizobjs?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00394655
Message ID:
00395144
Vues:
12
Alex,

Here is some more for you to "chew" on....

There are many tips for speeding up the instantiation of your forms. First of all, I would recommend running the Coverage Profiler on it so that you can analyze exactly what is taking so long.

Another thing I like to do, if I'm using a pageframe, is place everything on each page in it's own container.... then load it the first time that page is activated. That way, when you start up your form, you are actually only initializing a small portion of all of the objects. It just pushes and breaks apart the lag into activating the page, but only the first time.

HTH

>>I also remember back when I used ADO records sets with VB, that ADO was set up to only return a buffered number of rows, to cut down on server/bandwidth time. Don't know if that helps any, and don't know how to impliment a partial load for a combobox, but might point you to some other ideas to chew on. Goodluck, Let us know.
>
>Thanks to all who answered, really appreciate the feedback!
>
>I personally don't like forms taking more than 2 seconds to instantiate, but I will probably ask my users what they think.
>
>My fallback plan on this is to have the app itself populate LOCAL tables from the lookup data in the server at STARTUP and then populate the comboboxes in the forms from the local tables. From a few benchmarks I've ran, the difference between getting data from the server and getting it from the local hard drive is about ten fold.
>
>Alex

Doug Stalter

"According to the proverb, the best things are the most difficult." -Plutarch
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform