What kind of VS2003 project *is* this????
VB.NET? ASP.NET? What?
But if it is *any* kind of .NET project, you shouldn't be using the old fashioned wininet.dll methodology. You should be moving to standard .NET classes and interfaces.
Since you posted this in the "Other Books", can you say what WROX book you got the code out of???