Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Incorrect Page Size for Embedded Word Docs
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Incorrect Page Size for Embedded Word Docs
Divers
Thread ID:
01420243
Message ID:
01420243
Vues:
112
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
Fil
Voir

Click here to load this message in the networking platform