|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
VB6 problem with IE7none of my VB6 projects which include web browsers work any more. I get an error log as follows:- Line 55: Class SHDocVwCtl.WebBrowser of control WebBrowser1 was not a loaded control class. Line 61: The property name ExtentX in WebBrowser1 is invalid. Line 62: The property name ExtentY in WebBrowser1 is invalid. Line 63: The property name ViewMode in WebBrowser1 is invalid. Line 64: The property name Offline in WebBrowser1 is invalid. Line 65: The property name Silent in WebBrowser1 is invalid. Line 66: The property name RegisterAsBrowser in WebBrowser1 is invalid. etc. Not particularly important in the project I was working on, but just take this as a warning in case you are tempted to install the IE7 beta. On the other hand, does anyone know how to get around this? Mike, Penrith, NSW, Australia On Thu, 2 Feb 2006 19:41:00 +1100, "Mike Simpson" <ag***@optushome.com.au> wrote: in <43e1c59c$0$5922$afc38***@news.optusnet.com.au> Show quoteHide quote >I installed the new Internet Explorer 7 beta on my PC today and find that Drum roll, please. Heeeeeeeeeeere it comes!>none of my VB6 projects which include web browsers work any more. > >I get an error log as follows:- > >Line 55: Class SHDocVwCtl.WebBrowser of control WebBrowser1 was not a loaded >control class. >Line 61: The property name ExtentX in WebBrowser1 is invalid. >Line 62: The property name ExtentY in WebBrowser1 is invalid. >Line 63: The property name ViewMode in WebBrowser1 is invalid. >Line 64: The property name Offline in WebBrowser1 is invalid. >Line 65: The property name Silent in WebBrowser1 is invalid. >Line 66: The property name RegisterAsBrowser in WebBrowser1 is invalid. >etc. > >Not particularly important in the project I was working on, but just take >this as a warning in case you are tempted to install the IE7 beta. > >On the other hand, does anyone know how to get around this? > >Mike, >Penrith, NSW, Australia > --- Stefan Berglund "Mike Simpson" <ag***@optushome.com.au> wrote in message I haven't played around with IE7 yet but.... locate the OCA file that news:43e1c59c$0$5922$afc38c87@news.optusnet.com.au... >I installed the new Internet Explorer 7 beta on my PC today and find that >none of my VB6 projects which include web browsers work any more. > > I get an error log as follows:- > > Line 55: Class SHDocVwCtl.WebBrowser of control WebBrowser1 was not a > loaded control class. belongs to the webbrowser control and delete it (if you have RegClean, run it). VB will re-create a new OCA file based on the new control when you open a project that contains a WebBrowser. Also, I always load the WebBrowser at runtime because it's a sloppy control. There have been several cases that I'd get errors similar to those you posted without changing IE or the project. Also, no matter what you do, if you open a form from inside VB that has a WebBrowser control, VB marks the form as "Dirty" and wants to save it before allowing you to run again. Loading the control at runtime eliminates this "feature" (and the errors you posted) because there's no propertybag to deal with (no design time settings). I just drop a frame on the form, set its backcolor = White, it's border = none. At that point, it looks like an empty webbrowser so I position/size it the way I want the WebBrowser to look. At runtime, load the WebBrowser control and set it's container = the white frame and you're set. -- Ken Halter - MS-MVP-VB - Please keep all discussions in the groups.. DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm Freeware 4 color Gradient Frame? http://www.vbsight.com/GradFrameCTL.htm
USB-Memorystick - serial number
Hpw to make a VB6 form appears and gets focus every 15 seconds Writing to .TXT file question Best way to extract a word from a sentence Do we have such a container control? Book for web dev with VS2005? Need help regarding the program... Please help me.. It's very Urgent MSComm application hangs - comEventRxOver Monthview control - run time 380 invalid property value Recordset to FlexGrid |
|||||||||||||||||||||||