AxSHDocVw.AxWebBrowser - Follow a link and other question

  • Thread starter Thread starter MPR
  • Start date Start date
M

MPR

Hi guys;

I'm using an AxSHDocVw.AxWebBrowser control to show a web page.

I need to know if i can ( and how? ) i do the following things:

1 - I need to follow 1 link in the webpage diplayed in the
AxSHDocVw.AxWebBrowser control.

2 - I need to input some data in a texto box on it


Thanks a lot!

MPR
 
Hi,

Open a new windows application project

In the toolbox rightclick and select add/Remove items

In the customize toolbox select Com and in that Microsoft Webbrowser

When that is in the toolbox drag it to your form
Drag also a button to your form.

Then this code and you have a mini Webbrowser.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Me.AxWebBrowser1.Navigate2("www.google.com")
End Sub


I hope this helps a little bit?

Cor
 
Actualy i'm displaying a web page with navigate2.

On the web page that is already in the axWebBrowser control, there are
severla links.
I want to follow one of them, like emulating a click.

Thanks
 

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

Back
Top