printing image on web app

Hello everybody
I have my web Project about printing image

my project include WebHTMLViewer —> on Open Event I’m write Code : Me.LoadPage(" ")
WebButton ----> on Action Event I’m write Code : HTMLViewer1.Print

then I’m run myWeb app but not display images.jpg

thank you …

Don’t do that in the open event. The control hasn’t been rendered yet and you’ll either get a Javascript error or nothing. Move your code to the Shown event and it should work.