| .NET DotNet Forum Index » VB.NET Forum (Visual Basic .NET) » Detecting clicks in WebBrowser Control... |
|
Page 1 of 1 |
|
| Author |
Message |
| Phill W.... |
Posted: Wed Oct 28, 2009 10:00 am |
|
|
|
Guest
|
Is it possible to intercept clicks (on links) in the
[System.Windows.Forms.]WebBrowser Control?
I'm toying with the idea of a cheap and cheerful "help file" system
taking an Xml File containing multiple "pages" and using an Xsl
Transformation to render a single page based on its "page number",
supplied as a parameter.
My problem is that, to provide links between pages, I'd need the "links"
to invoke a new /transformation/, rather than actually linking off
elsewhere.
Any ideas?
TIA,
Phill W. |
|
|
| Back to top |
|
|
|
| Michel Posseth [MCP]... |
Posted: Fri Oct 30, 2009 3:02 pm |
|
|
|
Guest
|
You can pretty easy subclass the webbrowser control
posted some code to do that many years agon on devx i guess it is still
valid http://www.freevbcode.com/ShowCode.Asp?ID=5635
regards
Michel
"Phill W." <p-.-a-.-w-a-r-d- at (no spam) -o-p-e-n-.-a-c-.-u-k> schreef in bericht
news:hc9prm$hgp$1 at (no spam) south.jnrs.ja.net...
Quote: Is it possible to intercept clicks (on links) in the
[System.Windows.Forms.]WebBrowser Control?
I'm toying with the idea of a cheap and cheerful "help file" system taking
an Xml File containing multiple "pages" and using an Xsl Transformation to
render a single page based on its "page number", supplied as a parameter.
My problem is that, to provide links between pages, I'd need the "links"
to invoke a new /transformation/, rather than actually linking off
elsewhere.
Any ideas?
TIA,
Phill W. |
|
|
| Back to top |
|
|
|
|