By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,940 Members | 1,328 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,940 IT Pros & Developers. It's quick & easy.

wm_print in

P: n/a
I am trying to build a little application that uses mshtml to load an html
page and creates an image out of it. I was looking on line and I saw some
examples of using C#. They were suggesting using wm_print and wm_paint,
however I cannot figure out how to make this work in

I found the following areticle on;en-us;230502

However it is for VB6, and cannot figure out how to make it work for
Any suggestions?
My current code for loading the HTML page using mshtml is:

Dim objMSHTML As New mshtml.HTMLDocument()

Dim objDocument As mshtml.IHTMLDocument2

Dim ips As IPersistStreamInit

ips = DirectCast(objMSHTML, IPersistStreamInit)


objDocument = objMSHTML.createDocumentFromUrl("",

Do Until objDocument.readyState = "complete"



Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.