>>There are a few articles in the MS Knowledge base. Go there and search OLE
>Automation
Good idea. I've searched VB.hlp and particular .hlp files for Word and
Excel, but to no avail. The only effect it has is to make me feel like
an idiot - when they say OLE, they mean inserted OLE object, or getting
an object from another app. It offers GetObject and CreateObject, but
doesn't say a word of calling host's methods.
>Brett
>If you have Word 97 you can do the following to get a list of all
>objects in word.
>1 start word
>2 select tools from menu
>3 select macro
>4 select visual basic editor
>5 from menu select view
>6 select object browser
This still doesn't give me full hierarchy as seen from my wordapp
object. I'm still having trouble trying to send Unicode from VFP into
Word97 and/or Excel97. Making an Unicode string from VFP and sending it
will get misinterpreted in ow.insert, so I send just simple strings, and
have written macros for both Word and Excel which do what I need, but I
have to run them manually (i.e. I had to put them into a menu or a
toolbar and click there). What's the proper syntax for running a macro
on a OLE object? I do this:
ow=createobj("word.basic")
ow.fileopen("kosta.err")
ow.appshow()
There's a macro to_uni() in normal.dot I want to run after doing the
inserts. How do I run it?