S
SummitEMR
I have a browser control embedded in my application and I just want to print
the report it contains. Instead - it prints out a screen dump of the
browser (scroll bars and everything). How do I do this?
I have posted below where I've gotten so far. If you have lived through
this, I would greatly appreciate any help.
Thanks,
David
Object ob1 = null;
Object ob2 = null;
_ReportBrowser.ExecWB(SHDocVw.OLECMDID.OLECMDID_PRINT,SHDocVw.OLECMDEXECOPT.
OLECMDEXECOPT_PROMPTUSER,ref ob1,ref ob2);
BTW, I found a number of sample apps on the web: all use the same as above
and in testing - they work fine. I can't find any difference.
the report it contains. Instead - it prints out a screen dump of the
browser (scroll bars and everything). How do I do this?
I have posted below where I've gotten so far. If you have lived through
this, I would greatly appreciate any help.
Thanks,
David
Object ob1 = null;
Object ob2 = null;
_ReportBrowser.ExecWB(SHDocVw.OLECMDID.OLECMDID_PRINT,SHDocVw.OLECMDEXECOPT.
OLECMDEXECOPT_PROMPTUSER,ref ob1,ref ob2);
BTW, I found a number of sample apps on the web: all use the same as above
and in testing - they work fine. I can't find any difference.