Reputation: 4663
I try to navigate internet explorer using this
SHDocVw.InternetExplorer IE = new SHDocVw.InternetExplorer();
IE.Visible = false;
IE.Navigate("www.testsite.com");
However, I get this error;
How can I fix that issue ?
Upvotes: 0
Views: 478
Reputation: 965
It seems like you didn't add the right reference in order to use SHDocVw
.
Try to add Microsoft Internet Controls
reference (in the COM tab), and then you can include SHDOcVw
in your class.
Upvotes: 1