>I haven't tried it but I'm not sure it would work with 10 - 20 instances of the ole Browser on one form. I guess I could try it.
Why 10 or 20? One, to show the html created in "This form is then converted to HTML".
>>Why can't you use Web Browser control on the main form to display HTML?
>>
>>>Sorry, didn't include the details.
>>>I have a form with 10 to 20 edit boxes the user can edit as desired. This form is then converted to HTML and uploaded to a web server to be shown as a web page.
>>>I now want to allow the user to edit HTML within the edit box. For that I tried using the ole Browser control but can't get it to work on my main form. Sergey suggested it would be very hard to get such a thing to work with such a complex form and with many ole Browser controls on the same form and after spending many hours banging my head against the wall I agree. I can easily get a single ole Browser control to work in a form so I now want to do that and capture the HTML from the ole Browser control as an image that I can then display in place of the edit box/ole Browser on the main form. The user would then see the main form as it would look on the web.
>>>
>>>What I am looking for is a way to capture the contents of the ole Browser control HTML as an image. I have code to capture a rectangle on the screen and save it as a .png, .jpg etc. but I know I saw somewhere a demo of doing that where the HTML itself was rendered as an image file. That would work much better in that I would not have to worry about the scroll bar or if the entire image was visible in the browser control.
>>>
>>>Thanks.