Avatar of wfuller6

asked on 

Using a webbrowser control in VB6, how do I resize parent form to fit html contents and visa-vis?

I have a VB6 app that uses the webbrowser control.  When the user logs into a web site with this control a datagrid is displayed as part of the html web page. I want to initially resize my form containing the webbrowser to the same dimensions as the datagrid.  How can I do this?

Also, after initial display of the form  I want to be able to use the mouse to resize my form and thus cause the datagrid to resize. Is this possible?  How can I do this?
Visual Basic Classic

Avatar of undefined
Last Comment

8/22/2022 - Mon