Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dectect a Grid on a Form
Message
From
07/12/2005 10:03:10
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01075605
Message ID:
01075713
Views:
15
On the other hand, I try to reduce the number of createobjects to test whether something is installed

They take time, especially if you have them in a menu skip for clause

So, the first time I need info (reg class, regex, ...) I instantiate the class and cache the result. The next time, I take it from the cache

So, one createobject('Excel.application') does not matter too much
_________

>Della should take the credit. If I'm not mistaken she posted it while ago and I just picked up. I have a whole library of goodies from my old work. <g>
>
>>That's even better. I just look if there's an application associated with .xls
>>__
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform