Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WININET.DLL Function Problem
Message
From
01/10/1998 14:52:21
 
 
To
01/10/1998 14:21:56
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00142611
Message ID:
00142939
Views:
31
>Hi Ed!
>
>Well, I coded this thing up and while my previous code always produced a "not connected" response, Using "InternetGetConnectedState" always produces a "connected" response!
>
>I am behind a Proxy, here, but the flag value returns "2" (LAN).
>After disconnecting the network cable, turning off the Proxy in Control Panel and rebooting the machine, the results were exactly the same - now I'm confused!
>
>Could this (and the previous error for that matter) bear any relation to the fact that IE is NOT my default browser (although it is installed)? Where could I find some more information on WININET.DLL and it's internals, including where it goes to look for the information before generating the response?
>
>Sorry to be such a bother, but I am under something of a deadline here.
>

I don't know what to tell you here; I just tried it on two of my systems here, with the following results:

Connected via modem to net - return 1, nFlags = 1
Connected via Proxy Server 2.0, ISP DNS - return 1, nFlags = 4
Connected via Proxy Server 2.0, Server DNS - return 1, nFlags = 2
Not connected, no dial in progress, no proxy - return 0, nFlags = 0
Not connected, dial in progress - return 1, nFlags = 1
Not connected, dial failed (5 busys) - return 1, nFlags = 8

I do run IE 4.0 as my default browser. I'm running Win98 4.10.1998, IE 4.01 SP1 (4.72.3110, SP1, 2636, 2375 patches applied). I also tried an NT box; NT Server 4.0 Build 1381 SP3, with the same IE4 revision. Tests were run under VFP 5.0a Build 415.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform