Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Commands in OLE Automation
Message
De
18/03/1998 12:32:34
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00085325
Message ID:
00085394
Vues:
27
>Does anyone know where I can get a list of Word Visual Basic commands that will work in Visual Foxpro 5.0 after establishing an OLE Automation connection with CreateObject()? Since I don't have Word 6, which would give me the WRDBASIC.HLP file, and the Visual Basic Help file in Word 97 is of little use, I'm kind of stumped.
>
>Thanks in advance,
>
>Ben Holton
Ben,
Some of word.basic commands behave differently in Word97 and if you have Word97 then you would better use word.application and vb help for 97. In that you could use word.basic also :
oWord.createobject("Word.application")
with oWord.wordbasic
...                     && Commands that still work as in wrdbasic.hlp
oWord.selection.goto(..) && Word97 commands
endwith

* Or just instantiate and use word.basic
oWord = createobject("word.basic")
See a few basic examples at "KB\FAQ\Win32api" section.
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