Printing a word file

bfsog

Well-known member
Joined
Apr 21, 2005
Messages
50
Location
UK
Programming Experience
5-10
Hi guys. Is it possible to print a word file (.doc) using VB.NET?

The file does not have to be opened on the form.

Preferably the file will print on a button_click event.

Thanks in advance
 
Just asking... by doing Project > Add Reference > Microsoft Word xx.0 Object Library, will the library be automatically included upon compilation/build?

Let's say, we want to run the app on another PC that might not have MS Word installed.

Sorry for interrupting...
 
I've never tried to do what's mentioned when the target machine does not have the required Office app installed, but just be aware that you cannot legally distribute the run time for an Office app unless you have a licence to do so.
 
Back
Top