473,396 Members | 1,967 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Printing Word 2000

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...
Nov 21 '05 #1
1 951
You might to make a copy of the original document, make the changes and then
go into Print Preview.

Alternatively, why don't you simply have the extra text in the document all
the time?

--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org

"Raju Joseph" <vz******@msn.com> wrote in message
news:e2**************@TK2MSFTNGP10.phx.gbl...
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...


Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Raju Joseph | last post by:
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...
4
by: Jeff Harbin | last post by:
I've got an ACCESS 2000 application that I'm developing. One of the outputs of this app will be to generate a series of 'jobs' which corresponds to a record in the database. Each record will be...
4
by: scorpion53061 | last post by:
I have my Word document being created in a seperate thread. THe applicaiton is not visible. The end user can choose to view the document upon completion or just have it print. Viewing is...
1
by: Raju Joseph | last post by:
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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.