Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to disable scrollbar in WebBrowser control ?

Posted on 2001-06-02
4
Medium Priority
?
596 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 80 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

636 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