Dr Herbie wrote:
Has anybody ever managed to embed word in a .NET application? Our customer want to be able to view a mailmerge doc created by us in word, but then track whether the user printed it or not.
The only solution we can come up with is to create the document, somehow show it embedded in out app, and then fire off the print through our app (so we can tell it's been printed).
Anybody done anything like this before?
I found a few shareware ActiveX controls for embedding word viewers, anyone used anything like this?
Herbie
what about just using .net to call the word objects??
I had an office that used an Access app, I wrote a .net data importer for that app. it did more than just fire access queries. it ran access in an non-visual window and ran access macros that fired off stored access queries and did other stuff.
I think you can open the word objects and have it print / run a mailmerge and report status of the job...
or you could use the VS tools for office to have a .net dll run inside word to do stuff.