Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any way to load OLE Automation faster?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00220735
Message ID:
00220749
Vues:
41
>Hi,
> I am developing an application that make use of MS Outlook and MS Word. It make my program loading very very slow - 20-30 seconds at startup with only load MS Outlook, MS Word however will be loaded when user click certain button....
> i have try to use single instance of Ole automation to avoid load multiple automation, but it still very slow.... any very to load it faster?

It's going to be slow, no matter what. Loading Outlook/Exchange apps on their own is slow, as you know, so you can't expect OLE to be any better...plus the OLE has additional overhead. The best you can do, really, is to use a splash screen/message making it clear you're enabling Outlook messaging (or some such message) so the users won't blame your app so much for being slow :)

Also, if the user won't necessarily be using any OLE automation, of course, don't load them until absolutely needed, as you do with Word...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform