'Method not found' with Web Browser Control in VB.Net app on non-development system

Hi all,

I wrote a VB.Net app that uses the COM Web Browser via Interop. It works fine on my development system (WinXP), but when I copy the program to another WinXP system, I get unhandled exceptions (Method not found) indicating that AxWebBrowser methods such as Navigate() cannot be found. I have verified that ShDocVw.dll is the same version as on my development system (6.0.2900.2518) so I'm stumped.

Any ideas?

PS: I have not used any fancy deployment tools, just copied the program and relevant files to the other system (I believe this is called xcopy deployment and is supposed to work).

Regards.
WoleTallAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
This kind of deployment is tricky when you work with COM interoperability, since those libraries cannot be copied that way.

Bob
0
WoleTallAuthor Commented:
Thanks to everyone that looked at my problem. I have solved the problem. It turns out that the AxInterop.SHDocVw.dll file that my application was referencing didn't have all the relevant methods defined (as discovered via ildasm.exe).

I can only presume that this dodgy version of AxInterop.SHDocVw.dll must have been created by TlbImp.exe from an old version of SHDocVw.dll. The version in the bin folder of my application was correct and copying that to the test system solved the problem.

Regards.
0
moduloCommented:
Closed, 250 points refunded.

modulo
Community Support Moderator
Experts Exchange
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
WoleTallAuthor Commented:
Much appreciated
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.