Hi Brian,
Do you mean when you navigate a webpage which is larger than the webbrowser
control, the scrollbar will be displayed?
I think the this is the default by design style(which is same with the
scroll bar in the IE window), what do you mean a normal looking scroll bar?
Can you attach a picture to show your intention?
BTW:
We can use the code below to hide the scrollbar.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Me.AxWebBrowser1.Navigate("www.google.com")
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Me.AxWebBrowser1.Document.body.scroll = "no"
Me.AxWebBrowser1.Document.body.style.border = "none"
End Sub
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.