Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any classes available for Word/Excel automation?
Message
From
08/04/2008 14:16:19
 
 
To
08/04/2008 10:40:11
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01306613
Message ID:
01309114
Views:
21
This message has been marked as the solution to the initial question of the thread.
>Hi Tamar,
>
>Just back from holidays and working through the book.
>
>I downloaded Rick Strahl's GetConstants.prg to create a header file for Word 2007 (Office 12) but am not sure which file to point when running it. I have pointed to WinWord.exe and MSWord.olb in C:\Program Files\Microsoft Office\Office12 but the GetConstants.prg gives an error when looking in both of those files. Any idea which file I need to point to?
>

First, in VFP 7 and later, you don't need Rick's program. The Object Browser will do this for you.

I don't have Word 2007 installed on this machine, but the file I would use for Word 2003 is listed as "Microsoft Word 11 Object Library." The file is msword.olb.

Try using the Object Browser.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform