Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best Practice Excel / Word COM
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01139541
Message ID:
01139583
Views:
11
>>Since VFP 7 we are required to use a VCX as a base class for OCX (Active X). Is this also the case with Word and Excel OLE?
>>
>>Is a VCX required for these guys and what control (OCX?) would serve as the base class?
>>
>>Thanks
>
>Do you want to put Excel image on the form?

No - But its needs to render Word images. One project generates Excel Charts - but does not use Excels VBA Image control. Mostly the app just opens word documents in a print preview window.

The Active X used to let us instanicate in code. We still can, but only when the VFP developer license is intalled.

To prevent OCX from crashing the system, after VFP 7, requires a vcx container for the base class. A few days ago a user calls and tells me the eval system is running great - except that a button that links to a Word socument opens a couple of word sessions (real fast!) when he selects that feature from the apps menu.

The Word COM is the only guy w/o a VCX. Only one call - but I was curious. I have a "word.document" control in the VFP options. I have been using the "Word.Application" inside CREATEOBJECT(). Maybe that's the Word Viewer COM?

Do I need a VCX for a Word COM ? I am not anticpating Excel Images. Thanks!
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform