Docking Word Into C#

  • Thread starter Thread starter MartinABeck
  • Start date Start date
M

MartinABeck

Is it possible to dock Word right into a C# program? I am in need of
something like what is described here -->
http://support.microsoft.com/?id=304662 but I need the whole Word
application within the program (specifically so that the File Menu Bar
is shown). Is there anything out there that can dock separate programs
within a C# application?

Thanks in advance for the help.
 
You can try setting the parent of the application window to your
application. However, you can have some nasty side effects as a result.
I've never seen applications that work like this do it very well.

Is there another approach you can take?
 
Is it possible to dock Word right into a C# program? I am in need of
something like what is described here -->
http://support.microsoft.com/?id=304662 but I need the whole Word
application within the program (specifically so that the File Menu Bar
is shown). Is there anything out there that can dock separate programs
within a C# application?

Use an activeX container. There's one in msdn called DSOFramer. I don't
have a link to the msdn location, but I did save the (inactive) community
improvement site's address. The control's written in C(++?), with a vb6 demo
app. Using the vb update tool as a base I was able to get it working in an
afternoon. IT provided full support to word, and ~95% coverage of Excel
(track changes was broken, maybe a few other things as well).

http://www.gotdotnet.com/Workspaces/Workspace.aspx?id=22fdaf91-8214-4242-9e47-4d8dac5aab14
 
Dan,

This is precisely what we are looking for! Thank you so much for
bringing this to our attention. We were successfully able to bring
Word into our C# application.

Thanks again,

Rob K
 
Back
Top