M
Martin Roy
Hi,
I already made a small application that open a word document, assigner
document variables and print result, all in background without showing the
application (visible=false)
When not using print dialog (using PrintOut method), word print the document
fine and not showing application but if I use print dialog using this method
:
PrntDlg = word.dialogs.Item(88);
PrntDlg.Show().
After pressing OK in the dialog, word become visible to print the document.
I want to prevent this to happens. If I add visible=false after the show
method, the application flash quickly but I don't want ANY flash or
application visibility.
So here's my question, is it possible to print document from print dialog
without showing the application. I also tried to minimize application
(WindowState = 2) but it seems that application must be visible for this
properties to works.
Thanks for your help
Martin Roy
(e-mail address removed)
I already made a small application that open a word document, assigner
document variables and print result, all in background without showing the
application (visible=false)
When not using print dialog (using PrintOut method), word print the document
fine and not showing application but if I use print dialog using this method
:
PrntDlg = word.dialogs.Item(88);
PrntDlg.Show().
After pressing OK in the dialog, word become visible to print the document.
I want to prevent this to happens. If I add visible=false after the show
method, the application flash quickly but I don't want ANY flash or
application visibility.
So here's my question, is it possible to print document from print dialog
without showing the application. I also tried to minimize application
(WindowState = 2) but it seems that application must be visible for this
properties to works.
Thanks for your help
Martin Roy
(e-mail address removed)