Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Bound Control and Word 2000
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
OLE Bound Control and Word 2000
Miscellaneous
Thread ID:
00270609
Message ID:
00270609
Views:
61
Anyone have any problems opening a Word document from an OLE Bound Control into Word 2000?

I have an OLE Bound Control on a form with a ControlSource of MyView.gMyFile. I have another control that calls the DoVerb method of the OLE Bound Control with a parameter of -2, so that the file is opened in it's own application window. When a Word document is opened, the document is opened in Word 2000, but the Paper Setup settings get all screwed up. For example: when I open a document, the document opens with two columns, and the page width is something like 3 inches!

BTW, if I open the original copy of the document outside of VFP, it opens just fine, of course.

Doug Stalter

"According to the proverb, the best things are the most difficult." -Plutarch
Next
Reply
Map
View

Click here to load this message in the networking platform