MadalinV Posted February 9, 2013 Author Share Posted February 9, 2013 How do you disable scroll bars for a WebBrowser in Vb6? Link to comment Share on other sites More sharing options...
MadalinV Posted February 11, 2013 Author Share Posted February 11, 2013 Bump Link to comment Share on other sites More sharing options...
MadalinV Posted February 15, 2013 Author Share Posted February 15, 2013 Bump Link to comment Share on other sites More sharing options...
cheatking Posted February 15, 2013 Share Posted February 15, 2013 I assume you've looked at the properties menu? Link to comment Share on other sites More sharing options...
MadalinV Posted February 15, 2013 Author Share Posted February 15, 2013 > I assume you've looked at the properties menu?Yeah, and nothing that's releated to "scroll" is there…. Link to comment Share on other sites More sharing options...
cheatking Posted February 15, 2013 Share Posted February 15, 2013 Ah, I did a quick google and found tones of solutions, tried any of those? Link to comment Share on other sites More sharing options...
MadalinV Posted February 15, 2013 Author Share Posted February 15, 2013 > Ah, I did a quick google and found tones of solutions, tried any of those?Yeah, but i get line error for some i tried. Link to comment Share on other sites More sharing options...
cheatking Posted February 15, 2013 Share Posted February 15, 2013 > Yeah, but i get line error for some i tried.How about you post the code you tried here along with the error? Link to comment Share on other sites More sharing options...
MadalinV Posted February 15, 2013 Author Share Posted February 15, 2013 > How about you post the code you tried here along with the error?I tried this:```WebBrowser1.document.body.setattribute "scroll", "no"```(I changed WebBrowser1 to the name of the WebBrowser control.)And got error:> Run-time error '91':> > Object variable or With block variable not setAnd this:```Me.WebBrowser1.ScrollBarsEnabled = False```And got error:> Run-time error '438':> > Object doesn't support this property or method. Link to comment Share on other sites More sharing options...
MadalinV Posted February 23, 2013 Author Share Posted February 23, 2013 Guys, I still need this. Link to comment Share on other sites More sharing options...
Stach Posted February 25, 2013 Share Posted February 25, 2013 From what I've read, the WebBrowser control utilizes the Internet Explorer frame therefore in order to remove the scroll bars you'd have to do the same for IE. I've also read you can use HTML tags to remove the scroll bars inside the _Navigate_ method of the WebBrowser. Try giving that a shot and if that doesn't work I guess you are out of luck. Link to comment Share on other sites More sharing options...
MadalinV Posted February 25, 2013 Author Share Posted February 25, 2013 > From what I've read, the WebBrowser control utilizes the Internet Explorer frame therefore in order to remove the scroll bars you'd have to do the same for IE. I've also read you can use HTML tags to remove the scroll bars inside the _Navigate_ method of the WebBrowser. Try giving that a shot and if that doesn't work I guess you are out of luck.Maybe a tutorial? where do I put these tags, on the website, or in the code? and what code do i put and where? (I need this for Joyce's Fixed Updater) Link to comment Share on other sites More sharing options...
cheatking Posted February 25, 2013 Share Posted February 25, 2013 > Maybe a tutorial? where do I put these tags, on the website, or in the code? and what code do i put and where? (I need this for Joyce's Fixed Updater)On website try this css```html,body { overflow: hidden; }``` Link to comment Share on other sites More sharing options...
MadalinV Posted February 25, 2013 Author Share Posted February 25, 2013 Does this work if I put an image too? or I need to replace the WebBrowser with a Picture? Link to comment Share on other sites More sharing options...
cheatking Posted February 25, 2013 Share Posted February 25, 2013 > Does this work if I put an image too? or I need to replace the WebBrowser with a Picture?try it and see. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now