Page 1 of 2 12 LastLast
Results 1 to 40 of 49

Thread: IE7 has definately broken VB 6!

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Posts
    79

    IE7 has definately broken VB 6!

    Hi guys, thoughts here...

    We have a VB6 app and the browse control is definately shafted once IE7 is installed on the client. Anyone else having the problem.

    This is a pretty serious issue for anyone that develops in VB6. We are trying to find a workaround but several functions including refresh2 and refresh and so on are just not working...

    Views? Fixes?

    B

  2. #2
    PowerPoster
    Join Date
    May 2006
    Location
    Location, location!
    Posts
    2,673

    Re: IE7 has definately broken VB 6!

    Quote Originally Posted by Ballistix
    Anyone else having the problem?
    There's an easy way to find out...See the link marked "Search" with a down-arrow next to it? Try clicking it and putting "IE7" in the box that comes up. This is called "searching" and is a very good way to find out things
    Well, everyone else has been doing it :-)
    Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
    Expect more to come in future
    If I have helped you, RATE ME! :-)

    I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!

    And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Posts
    79

    Re: IE7 has definately broken VB 6!

    Great reply. Of course I have searched, do you think I'm some sort of idiot??

    [Removed by Mod] Anyone got anything sensible to say? This is a great forum and I'm not used to getting replies like this frankly.

    All the comments I have seen is for the beta. Not the full release which came out over the past 2 days.

    Regards,
    B
    Last edited by RobDog888; Oct 20th, 2006 at 10:22 AM.

  4. #4
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: IE7 has definately broken VB 6!

    Have you tried looking around the MSDN site and the MS blogs for information?

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  5. #5
    PowerPoster
    Join Date
    May 2006
    Location
    Location, location!
    Posts
    2,673

    Re: IE7 has definately broken VB 6!

    Did you mention that you had the full release? Does it make any difference? Didn't think so :-P
    Well, everyone else has been doing it :-)
    Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
    Expect more to come in future
    If I have helped you, RATE ME! :-)

    I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!

    And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.

  6. #6
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: IE7 has definately broken VB 6!

    Google for: "ie7 vb6 refresh refresh2"

    finds a very odd CHANNEL9 MS link...

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Posts
    79

    Re: IE7 has definately broken VB 6!

    Hi, yes, thanks for the reply. We've been over the web and can see things starting to surface about this but no solutions yet. I believe it's a big issue and anyone that has any products that use the IE browse control are going to be in trouble.

    Regards,

    Tony

  8. #8
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: IE7 has definately broken VB 6!

    Quote Originally Posted by smUX
    There's an easy way to find out...See the link marked "Search" with a down-arrow next to it? Try clicking it and putting "IE7" in the box that comes up. This is called "searching" and is a very good way to find out things
    I think we all know how to use the search function.

    All the comments I have seen is for the beta. Not the full release which came out over the past 2 days.
    Chances are, that if it just came out 2 days ago, you'd be lucky to find any help. Your best bet would be to wait at least another week or search on MSDN or maybe you'll get lucky with a google search.

  9. #9
    PowerPoster
    Join Date
    May 2006
    Location
    Location, location!
    Posts
    2,673

    Re: IE7 has definately broken VB 6!

    So basically, the same issue that was in IE7 beta is in IE7 final...now you see why I said it doesn't matter, I know what Micro$oft is like when it comes to bugs like this, and now you see why I use firefox :-)

    Quote Originally Posted by DigiRev
    I think we all know how to use the search function.
    Yeah, but I like massively overplaying my sarcasm to the point of almost (or sometimes actually) insulting the person :-P
    Well, everyone else has been doing it :-)
    Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
    Expect more to come in future
    If I have helped you, RATE ME! :-)

    I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!

    And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.

  10. #10

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Posts
    79

    Re: IE7 has definately broken VB 6!

    sMUX OK, get your point. Do you know of another browse control we can use then and compile that into our VB product. At the moment our product is broken if people install IE7 so we need to find a workaround and a fix.

    It's only been out for a couple of days. But this is going to have a big impact.

    We did see bugs in an earlier version but not the last beta...now bugs are back... /sigh.

    T

  11. #11
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: IE7 has definately broken VB 6!

    Quote Originally Posted by Ballistix
    sMUX OK, get your point. Do you know of another browse control we can use then and compile that into our VB product. At the moment our product is broken if people install IE7 so we need to find a workaround and a fix.

    It's only been out for a couple of days. But this is going to have a big impact.

    We did see bugs in an earlier version but not the last beta...now bugs are back... /sigh.

    T
    You can use the gecko one (the same one FireFox uses), and I hear it works exactly the same as the IE one.

    http://www.iol.ie/~locka/mozilla/control.htm

  12. #12
    PowerPoster
    Join Date
    May 2006
    Location
    Location, location!
    Posts
    2,673

    Re: IE7 has definately broken VB 6!

    I am assuming that people will actually have installed IE7 on their PCs and that is why you want to make sure it works...isn't there some way of packing required IE6 DLLs with your program so that it still works through IE6 even though they've installed IE7?

    If you have IE7 on your main PC there's ways to uninstall it if that's the issue.

    Others here will know more than me about using IE6 DLLs if you've got IE7 installed...I'm not very good with DLLs, although I'm a good problem solver *theoretically* :-)
    Well, everyone else has been doing it :-)
    Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
    Expect more to come in future
    If I have helped you, RATE ME! :-)

    I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!

    And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.

  13. #13
    Junior Member
    Join Date
    Oct 2006
    Posts
    22

    Re: IE7 has definately broken VB 6!

    Hope that it's NOT true!
    We are in final stage of project and if that we have to throw all to dustbin!

  14. #14
    PowerPoster
    Join Date
    May 2006
    Location
    Location, location!
    Posts
    2,673

    Re: IE7 has definately broken VB 6!

    It *is* true that users who have IE7 installed will have problems running programs you write because M$ in their infinite wisdom decided to leave their infinite wisdom on the bus on the way to work :-)

    Can't say how long it will take them to fix it, and I don't even know what the bug is (nor do I care; I don't program for others, only myself :-)), but I am sure M$ will eventually sort it out so that VB will work with IE7...although do bear in mind that VB6 is now not supported by M$ so unless this affects .NET too (not sure if it does) then M$ won't give a flying about whether it works for us or not :-)
    Well, everyone else has been doing it :-)
    Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
    Expect more to come in future
    If I have helped you, RATE ME! :-)

    I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!

    And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.

  15. #15

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Posts
    79

    Re: IE7 has definately broken VB 6!

    vnviews...I suggest you look at IE7 pronto...

    DigiRev if we use the control you suggest will it work across all browser platforms...like the IE6 one "did".

    Thanks

    T

  16. #16
    PowerPoster
    Join Date
    May 2006
    Location
    Location, location!
    Posts
    2,673

    Re: IE7 has definately broken VB 6!

    Usually controls are OCXes or DLLs and such that are installed with your program so they'd be deployed by you and the browser the user has is unimportant...HOWEVER there is one important thing to point out...if they're using IE and they need special proxy settings to get access to the internet, there is *no* guarantee that any other control will be able to access the same proxy details. Make sure this isn't an issue you will face, or wait until IE7 is fixed (if it is going to be :-))
    Well, everyone else has been doing it :-)
    Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
    Expect more to come in future
    If I have helped you, RATE ME! :-)

    I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!

    And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.

  17. #17

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Posts
    79

    Re: IE7 has definately broken VB 6!

    Fair point smUX I can see this being an issue tbh. We do have a proxy setting in our AP. As long as we can fiddle that so that the control uses it rather than the proxy settings that we pickup from the IE control then we might be ok...needs a thorough test.

    T

  18. #18
    PowerPoster
    Join Date
    May 2006
    Location
    Location, location!
    Posts
    2,673

    Re: IE7 has definately broken VB 6!

    There might be ways around it, but would require some serious messing about with using inet/winsock and the gecko control...basically using inet or winsock to download the data and gecko to display it (I assume it's just as easy to access the gecko document as in webbrowser).

    You're way better off waiting for M$ to sort themselves out though...the way above would be lots of programming and probably wouldn't be as flexible as a webbrowser would be on its own on an IE6 system...but it is an option if you only need basic stuff :-)

    Although I still think that using IE6 DLLs would work...dunno how reliable (or legal...seeing as you need to be licenced to distribute IE6 DLLs) it would be though
    Well, everyone else has been doing it :-)
    Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
    Expect more to come in future
    If I have helped you, RATE ME! :-)

    I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!

    And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.

  19. #19
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: IE7 has definately broken VB 6!

    According to that site you should be able to just replace the IE control with it, and not even have to change any code. I don't know about proxies though.

    DigiRev if we use the control you suggest will it work across all browser platforms...like the IE6 one "did".
    What do you mean by browser "platforms"?

  20. #20

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Posts
    79

    Re: IE7 has definately broken VB 6!

    Sorry my bad phrasing of platforms I meant client browsers.

    Can we just inject that new browse control DLL into our build and not have the other 4MB of the install? That would have a nasty effect on the size of our product.

    We'll try it I guess but wondered if you knew.

    T

  21. #21

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Posts
    79

    Re: IE7 has definately broken VB 6!

    We've found the issue. We just need to hone in on the root cause but it looks like that MS have removed some GUID references with the installation of IE7 ..doh!

    T

  22. #22
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: IE7 has definately broken VB 6!

    Quote Originally Posted by smUX
    It *is* true that users who have IE7 installed will have problems running programs you write because M$ in their infinite wisdom decided to leave their infinite wisdom on the bus on the way to work :-)

    Can't say how long it will take them to fix it, and I don't even know what the bug is (nor do I care; I don't program for others, only myself :-)), but I am sure M$ will eventually sort it out so that VB will work with IE7...although do bear in mind that VB6 is now not supported by M$ so unless this affects .NET too (not sure if it does) then M$ won't give a flying about whether it works for us or not :-)
    @smUX (and only @smUX):
    Whould you stop this nonsense about Miscrosoft please? Seriously!
    If you don't have much to say then please be quiet!
    VB6 is about 10 years old and IE6 even older (well, technically they both much "younger" but they both are based on at least decade old technology) so whould you like MS to produce new products to be backword competible with things they've done when they started?
    In fact they do and they do a darn good job (much better job then any other software company in the world) but they cannot go back that far... So, stop complaining at once.

    Thank you. (you don't have to respond to this...)

  23. #23
    PowerPoster
    Join Date
    Nov 2002
    Location
    Manila
    Posts
    7,629

    Re: IE7 has definately broken VB 6!

    I have yet to understand what he meant by the control being "shafted." :P Yes its broken, but in what way specifically?
    Last edited by leinad31; Oct 20th, 2006 at 08:13 AM.

  24. #24

  25. #25
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: IE7 has definately broken VB 6!

    I dont see what the fuss is all about. This is by far - not new. IE 7 beta 1-3 all had this issue with VB 6. Its known and has been posted on VBF for months now.

    You should never update your system without knowing which updates are being applied and what their effects are.

    http://vbforums.com/showthread.php?t...&highlight=IE7
    http://vbforums.com/showthread.php?t...&highlight=IE7
    http://vbforums.com/showthread.php?t...&highlight=IE7

    Please do not use inappropriate language.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  26. #26
    PowerPoster
    Join Date
    May 2006
    Location
    Location, location!
    Posts
    2,673

    Re: IE7 has definately broken VB 6!

    Quote Originally Posted by RhinoBull
    @smUX (and only @smUX):
    Whould you stop this nonsense about Miscrosoft please? Seriously!
    If you don't have much to say then please be quiet!
    I think you'll find I wasn't *just* M$-bashing, I was actually commenting on other stuff as well. Please point out the section in the forum's T&C stating that I am not allowed to M$-bash, because I would like to see it for myself. If you're just telling me not to do it because you're a M$ lover then please feel free to ask me to tone down my bashing...but I am an avid M$ hater and would install and use Linux if I was able to get a working copy of VB6 for it (I like programming...I don't *need* it but I like it) and I will feel free to ignore your request.

    And regarding your other comments, IE and VB are both many years old, IE6 and VB6 are *not* 10 years old...IE6 and VB6 are not IE and VB, they are improved versions of said products and they were backward compatible with previous IEs and VBs. And BTW my problem isn't with M$ dropping support for VB6, it's with the fact that when they make such a monstrous foul up as this with IE7 they won't even attempt to make sure it will work with VB6...a critical problem like this should be exempt from the "we're not supporting VB6" because it is so critical, esp. with your other post about IE7 being forced on us (as M$ so often does...not FireFox, that one *asks* you if you want to update and you decide for yourself)
    Well, everyone else has been doing it :-)
    Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
    Expect more to come in future
    If I have helped you, RATE ME! :-)

    I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!

    And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.

  27. #27

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Posts
    79

    Re: IE7 has definately broken VB 6!

    I'm with SmUX on the age of the products etc. IE 7 has broken bits of VB6. We've found what it is...it removes a GUID that is shouldn't. We are now fixing this with our product. It's fair to say that a migration to .NET or C is now the option for us.

    Just to be clear. This BUG has NOT been in the betas. This bug has manifested between the RC candidates and the release of two days ago. So there "with brass knobs on"

    T

  28. #28
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: IE7 has definately broken VB 6!

    Well for your particular issue it may or ma not have just shown up but usually its best practice to test out any updates/upgrades before updating a production system or system that you do critical development on.

    I dont want this thread to be a I hate MS or IE or Linix etc. If there are views to be expressed on these then it should be a new thread in the general developer forum.

    FYI, VB 6 was released back in 1998 with preview versions before that so its at least 9 years old at a minimum.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  29. #29
    Hyperactive Member Maven's Avatar
    Join Date
    Feb 2003
    Location
    Greeneville, TN
    Posts
    322

    Re: IE7 has definately broken VB 6!

    Quote Originally Posted by Ballistix
    Hi guys, thoughts here...

    We have a VB6 app and the browse control is definately shafted once IE7 is installed on the client. Anyone else having the problem.

    This is a pretty serious issue for anyone that develops in VB6. We are trying to find a workaround but several functions including refresh2 and refresh and so on are just not working...

    Views? Fixes?

    B
    I threw a webbrowser control on a forum and installed IE7. When you go to use refresh, it generates an error on refresh. Humerously "On Error Resume Next" stops the error of course, and refresh seems to be working.

    Go figure =P


    VB Code:
    1. Private Sub Command1_Click()
    2.     On Error Resume Next
    3.     Open ("c:\test.html") For Output As #1
    4.     Print #1, "<html><body>"
    5.     Print #1, "THE SECOND VERSION"
    6.     Print #1, "</body></html>"
    7.     Close #1
    8.     'WebBrowser1.Navigate ("C:\test.html")
    9.     WebBrowser1.Refresh
    10. End Sub
    11.  
    12. Private Sub Form_Load()
    13.     Open ("c:\test.html") For Output As #1
    14.     Print #1, "<html><body>"
    15.     Print #1, "THE FIRST VERSION"
    16.     Print #1, "</body></html>"
    17.     Close #1
    18.    
    19.     On Error Resume Next
    20.     WebBrowser1.Navigate ("C:\test.html")
    21.     WebBrowser1.Refresh
    22. End Sub
    Education is an admirable thing, but it is well to remember from time to time that nothing that is worth knowing can be taught. - Oscar Wilde

  30. #30
    Hyperactive Member Maven's Avatar
    Join Date
    Feb 2003
    Location
    Greeneville, TN
    Posts
    322

    Re: IE7 has definately broken VB 6!

    wow

    I restart vb6 and it can no longer locate the OCX.
    Last edited by Maven; Oct 20th, 2006 at 03:17 PM.
    Education is an admirable thing, but it is well to remember from time to time that nothing that is worth knowing can be taught. - Oscar Wilde

  31. #31
    PowerPoster
    Join Date
    Nov 2002
    Location
    Manila
    Posts
    7,629

    Re: IE7 has definately broken VB 6!

    what was the error.description?

  32. #32
    Hyperactive Member Maven's Avatar
    Join Date
    Feb 2003
    Location
    Greeneville, TN
    Posts
    322

    Re: IE7 has definately broken VB 6!

    Quote Originally Posted by leinad31
    what was the error.description?
    I dont remember and currently cannot even load a web browser control onto a form. The exe I made stilll works though, but the ocx for dev has been moved some place by ie or deleted all togheter.
    Education is an admirable thing, but it is well to remember from time to time that nothing that is worth knowing can be taught. - Oscar Wilde

  33. #33
    Member
    Join Date
    Sep 2006
    Posts
    63

    Re: IE7 has definately broken VB 6!

    If the error you've having is concerning the webbrowser control, go into components and select Browse. Add ...windows/system32/shdocvw.dll. Be sure to look at all files, not just .OCX extensions.

  34. #34

    Re: IE7 has definately broken VB 6!

    You're lucky, you can still open help files, IE7 stuffed my installation of XP up.

  35. #35
    PowerPoster BruceG's Avatar
    Join Date
    May 2000
    Location
    New Jersey (USA)
    Posts
    2,657

    Re: IE7 has definately broken VB 6!

    If a user has a currently running, installed application that was developed with VB6 that uses the WebBrowser control, if that user upgrades to IE7, will the installed VB app have issues or not?
    "It's cold gin time again ..."

    Check out my website here.

  36. #36
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: IE7 has definately broken VB 6!

    The VB6 apps that I had using the web browser control all broke when upgrading to IE7. The control was just a curtisy in the apps so I just removed them all.
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  37. #37
    PowerPoster BruceG's Avatar
    Join Date
    May 2000
    Location
    New Jersey (USA)
    Posts
    2,657

    Re: IE7 has definately broken VB 6!

    Well that's scary. I have one app out there that uses the WB to view Word documents (all local, no actual Internet access). I suppose that wouldn't make a difference?
    "It's cold gin time again ..."

    Check out my website here.

  38. #38
    PowerPoster BruceG's Avatar
    Join Date
    May 2000
    Location
    New Jersey (USA)
    Posts
    2,657

    Re: IE7 has definately broken VB 6!

    I am happy to report that I installed IE7 on a test box and the compiled app in question ran with no problems. Further, I created a test project in VB, slapped a WebBrowser control on the form (even though the control now points to "ieframe.dll" instead of "shdocvw.dll") and was able to do a "Navigate2" to a website with no problems.

    So I've got somewhat of a warm and fuzzy so far. I didn't do extensive testing yet, but so far so good ...
    "It's cold gin time again ..."

    Check out my website here.

  39. #39
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: IE7 has definately broken VB 6!

    Thats great to hear Bruce but why then do the others have so many issues?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  40. #40
    PowerPoster BruceG's Avatar
    Join Date
    May 2000
    Location
    New Jersey (USA)
    Posts
    2,657

    Re: IE7 has definately broken VB 6!

    I can't say why the others had issues, and hopefully none will manifest themselves for me later - I was disheartened when I saw this thread so I thought I better test this stuff out. I can tell you that the version is 7.0.5730.11, which I downloaded from MS yesterday (10/27).

    Also, in re-reading thru this thread, I saw that some folks were having trouble with the Refresh method. I am happy to report that I tried that as well and it worked with no issue.
    "It's cold gin time again ..."

    Check out my website here.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width