VB6: Web Browser Control run-time error "-2"
Posted on 2009-05-04
I am using a Web Browser control in a VB6 program, and I am consistently getting a Run-time error -2 when I attempt to click on certain web pages. The behavior is consistent: I am in a page that I've navigated to by typing in the address, and then I click on an item inside the browser to redirect myself, and the error shows up. I am able to switch to the site when using Internet Explorer, which tells me that the site I'm attempting does exist. I am flustered by this error, and have been trying to solve it all day. I'm hoping one of you has encountered the same problem and come up with a solution. Thanks, ~Peter Ferber