|
-
Jan 7th, 2007, 02:45 PM
#1
Thread Starter
Addicted Member
[2005] How To Scroll To Bottom Of Web Browser Control?
Hello, I am working on a project that uses the web browser control. It is a quick chat / im program using html. I made it all secure and encrypted and it is nearly finished but for a few things. One thing that it needs is scrolling to the bottom of the document when it refreshes. How do you make a web browser scroll all the way to the bottom?
Thanks
-
Jan 7th, 2007, 06:54 PM
#2
Re: [2005] How To Scroll To Bottom Of Web Browser Control?
 Originally Posted by GedOfEarthsea
Hello, I am working on a project that uses the web browser control. It is a quick chat / im program using html. I made it all secure and encrypted and it is nearly finished but for a few things. One thing that it needs is scrolling to the bottom of the document when it refreshes. How do you make a web browser scroll all the way to the bottom?
Thanks
Hi,
Here's a link how to use scrollbars with a webbrowser;
http://msdn2.microsoft.com/en-us/lib...ed(VS.80).aspx
Hope it helps,
sparrow1
-
Jan 10th, 2007, 03:40 PM
#3
Thread Starter
Addicted Member
Re: [2005] How To Scroll To Bottom Of Web Browser Control?
 Originally Posted by sparrow1
VB Code:
'Visual Basic (Declaration)
Public Property ScrollBarsEnabled As Boolean
'Visual Basic (Usage)
Dim instance As WebBrowser
Dim value As Boolean
value = instance.ScrollBarsEnabled
instance.ScrollBarsEnabled = value
I don't really understand this code. I think it just enables the scrollbars to the web browser. I have already done that, and that Public Property gives me an error.
I did, however find this:
VB Code:
Webbrowser.Document.Window.ScrollTo(0, 100000)
I just use that when the message is sent it works fairly well, but it does not scroll all the way to the bottom for some reason.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|