Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Editing in word object
Message
From
23/09/2006 16:45:25
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01156616
Message ID:
01156737
Views:
22
>Hi,
>
>I am using a word object in my form to edit documents saved ina General field.
>
>i use this to create my object
>Thisform.addobject('oWord',"OleBoundControl")
>Thisform.oWord.ControlSource = "tabletest.Remarque"
>
>I change the AutoActivate property to 1, so, when my object get the focus, it turn to editing mode.
>
>Is it possible to change properties like zoom, hide word's rulers or word's toolbar, ... ?
>
>Where can I find a good documentation on word automation (especialy, managing the word inetface like menus, toolbar, right-click...)
>
>Thanks

I'd second what Tore said, avoid general fields.
Second I suggest you to open the document in word's own window.
Third if you must show and edit in a VFP form then use a web browser control to host word.
Good documentation comes with office installation CD. If not installed install VBA help and check vbawrdNN.chm file in officeMM directory where NN and MM change with office version.
Also check hentzenwerke.com as Tore suggested.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform