Using MSHTML in our application.

  • Thread starter Thread starter Sujoan
  • Start date Start date
S

Sujoan

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.
 
As I understood you forgot to add references to that dll's. Place them
in project's folder is not enough.
 
Back
Top