Using MSHTML in our application.

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.
 
Y

Yury

As I understood you forgot to add references to that dll's. Place them
in project's folder is not enough.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top