On Apr 09, 2006, at 7:52 AM, Jay Wooten wrote:
Here is a link to the Word VB example:
http://support.microsoft.com/default.aspx?scid=kb;en-us;220607
And a link to the Word VB reference library:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/
vbawd11/html/wohowCommunication_HV05210293.asp
We have converted the example document from VB to RB. If you would
like it email me off list.
One of the keys is that your RB app has to live in the Microsoft
Office->Office folder for Office Automation to work.
What we have done is to create a small windowless app that gets
installed into the Office folder. Our main app passes data via
AppleEvents to the app in the Office folder, which then performs
merges to Word, or creates a table etc. There are other options
too - put your app in the office folder, use applescript, craft a
document in RB then make its creator Word and then open it (which
will open word).
And, be aware that none of this works in Console applications.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>