Solved

How to disable scrollbar in WebBrowser control ?

Posted on 2001-06-02
4
571 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

730 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