Jump to content
Xtreme .Net Talk

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


Recommended Posts

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...