Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to display a word document Inside a word ole object

55 views
Skip to first unread message

Patricia C

unread,
Sep 1, 2009, 4:34:40 PM9/1/09
to
Hi,

I'm trying something I think would be very simple and that is to open a word
document inside a window having the "Microsoft Word Document" OLE control.

When I try: ll_rc = ole_1.Open(ls_File)

My document isn't opened and ll_rc = 0. I'm not sure where else to look, of
what else I need to do.

Can anybody help? I do not want to launch word, I just want to open the file
display only inside window.

Thanks very much in advance.
Patricia
---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp

Chris Werner

unread,
Sep 2, 2009, 5:50:02 AM9/2/09
to
Hi Patricia,

same answer, try

ll_rc = ole_1.insertFile("c:\TestManuscriptEnd.doc")

HTH

Chris Werner
f+s software gmbh


"Patricia C" <Patr...@flee.com> schrieb im Newsbeitrag
news:4a9d8560@forums-1-dub...

Ludovic

unread,
Sep 7, 2009, 3:11:34 AM9/7/09
to
Hello,

I have had the same problem with Patricia and it works fine
now.
My next issue is how to save the document opened in the OLE
since the menu Save ain't activated. (I'm using the Word
2k7)

dennisl

unread,
Sep 14, 2009, 2:16:16 PM9/14/09
to
Here is what we do to save:
la_SaveError = iole_letter.ActiveDocument.SaveAs(ls_Dir +
ls_File + ".doc") HTH
0 new messages