I will be calling this from a program and my understanding is that
when you use the viewer it automatically opens the document in
another window. I want to be able to have it as part of the window I
already have open.
Alright, well, if you have the time to do it, then.
Without having MS Word present, you won't be able to use Word's API to
create a document programmatically or to read the document using the
API Microsoft gives. I don't believe that the API would be exposed by
the free Word Reader, either. And it'd seem that even so, Word opens
the document in its own window when you ask it to open it.
So, you'll have to implement a class library to open and view the Word
document.
There is a decent amount of code under GPL and LGPL that you can study
for your implementation of a Word document reading library. It will
likely take you a while. OpenOffice.org is available under the terms
of the LGPL, so you can probably port its Word file handling code to
your C# code base and use that. Then you'll need to render it.
--- Mike
--
My sigfile ran away and is on hiatus.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEAREDAAYFAkj4yZgACgkQ0kE/IBnFmjDpAACeMdce9Fi4FGFoZ2i/c242H+dE
j5IAnisWtua0+TjlvVR+P7+jgJiNtdVx
=1bbw
-----END PGP SIGNATURE-----