Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Regsvr32 failed & Interface not registered

Avatar of lucki_luke
lucki_lukeFlag for Germany asked on
Windows XP
6 Comments1 Solution1645 ViewsLast Modified:
Hello all,

I hope this is the correct area for this. Well, I've encountered a strange problem.
I wrote a program that automates Internet Explorer and everything works fine at my computer. When I gave it to a friend, it failed. I had no idea why this would happen. Then today the same thing happened to me. The reason why it fails, is that I get the error "Interface not registered" when using the IHTMLDocument3 and IHTMLElement. However, I used previously the IHTMLElement and IHTMLDocument2 Interface before.
But this only happens since today and on my laptop it works just fine.

I also notice that trying to register shdocvw.dll and mshtml.dll via regsvr32 fails on my desktop, whereas on my laptop it works. Today I uninstalled a number of programs but could this be connected?

I hope you can help me, and please feel free to ask for any more details! I guess it has to do something with Windows since on one machine it works, but on the other it doesn't. And both run the same Windows XP SP2.

Avatar of sramesh2k
sramesh2kFlag of India image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 6 Comments.
See Answers