![]() |
Printing page displayed in WebControl |
Post Reply ![]() |
Author | |
Neil ![]() Groupie ![]() Joined: 16 December 2007 Status: Offline Points: 40 |
![]() ![]() ![]() ![]() ![]() Posted: 21 February 2008 at 10:05am |
Does anyone know how to print (and ideally print preview), a page displayed in the WebBrowser control?
I am using VB6. Some sample code will be helpful |
|
![]() |
|
joeliner ![]() Senior Member ![]() ![]() Joined: 09 June 2006 Status: Offline Points: 273 |
![]() ![]() ![]() ![]() ![]() |
Try this,
print preview brwWebBrowser.ExecWB OLECMDID_PRINTPREVIEW, OLECMDEXECOPT_PROMPTUSER, 0, 0 brwWebBrowser.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, 0, 0 regards |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |