473,788 Members | 3,078 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

axWebBrowser control question

MPR
I'm displaying a web page with the navigate2 method of the axWebBrowser
control.

On the web page that is already in the axWebBrowser control, there are
severla links, like in any other web page.
I wanto to take one ot those links (programaticall y) follow that link, like
emulating a click over it.

Is it possible?
There's somethink like a link collection or somethink like that?

Thanks

MPR
Nov 21 '05 #1
1 1231
MPR,

I answered on this question on the original thread.
Please keep your questions in that, because so it is almost imposible to
answer questions, the link collection is in MSHTML a part of the
anchorelement <A....>

The frames (documents) of a page where I am talking about in the original
thread you can get by instance as

\\\\
Private Sub AxWebBrowser1_D ocumentComplete (ByVal sender As System.Object, _
ByVal e As AxSHDocVw.DWebB rowserEvents2_D ocumentComplete Event) Handles
AxWebBrowser1.D ocumentComplete
Dim eDocuments As New ArrayList
Try
Dim wb As SHDocVw.WebBrow ser = _
DirectCast(e.pD isp, SHDocVw.WebBrow ser)
eDocuments.Add( wb.Document)
Catch ex As Exception
Dim a As String = ex.Message
End Try
///

The rest of the text in the original thread.

Cor

I'm displaying a web page with the navigate2 method of the axWebBrowser
control.

On the web page that is already in the axWebBrowser control, there are
severla links, like in any other web page.
I wanto to take one ot those links (programaticall y) follow that link, like emulating a click over it.

Is it possible?
There's somethink like a link collection or somethink like that?

Thanks

MPR

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5094
by: antoine Veret | last post by:
Hi, is there changes on axWebBrowser with framework 1.1 ? events doesn't fire for this object. and an other question; how release memory for axWebBrowser object ? when i create those objects, iexplorer.exe grow up and do not reduce in size when i call the dispose method of my object. -- ZeD -------------- Epita promo 2005 zed@3ie.org ---- icq : 163250811
3
10207
by: Clint MacDonald | last post by:
I have used the AxWebBrowser in a Visual Basic Project... I found that both Framework 1.0 and 1.1 had to be installed for it to work properly. I now have found that in Studio 2003, that the probablem has come back even if both are installed. When I open a windows form that has the Browser on it and try to Navigate to a page using the OnEnter or OnLoad events, the page just sits there and does
3
3870
by: MPR | last post by:
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
2
1540
by: hplloyd | last post by:
Hi, My question is very simple I am sure but I cant seem to find a solution anywhere.... I have a windows form in C# and I have added an axWebBrowser control. When the form loads I am trying to display a web page in the control.... but I have tried Navigate and Navigate2 methods and whatever I try nothing is displayed... The code that I am using in the forms load event is
0
9655
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5398
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4069
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.