Rick Strahl's Weblog
Rick Strahl's FoxPro and Web Connection Weblog
White Papers | Products | Message Board | News |

wwIPStuff and IE 7


8 comments
October 27, 2006 •

Seems like a number of people have run into issues with the wwIPStuff class’ HTTP functionality not working in conjunction with IE 7. The problem is that wwIPStuff.vcx and the HTTP features that are within it have long been deprecated and there have been no updates to that library. Some years ago all the HTTP functionality moved into the separate wwHTTP class (a PRG file) and this class should be used and by all appearances it works fine and dandy with IE 7.0. The two classes have the same external interface so you can swap them pretty much without code changes – except that the PRG file is not a visual class, so you need to add a property to your form rather than adding the control on a form surface.

 

Now I’m not really sure what the problem is - for me both wwIPStuff and wwHTTP work on all of my machines including XP, Win2003 Server and Vista RC1. I suspect the problem is the default connection setting in wwHTTP which is set to use IE’s default proxy and configuration settings whereas the wwIPStuff class uses a direct connection. I’m not sure why all of a sudden this would start failing with the IE 7 install but apparently it does. An nHttpConnectType of 0 should be used to force use of the IE connection settings which will work 95% of the time. For the remainder you can mess around with the proxy configuration settings and varying the nHttpConnectType property to 1 (direct) or 3 (manually configured proxy).

 

As a general rule, you should move away from the wwIPStuff class’s HTTP interface. There have been many, many enhancements, tweaks and fixes in wwHTTP since the new class was created and none of those have been moved back to wwIPStuff. In fact if you look at the latest documentation in Web Connection and West Wind Client Tools the wwIPStuff class doesn’t show the HTTP functions any longer. In short we don’t want you to use those anymore, precisely for reasons like this <s>…

Posted in:

Feedback for this Weblog Entry


Re: wwIPStuff and IE 7



Scott Malinowski
November 13, 2006

I hit this today. Un-installed IE7 for now.

I use FTP and HTTP within wwipstuff, I also have it sub-classed. Does this mean that I will have use the wwHTTP.prg instead of the http code within wwipstuff.vc* for IE 7 to work or will there be a new version?

Scott

Re: wwIPStuff and IE 7



Rick Strahl
November 13, 2006

Yes you should be doing that regardless since wwIPstuff.vcx's HTTP functions have long been deprecated and they won't be updated.

Re: wwIPStuff and IE 7



Eddie Caldwell
November 29, 2006

Rick, Does phasing out IPSTUFF apply just to HTTP functions? Should it still be used for SMTP or is there something better?

Thanks, You make Great Software

Re: wwIPStuff and IE 7



Rick Strahl
November 29, 2006

Yes it applies only to the HTTP functions. The SMTP functions continue to work as before and are actively maintained.

Re: wwIPStuff and IE 7



Rick Maines
December 13, 2006

I've run into this problem, today. I upgraded users' PC's, to include IE7, and now a function, that we use daily, is now broken. Temporarily, I'm uninstalling IE7, and so far, thing are staring to work again. For the long haul, I need a better solution. How difficult would it be for me to use wwHTTP instead of wwIPStuff? How do I get the program/library? Thanks.

Re: wwIPStuff and IE 7



Rick Strahl
December 13, 2006

As the post above states you should use wwHTTP instead. wwHTTP is part of the same library and has the exact same interface as wwIPStuff. The main difference is that it's a PRG file instead of a VCX.

No code changes should be required other than changing the classname and hooking up a PRG instead of using the VCX on a form (ie. THISFORM.AddObject("oHttp",CREATEOBJECT("wwHTTP")).

I know this is biting a lot of people, but these issues have long been fixed. It pays to try to keep reasonably recent with software versions - especially tools that deal with network protocols since there are frequent changes in the OS that relate to them. Especially in this case since the upgrades have been free for many years.

Re: wwIPStuff and IE 7



Rick Strahl
January 25, 2007

Update: The latest versions of wwIPStuff, Web Connection and Client Tools now have a fix for the wwIPStuff issue. If you are using wwIPStuff instead of wwHTTP you can also set the nHttpConnectMode property to 0 which should fix the problem as well.

Re: wwIPStuff and IE 7



Mark Harpenau
March 13, 2007

Hi Rick, I'm sooo glad I found this article and I'm now using wwHttp.prg successfully. A little off the subject, but is there a way to get the File size returned using HttpGet so I can display "xxxx bytes received out of xxxx", as with the FTPget? Thanks!

 
© Rick Strahl, West Wind Technologies, 2003 - 2024