Solved

How to disable scrollbar in WebBrowser control ?

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now