[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to disable scrollbar in WebBrowser control ?

Posted on 2001-06-02
4
Medium Priority
?
605 Views
Last Modified: 2007-12-19
How to disable scrollbar in WebBrowser control ?
0
Comment
Question by:j_script
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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…
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…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

834 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