hi
I use this piece of code to remove the scroll bars from the browser
WebBrowser1.Document.body.Scroll = "no"
the problem is that if u manually refresh the browser the scroll bars re appear.
is there any way I can stop that from happening?
Printable View
hi
I use this piece of code to remove the scroll bars from the browser
WebBrowser1.Document.body.Scroll = "no"
the problem is that if u manually refresh the browser the scroll bars re appear.
is there any way I can stop that from happening?
Perhaps you should ask this in the Visual Basic forum. I'm sure there's some way you can detect when the control is loading a page and call the code to remove it again.
There's also ways to disable right click to prevent them from going to refresh in the first place.
Not really. Well, maybe in a browser control, but not in a real browser.
I thought that's what he was talking about. It looks like VB code for a WebBrowser control in his first post.Quote:
Originally posted by CornedBee
Not really. Well, maybe in a browser control, but not in a real browser.
Yes, I realized that too late.
Shaker: If I still had VB6, I could probably give a meatier example, but I'm sure a search could find an answer.