TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Massimo
NA
155
0
Cannot convert type 'System.Windows.Forms.HtmlDocument' to 'mshtml.HTMLDocument'
Jul 10 2009 12:21 PM
Hi forum!
i have a problem with this code :
private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
{
HTMLDocument doc = new HTMLDocumentClass();
doc = (HTMLDocument) webBrowser1.Document;
}
in second line doc = (HTMLDocument) webBrowser1.Document the VS tell me : "Cannot convert type 'System.Windows.Forms.HtmlDocument' to 'mshtml.HTMLDocument'"
Can you help me?
Thanks
Massimo
Reply
Answers (
1
)
XML DataTable Concurrent Access
WinForm on diffenet screen resolution