Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem in transferring reports to Word & Excel
Message
From
01/07/1999 19:32:01
 
 
To
01/07/1999 09:24:57
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00236408
Message ID:
00236764
Views:
9
I found it very difficult to try to make the same OLE code work with Office 95 & 97. What I did instead was to create a word processor class, which I sub class for each word processor and version. I put all the code that is related to the word processor in this class. So right now I have classes for Word 95, Word 97, and WordPerfect 8.0. When the program starts, it just creates a global object using the appropriate word processor class depending on what the user has installed. This way, everytime a time a new version of Word or Wordperfect comes out, I don't need to try to make all the old code work for the new word processor, I just make a new sub class and recreate methods that need to be changed to work with the new word processor.

-Doug Wood
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform