Webbrowser1 document.click +vs2005
I have been trying for a few days to get a click event to work on my htmldocument but with no luck. Looked at many examples on the net but no help there. I can get it to work in C# but not VB.
This is the code I have at present
Dim That is as far as I have got. I don't know how to handle the click event. Do I need to make a sub to handle that or what? Ok I've just worked it out but I'll post anyway because it annoyed me so much that it might help other people 'Do something here!
doc = WebBrowser1.Document
AddHandler doc.Click,AddressOf doc_click

