How to predefine location of scrollbar in Form1.WebBrowser1.Navigate?

Joined
Jun 30, 2005
Messages
59
Reaction score
0
Hi all i wonder how i can specify and predefine the location of scrollbar when using Form1.WebBrowser1.Navigate in vb6 form. I want for example when the form loads the scroll bar is at the location shown in pic . Thanks

Code:
Private Sub Form_Load()
Form1.WebBrowser1.Navigate "[url="http://www.cnn.com"]http://www.cnn.com[/url]"
Form1.Show
End Sub




scrolbasposition.jpg
 

Ian

Administrator
Joined
Feb 23, 2002
Messages
19,873
Reaction score
1,499
I'm not sure the correct way, but could you use the sendkeys command to press the down button a few times to quickly scroll down to the correct place?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top