How can I remove the scrollbars from a web browser control using VB6?
Handle the WebBrowser.DocumentComplete event:
Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, ByVal URL As Object)
WebBrowser1.Document.body.Scroll = "no"
End Sub
Try this
WebBrowser1.Document.body.setattribute "scroll", "no"
Source
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With