"ReidarT" <re****@eivon.no> schrieb:
I have a windows project with an activeX web-browser.
This works fine, but I can't get rid of the borderline on the activeX
component.
The border is a property of the page displayed in the control. You can
remove it by handling the 'DocumentComplete' event and setting the
document's border to "none".
\\\
Imports AxSHDocVw
..
..
..
Private Sub AxWebBrowser2_DocumentComplete( _
ByVal sender As Object, _
ByVal e As DWebBrowserEvents2_DocumentCompleteEvent _
) Handles AxWebBrowser2.DocumentComplete
Me.AxWebBrowser2.Document.body.style.border = "none"
End Sub
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>