>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
...
oWord.selection.goto(..)
endwith
oWord = createobject("word.basic")
See a few basic examples at "KB\FAQ\Win32api" section.
Cetin