-
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
-
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
-
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
-
Re: IE7 has definately broken VB 6!
Have you tried looking around the MSDN site and the MS blogs for information?
-
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
-
Re: IE7 has definately broken VB 6!
Google for: "ie7 vb6 refresh refresh2"
finds a very odd CHANNEL9 MS link...
-
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
-
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. :ehh:
Quote:
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.
-
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. :ehh:
Yeah, but I like massively overplaying my sarcasm to the point of almost (or sometimes actually) insulting the person :-P
-
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
-
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
-
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* :-)
-
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!
-
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 :-)
-
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
-
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 :-))
-
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
-
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
-
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.
Quote:
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"? :confused:
-
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
-
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
-
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...)
-
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?
-
Re: IE7 has definately broken VB 6!
... and shortly it's going to be even more painfull for some of you:
Be Ready for Automatic Update Distribution of IE7 by November 1
-
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. ;)
-
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)
-
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
-
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. ;)
-
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:
Private Sub Command1_Click()
On Error Resume Next
Open ("c:\test.html") For Output As #1
Print #1, "<html><body>"
Print #1, "THE SECOND VERSION"
Print #1, "</body></html>"
Close #1
'WebBrowser1.Navigate ("C:\test.html")
WebBrowser1.Refresh
End Sub
Private Sub Form_Load()
Open ("c:\test.html") For Output As #1
Print #1, "<html><body>"
Print #1, "THE FIRST VERSION"
Print #1, "</body></html>"
Close #1
On Error Resume Next
WebBrowser1.Navigate ("C:\test.html")
WebBrowser1.Refresh
End Sub
-
Re: IE7 has definately broken VB 6!
wow
I restart vb6 and it can no longer locate the OCX.
-
Re: IE7 has definately broken VB 6!
what was the error.description?
-
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.
-
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.
-
Re: IE7 has definately broken VB 6!
You're lucky, you can still open help files, IE7 stuffed my installation of XP up.
-
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?
-
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.
-
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?
-
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 ...
-
Re: IE7 has definately broken VB 6!
Thats great to hear Bruce but why then do the others have so many issues?
-
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.
-
Re: IE7 has definately broken VB 6!
Whats your config so we know what it works on.
-
Re: IE7 has definately broken VB 6!
It's nothing too spectacular - it's running Win XP Pro SP 2 on a fairly ancient HP Pavillion laptop ...
-
Re: IE7 has definately broken VB 6!
Quote:
Originally Posted by BruceG
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 ...
Just came from MS and they had no record of ieframe.dll !
I did get it thru another source for dlls, but vs. 7.0.5346.5 and not the one you suggested.
-
Re: IE7 has definately broken VB 6!
Hang on, you are missing the point. We are talking about backwards compatibility NOT building a new app with the new dlls that IE7 provides as Bruce has done. Please don't confuse the issues, this is still broken, and MS have just put out IE7 as a Windows Update today, so it's about to get very much worse!
-
Re: IE7 has definately broken VB 6!
Quote:
Originally Posted by RobDog888
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. ;)
True. I took a VB6 class in 1998 when it was brand new...and didn't touch VB6 between then and now!
RobDog, slightly off-topic...we're still developing a brand-new app in VB6 because I was told it would 'take too long' to get VB.NET installed and nobody on the team has .NET experience; I'm the only one who can sort of program VB, which is scary.
What's the absolute maximum time (in your opinion) that we can wait to migrate to .NET? I'm worried that if we don't do it now it'll never get done and the app will stop working with the next major Windows release because none of these guys are .NETers. I could maybe fumble my way through migrating this app to .NET, with a lot of help from you guys (insert angelic smile here). Is this making any sense? In a nutshell, I'm concerned about developing in VB6. I've always thought we should have gone the .NET route to begin with but I was overruled and I think we're on a small amount of borrowed time. What do you think? :eek:
-
Re: IE7 has definately broken VB 6!
To get back on topic, I feel your pain that this "breakage" has occurred on your systems, and I was quite concerned when I read this initial thread, which prompted me to do the testing.
As I mentioned before, I was able to run an existing compiled app after IE7 was installed, and I was able to use the WebBrowser control on a new VB6 project on that same machine.
To Ballistix's last point, I did another test last night, where I opened the project for the existing app in question, and again to my relief there were no issues when I opened the project. I also ran the app in the VB IDE without issue. (Ballistix, does this last test address your point, or is there another test I should do?)
Needless to say, this is a relief for me (so far). I am just reporting my experience here to add to the body of knowledge regarding this problem.
-
Re: IE7 has definately broken VB 6!
I'm currently using C:\Windows\System32\shdocvw.dll for Microsoft Internet Controls ...
It works fine, I do get debug messages from VB in debug mode, but at run time they don't appear.
I hope it helps ...
---------------------------------
My System
Windows XP Professional SP2
Visual Basic 6 SP6
Internet Explorer 7.0.5730.11
-
Re: IE7 has definately broken VB 6!
Yesterday i reported problems with IE7 but it was beta built.
Today i updated to full IE7 version and all errors vanished.
Could you provide me code snippet so that i can test to say whether it works in IE7 mature version or not?
Thank You.
-
Re: IE7 has definately broken VB 6!
EASY FIX
In IE7 browser settings. enable scripts
also be sure to reference ie6 and include controls for the ie6 version with your installer.