Hi,
i have a webbrowser control inside a form and want to set thesize of the form to thesize of the webbrowser control document (unfortunately there is no AutoSize property for a webbrowser control).
If i use this.webBrwoser.Document.Window.Size.Height in the DocumentCompleted event handler i always get the preset height of the control from the properties windows in VS 2008 Designer.
Is there something other i have to consider?
thanks