How to cast a Windows.Forms.HTMLElement to mshtml.HTMLLinkElement

caeanis

Freshman
Joined
Sep 6, 2006
Messages
40
I am using the .Net WebBrowser and want to programmatically click on a particular link. I know I can do this with mshtml link element using the click property but not with a regular htmlelemnt from Windows.Forms. (I wonder why they made so few html object in windows forms and so feature poor, they are almost not worth bothering with). I know that I may be able to do a cast to accomplish this but not sure how to go about it. Any suggestions?

Caeanis
Es bonita la venganza cuando el dios la conceda
 
Back
Top