Error printing from VB.NET in Word 2002

S

Santi

Hi,
I have a problem when I try to print a Word Document from VB.NET in Word
2002. The instruction that I execute is the next:
.........ActiveDocument.PrintOut(Background:=True, Copies:=1)

When I execute the same instruction in Word 2003 it doesn't fail. Can
anybody help me????

Thanks,
 
P

Perry

Y've let a very important item away in yr snippet:
........ActiveDocument.PrintOut(Background:=True, Copies:=1)

Where is yr Word application object variable and how is this instantiated ??
Could make a difference ...

Still wondering why it executes onder wd 2K2 and not under wd 2K3

Krgrds,
Perry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top