I have my VB6 EXE project which runs perfectly when run in the
VB IDE (WinXP Pro SP2). So I compiled it (made the exe) and when I run that it starts OK. However when I try to open a page that has a web browser, I get a runtime error 339 "Component 'SHDOCVW.DLL' or one its dependencies not correctly registered: a file is missing or invalid".
I have tried some things to get rid of this problem. First of all Internet Explorer works perfectly. I tried "regsvr32 c:\WINDOWS\system32\shdocvw.dll" which gave me success. However this didn't get rid of the problem. So I tried to reinstall IE but that didn't help either. I even tried to reinstall SP2 but the problem is still there. So I am beginning to think the problem is with my project and not the machine.
Help anyone? Unfortunately my machine is the only one I have access to so I can't take my thing to another machine.
Cheers.