I
Iain
I'm struggling to embed a word document in a winform application and access
the document object to automate it.
I've found http://support.microsoft.com/default.aspx?scid=KB;en-us;304662
But the code won't compile. There seems to be some conflict between the
Browser control and the SHDocVw bits.
I can get the document loaded OK, but the event mentioned in the KB article
does not seem to exist and I can find no way of getting at and binding the
instance of the document to a Word._Document object.
I can't find anything particularly useful through google and to make
matters worse, I'm using an x64 OS which may well be having issues with
64/32 bit widths (though I don't think I've got there yet).
So, simply put. In VS2005 I can load a word document in to a browser
window. How do I get teh Word Document object from it?
Iain
the document object to automate it.
I've found http://support.microsoft.com/default.aspx?scid=KB;en-us;304662
But the code won't compile. There seems to be some conflict between the
Browser control and the SHDocVw bits.
I can get the document loaded OK, but the event mentioned in the KB article
does not seem to exist and I can find no way of getting at and binding the
instance of the document to a Word._Document object.
I can't find anything particularly useful through google and to make
matters worse, I'm using an x64 OS which may well be having issues with
64/32 bit widths (though I don't think I've got there yet).
So, simply put. In VS2005 I can load a word document in to a browser
window. How do I get teh Word Document object from it?
Iain