Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
Incorrect Page Size for Embedded Word Docs
A Foxpro for Windows 2.6a Application which contains General Field Embedded Word Docs is being updated to VFP 9.
In the older application there is code which opens the Embedded Word Doc via @SAY 0, 0 {General Field} Verb = "Edit". The Word Doc opens correctly.
In VFP9, I'm using a form with and OleBoundControl and opening the Embedded Word Doc with a DoVerb(-2) command. Notice that the Word Document PageSize seems to depend on the Size of the OleBoundControl. Attempting to Open the Embedded Word Doc with the old @SAY syntax opens the Word Doc with PageSize set to "Custom" instead of LetterSize (8.5 x 11)
Suspect this is an OLE1 (used by FPW) vs. OLE2 (used by VFP) issue.
Any suggestions on how to deal with this problem?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement