Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel Automation and VFP Debugger
Message
From
03/09/2007 07:48:12
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01251942
Message ID:
01251944
Views:
10
>I found a very strange behaviour of the Excel application object when VFP Debugger is open. For reproducing of this behaviour test the following rows of code
>
loExcel1=CREATEOBJECT("Excel.Application")
>loWbs=loExcel1.Workbooks
>loWBNew=loWbs.Add
>? loWbs.Count && wait the few seconds and repeat
>? loWbs.Count
>? loWbs.Count
>
>The number of the added workbooks grows very fast.
>Could anybody explain that?
>
>VFP9.0 SP1 on Windows XP Professional

What you have in Debugger Watch Window?
Did you have loWbs.Add there?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform