Two or more olecontainers

R

Roland Leisch

Hello!

I have encountered the following (strange) behavior: I wrote a little
application which contains an ole container. I open an existing Word
Document in this container and display it - no problem!

But if I start my application twice I am not able to use commandbars
(for example to change Zoom, accass File Menu,...) in the first created
instance any longer (but I can write text in the document). In the
second instance everything works fine! If I open a third instance of my
application only this one allows input via commandbars and so on!
Furthermore there is no difference if the ole containers contain the
same file or different files.

Anyone got an idea what the problem could be?

Im using WordXP and a Java-COM Bridge.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top