Word 2007 Hosted inside my application

  • Thread starter Thread starter Lance
  • Start date Start date
L

Lance

Hi,

I've tried hosting word inside my application (by adding a Web Browser
control and using Navigate() to my document - apparently the recommended
method - after setting appropriate registry keys to turn off the default
opening in its own window).

I've found several problems however.

1. The Ribbon sometimes disappears - seems related to when I switch between
other applications and my application - once it disappears, its gone, no
coming back. Note I'm not talking about how it shrinks like when you double
click e.g. Home, Insert, etc, I mean the whole ribbon and the menu headers
are gone - just the QAT left. Ctrl-F1 doesn't help.

2. The office 2003 shortcut keys (e.g. alt-A,I,B to insert row below in
table) all stop functioning - as though word doesn't know I'm pressing them.

3. Sometimes if I switch to an external word document, then back to my
hosted application, the hosted application's Word Ribbon freezes and doesn't
respond to mouse clicks - but I can still type into the document and use
right click etc.

I tried searching this forum, but oddly the Search is presently returning 0
results for anything I try and search for.

Also, I considered hosting word using DSOFramer but apparently that is not
recommended any more or even available?

Anyone been down this path before and have comments?
 
Hello Lance
I've tried hosting word inside my application (by adding a Web Browser
control and using Navigate() to my document - apparently the recommended
method - after setting appropriate registry keys to turn off the default
opening in its own window).
[..]

you've hit a general purpose Word newsgroups.

You'll have a much better chance of getting an answer in one of the
dev/VBA newsgroups [1], or maybe in the ISV/VBA forum [2].

HTH
Robert
[1]
http://www.microsoft.com/office/com...crosoft.public.word.vba.general&lang=en&cr=US
[2]
http://social.msdn.microsoft.com/Forums/en-US/isvvba/threads/
 
Back
Top