D
Dinesh Ahuja
I am facing a problem with office word automation API SetPrintbackground.I am
trying to print a word document through word automation and trying to call
this API as SetPrintBackground(FALSE).I am executing word application in
Background.Its not visible to the user.
I am facing following two problems
1. This API is throwing an exception incase of WinXP + Office 2007 and
Windows VISTA + Office 2007.This behavior is inconsistent. All other
combinations are working fine.
2. This API is used for Displaying the Printing dialog box while printing is
in Progress.
In all other cases where no exception is thrown, no matter whatever value is
set using this API "'TRUE" or "False", print dialog box is displayed while
printing is in progress.
Anyone can please tell me if they have faced any such problem and what is
the solution for this.
Thanks in Advance
Regards
Dinesh
trying to print a word document through word automation and trying to call
this API as SetPrintBackground(FALSE).I am executing word application in
Background.Its not visible to the user.
I am facing following two problems
1. This API is throwing an exception incase of WinXP + Office 2007 and
Windows VISTA + Office 2007.This behavior is inconsistent. All other
combinations are working fine.
2. This API is used for Displaying the Printing dialog box while printing is
in Progress.
In all other cases where no exception is thrown, no matter whatever value is
set using this API "'TRUE" or "False", print dialog box is displayed while
printing is in progress.
Anyone can please tell me if they have faced any such problem and what is
the solution for this.
Thanks in Advance
Regards
Dinesh