tags:

views:

168

answers:

2

How can I remove the scrollbars from a web browser control using VB6?

+1  A: 

Try this

WebBrowser1.Document.body.setattribute "scroll", "no"

Source

Shoban
+3  A: 

Handle the WebBrowser.DocumentComplete event:

Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, ByVal URL As Object)
        WebBrowser1.Document.body.Scroll = "no"
End Sub
C-Pound Guru