Groups | Blog | Home
all groups > c# > february 2006 >

c# : Using MSHTML in our application.


Sujoan
2/25/2006 11:22:34 PM
Hi all..
I generated SHDocVw.dll and MSHTML.dll using aximp and tlbimp
commands in the folder i created my application.But when i used it in
my application like
using SHDocVw;using MSHTML;
and tried to use the IHTMLDocument2 interface, Igot a error like this:
E:\Project X Semester\BHO\Sample Projects\Sample_BHO\BHO.cs(12): The
type or namespace name 'MSHTML' could not be found (are you missing a
using directive or an assembly reference?)

Pls help me in this regard..Only then i will be able to continue with
my project..

With Regards,
Sujoan.
Yury
2/25/2006 11:29:24 PM
As I understood you forgot to add references to that dll's. Place them
in project's folder is not enough.
AddThis Social Bookmark Button