printing WebBrowser Control

I have used the Web Browser control in my app and now I want to print the web screens.
When I try to print the form that the control is attached to all I get is the control.

Any suggestions ??
jimbo1Asked:
Who is Participating?
 
clifABBCommented:
Use this code:
Private Sub Command1_Click()
  WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DODEFAULT
End Sub

0
 
wfordCommented:
Just to help, ClifABB passed this referance on to me, and I think you may find it helpful
 
http://www.microsoft.com/msdn/sdk/inetsdk/help/itt/IEProg/WB/Objects/WebBrowser.htm#WebBrowser

It is basicly the help file for the webbrowser object including ExecWB
0
 
jimbo1Author Commented:
Thanks so much clifabb. I bumped up the points for your rapid response.
20 minutes and I had my answer !!!!

Thanks again.

Thank you also to wford for your comment.

0
 
clifABBCommented:
And thank you for the added points.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.