문제

I am trying to get a web page from a site, fill it and post it back and I am following this solution:

Open webbrowser, auto complete form components and submit

The problem is that I can not find a way to include mshtml reference to my application.

How can I add a reference to it to my application?

If I add a reference, do I need to ship it wioth my application or if the end user has suitable .net it should have it?

Is there any better way to post a form to a web site using webbrowser?

도움이 되었습니까?

해결책

Go to the References item in your solution explorer and select 'add reference'. Search through the 'Assemblies' tab until you find Microsoft.mshtml and add it.

After your build you can look into the bin folders to see which assemblies need to be explicitly shipped with your application.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top