Vibhu Bansal

I am developing a VB6 application having a Web Browser control named web1. A simple statement such as web1.navigate http://www.hotmail.com returns Runtime Error -2 (fffffffe).

I have IE7 installed on the computer. Application developed on a computer having IE6 installed does not give any such error even when its run in debug mode on computer with IE7. In both cases, OS is WinXP Pro.

I have already rectified the problem of ieframe.dll/1 and referenced it to shdocvw.dll

Please help.

Regards,

Vibhu Bansal.



Re: Internet Explorer Web Development Visual Basic 6 Runtime Error -2 (fffffffe)

Pawel from TETA

Hello,

I have the same problem with Web Browser control and IE7 under VB6

---------------------------
Microsoft Visual Basic
---------------------------
Run-time error '-1 (ffffffff)'
---------------------------
OK Help
---------------------------

I got it every time after second or 3-rd navigate or navigate2 to any url.

Does anyone knows any workaround

Regards,

Pawel






Re: Internet Explorer Web Development Visual Basic 6 Runtime Error -2 (fffffffe)

Vibhu Bansal

The problem doesn't show up if you create an application and run it. It happens only in debug mode..



Re: Internet Explorer Web Development Visual Basic 6 Runtime Error -2 (fffffffe)

Pawel from TETA

Yes, it's related with debug/exe mode but my app not always work in exe mode:

- On my home PC win2003EN+IE7+debug mode => error after 3rd execution of navigate2 method

- On my home PC win2003EN+IE7+EXE mode => NO ERROR

- On my home PC win2003EN+IE6+debug mode => NO ERROR

BUT

- On my customer server win2003FR+IE7+EXE mode => error after 2rd execution of navigate2 method !

- On my customer server win2003FR+IE6+EXE mode => NO ERROR

So, error is strictly related with IE7

For now, I uninstalled IE7 and await for patch/walkaround from Microsoft.

Regards - Pawel






Re: Internet Explorer Web Development Visual Basic 6 Runtime Error -2 (fffffffe)

QingLin

Sorry, Vibhu. I have a question for Pawel, but I could find his contact. Since this is the most recent thread he has visited... Thanks for your understanding. :)




Re: Internet Explorer Web Development Visual Basic 6 Runtime Error -2 (fffffffe)

Pawel from TETA

Hello Qing Lin,

There are 2 solutions for GDI+ problem:

1. Use new VS2005 instead of old 2003

2. The only workaround I know is manual double buffering: Create a temporary in-memory image, obtain a Graphics object for the temporary image, and draw temporary on the screen.

For now, I'm also very pesimistic about current problem from this thread: Problems with IE7

Probably we will have to wait for new "IE8 " like in example above..

Best Regards,

Pawel Pelc






Re: Internet Explorer Web Development Visual Basic 6 Runtime Error -2 (fffffffe)

QingLin

Thanks Pawel.

Since I am not moving to VS2005 recently, I have to go to the second solution. :)

I hope I could do something with IE7 problem. Unfortunately, I have not done anything like that in my life. :( Good luck with that.

Regards,

Qing Lin





Re: Internet Explorer Web Development Visual Basic 6 Runtime Error -2 (fffffffe)

yavuzg

Any news on this





Re: Internet Explorer Web Development Visual Basic 6 Runtime Error -2 (fffffffe)

zsc100

Hey, any workaround for this run-time error when trying to navigate a webbrowser control in VB6. I am using IE7 of course and I can't live without tabs. Help Please.

Thanks,

Zachary Carpenter






Re: Internet Explorer Web Development Visual Basic 6 Runtime Error -2 (fffffffe)

Pdlester

I hope someone can help!

Everytime I close IE7 I get this message -

Microsoft Viscual C++ Runtime Library

Program C:\program files\Internet Explorer\iexplore.exe

This program has requested the runtime to terminate it in an unusual way. Please contact the application representative.

I have know idead what this means.

I would appreciate any help.

Thanks.