Solved

How to disable scrollbar in WebBrowser control ?

Posted on 2001-06-02
4
579 Views
Last Modified: 2007-12-19
How to disable scrollbar in WebBrowser control ?
0
Comment
Question by:j_script
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 6

Accepted Solution

by:
kahlean earned 20 total points
ID: 6149802
This code might help

Private Sub FormLoad()
  ShowGif WebBrowser1, "c:\windows\test.gif"
End Sub

Sub ShowGif(wb As WebBrowser, GifFile As String)
  wb.Navigate "about:<html><body scroll='no'><img src='" & GifFile & "'></img></body></html>"
End Sub
0
 

Author Comment

by:j_script
ID: 6149823
I have tried "scroll=no", and it hides the scrollbar.
But the thing is if I highlighted the contents and
move my mouse to left/right, then the page would move
accordingly.

What I want is to fix the position of the page.
Is that possible ?
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7132837
Hi j_script,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will suggest to:

    Accept kahlean's comment(s) as an answer.

j_script, if you think your question was not answered at all or if you need help, you can simply post a new comment here.  Community Support moderators will follow up.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 1

Expert Comment

by:Computer101
ID: 7167859
Comment from expert accepted as answer

Computer101
E-E Moderator
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

689 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question