Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locate OWC10
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Locate OWC10
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01482268
Message ID:
01482268
Views:
124
Hi all,

I have the pivottable activex control (part of office web components) on a form class. I have cases where VFP comes up with the locate file dialogue "Locate OWC10.DLL:" when I try to instantiate this form with CreateObject(). Navigating to the dll has no effect.

However I the code: loPivotControl = CreateObject("OWC10.PivotTable.10") runs fines without any problems.

1. What's going on here? What does creating the form hosting the control do differently from innstatiating the control directly
2. Because it doesn't error, I am finding difficult to preEmpty the issue. Does anyone know how I can stop vfp trying to locate the file? I rather have an error instead.

Thank you
Mathias Banda

Time is longer than a rope.
Next
Reply
Map
View

Click here to load this message in the networking platform