473,232 Members | 1,400 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,232 software developers and data experts.

Get IE frames properties

Hi,

I'm able to get the url of the document but how do I get the url of one of
it's frame.

It thought it would be something like this but it doesn't work...
lblOstUrl.Text = ieForAutomation.frames(0).name

Consider this code that populates a label with the url of a document (on a
click event). What can I do to get the url of one of it's frame.

'##############
Protected WithEvents ieForAutomation As SHDocVw.InternetExplorer

Private Sub HDT_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim c_strOstUrl As String = "www.microsoft.com"

If ieForAutomation Is Nothing Then
ieForAutomation = New SHDocVw.InternetExplorer
End If

ieForAutomation.Visible = True
ieForAutomation.Navigate(c_strOstUrl)
End Sub

Private Sub lnkOstUrl_LinkClicked(ByVal sender As System.Object, ByVal e
As System.Windows.Forms.LinkLabelLinkClickedEventArgs ) Handles
lnkOstUrl.LinkClicked

lblOstUrl.Text = ieForAutomation.LocationURL.ToString

End Sub
'##############

Any help would be really appreciated. Thx
Francois
Jul 21 '05 #1
0 868

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

Similar topics

2
by: LagWagon | last post by:
hi, I have a page whith frames where y load other pages in. If these other pages are in my computer y can read/write with javascritp in their properties like name, location, href etc. but when y...
14
by: x | last post by:
Greetings everyone: I am trying to get CSS to work with a framed web page, but I cannot. Does anyone know the syntax required in a CSS specification to specify attributes of the frames? ...
2
by: kyle | last post by:
I'm sure this question has been asked many times, but I cannot find an answer that will help me do what I need to do. I have a site with 2 frames -- 'top' and 'main'. 'top' is a navigation /...
5
by: William Krick | last post by:
I did a little searching for javascript code that will make a page "jump out" of frames when the page is loaded. There seems to be many, many ways to do this and I've added the ones I found to the...
7
by: millhauser | last post by:
I built my portfolio with Dreamweaver MX. In the bottom frame, I have thumbnails of images. When you click on a thumbnail, it is supposed to load the full size image in a targeted part of the top...
0
by: Dan Nigro | last post by:
I am trying not to use frames in asp.net but this is my problem. I have an image viewer I am trying to developed. The top portion is the (next, previous page, zoom etc). The left side is and...
3
by: qwerty | last post by:
I´m new to ASP.Net. My workmate has some experience with it. He claimed that in ASP.Net working with frames is much simpler than it was ASP. I asked explanation but he couldn't give me such. (a...
8
by: UJ | last post by:
I've got a page where I want to have three frames or areas. On the left - two rows - on the right a single area. Thing is - on the right - I need to load a web page for preview use. From what...
6
by: August Karlstrom | last post by:
Hi everyone, I have some problems loading a page into a frame from a different frame. In Firefox and Explorer the lower frame displays "Test..." but in some older version of Safari it is left...
1
by: mbbonline | last post by:
Hi, I am new to javascript, can someone help to resolve the javascript issue: I am trying code outputString += '<a href="#" onclick="parent.frames.funn(true);return false"><img alt="Close"...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.