Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Editing in word object
Message
De
23/09/2006 16:45:25
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01156616
Message ID:
01156737
Vues:
23
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform