IE ActiveX control usage

S

S.Kartikeyan

Hello,

I have an activex control in a windows form.
When i load a document url in the activex control
and when the user clicks some other url within the active control html document
i want to know the url where he is going.

how can i do it.

kartik
 
D

Daniel Bass

You'll need to know when the control is clicked, then check that control for
the URL it currently points to. But only if the ActiveX control exposes this
functionality... if it doesn't, you can't find out.

hope that helps.

Dan.

Hello,

I have an activex control in a windows form.
When i load a document url in the activex control
and when the user clicks some other url within the active control html
document
i want to know the url where he is going.

how can i do it.

kartik
 
N

Nicholas Paldino [.NET/C# MVP]

Katrik,

There is a BeforeNavigate event that is fired when the web control is
about to navigate to a different page. You can use this to get the URL that
is being navigated to.

Hope this helps.
 

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