R
Raju Joseph
Hi All,
I have a small problem at hand and am looking for suggestions.
I have created a wrapper for word 2000 for our application which is in
VB.NET 2003. Everything works fine in the sense that users are able to save
documents through our application using word 2000 as the editor. I have
written for word 2000 sothat the code works for other higher versions of
word.
Now, here is the part that I am trying to tackle. When a particular document
is sent to print, the application have to add certain information to the
header and footer of the document before sending it to printer. This is
working fine also since I have trapped the BeforePrint event.
The user wants to see the same information while clicking the PrintPreview
also. i.e.. Just as it would print.
I cannot modify the original document. The information added to the document
is only during Print. I have flagged the document as Saved and after
printing I am currently closing the document, so user does not save or alter
the contents.
Any suggestions as to how I can do it.
Thanks
Raj...
I have a small problem at hand and am looking for suggestions.
I have created a wrapper for word 2000 for our application which is in
VB.NET 2003. Everything works fine in the sense that users are able to save
documents through our application using word 2000 as the editor. I have
written for word 2000 sothat the code works for other higher versions of
word.
Now, here is the part that I am trying to tackle. When a particular document
is sent to print, the application have to add certain information to the
header and footer of the document before sending it to printer. This is
working fine also since I have trapped the BeforePrint event.
The user wants to see the same information while clicking the PrintPreview
also. i.e.. Just as it would print.
I cannot modify the original document. The information added to the document
is only during Print. I have flagged the document as Saved and after
printing I am currently closing the document, so user does not save or alter
the contents.
Any suggestions as to how I can do it.
Thanks
Raj...