Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dell Word 2003
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Dell Word 2003
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01013549
Message ID:
01013549
Views:
53
We've run into an odd problem when trying to bind to Word events on specific Dell machines with Word 2003 pre-installed. We get an "Type Library word.application not found" error when trying to create a WordEventHandler object defined as
DEFINE CLASS WordEventHandler as BizObj
IMPLEMENTS ApplicationEvents2 IN "Word.Application"
This is only happening on Dell Optiplex GX280 small form factor & New Latitude 505 Notebook computers with word 2003 pre installed.

Has anyone else run into this?

We find that if we replace "Word.Application" with the full path to the TypeLibrary file (MSWORD.OLB in Word 2003) it works fine. The problem with this solution is that it would need to be hard-coded somehow since we can't use variables in the class definition line.

Does anyone have any suggestions?

TIA,

-Ken Weber
kenweber
GCom2 Solutions
Microsoft Certified Professional

Next
Reply
Map
View

Click here to load this message in the networking platform