English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i am auto printing a screen using vb. i dont want the print dialog box to appear. the page should just print to default printer. alternatively if i could use "sendkeys" to dialog box this would be okay but vb code waits for a reply to the print dialog box..

2007-03-23 03:11:49 · 1 answers · asked by Dickle Von Schtroodlegump 2 in Computers & Internet Programming & Design

Visual Basic 6.3 - i am auto printing a screen using vb. i dont want the print dialog box to appear. the page should just print to default printer. alternatively if i could use "sendkeys" to dialog box this would be okay but vb code waits for a reply to the print dialog box.. The line I am getting an error on is: application.activedocument.print - it jumps to the error handler. I have also tried application.activedocument.printform - Note: The application is being made using a process control system which uses VB 6.3 for the GUI, it may be a scaled down version of VB 6.3

2007-03-25 22:19:47 · update #1

1 answers

What method are you using and which version of VB?

VB6 should go straight to default printer if you just use the

"Printer.Print" method.

2007-03-23 03:31:58 · answer #1 · answered by rod 6 · 0 0

fedest.com, questions and answers