troubleshooting Question

How to scale embedded WebBrowser in Form

Avatar of pikarde822
pikarde822 asked on
Web BrowsersVisual Basic.NETWeb Components
2 Comments1 Solution3377 ViewsLast Modified:

I'm using Visual Studio 2005.
Language: VB
I have a form with an embedded webbrowser control.
"Microsoft Internet Controls" V 1.1 COM object

it's working fine, no problems.
I'd like to scale the view, so it doesnt take up soo much space on the form.
Reducing font is not a desired solution.
I need to shrink to about 1/4 of the original size.

I used the .Scale method available in the control, but all it does is scale the window, not the content.

     WbrBrowser2.Scale(0.5, 0.5)
     WbrBrowser2.Location = New System.Drawing.Point(200, 100)

I need to scale the content. Anyone got an idea?

By the way, in case you are wondering why I am using a COM component. It allows me to easily read the DOM and manipulate elements in it, e.g. fill in textboxes with values and clicking submit-buttons.

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros