Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connection Name
Message
 
To
29/04/2002 03:20:33
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00650248
Message ID:
00650273
Views:
21
>>How do we get the name and status of the current internet connection? If there is one?
>
>
>declare short InternetGetConnectedStateEx IN "wininet.dll" ;
>    integer @ lpdwFlags, string @ lpszConnectionName, ;
>    integer dwNameLen, integer dwReserved
>
>lpdwFlags = 0
>lpszConnectionName = SPACE(512)
>IF InternetGetConnectedStateEx(@lpdwFlags, @lpszConnectionName, 512, 0) # 0
>? lpszConnectionName
>endif
>
Cetin


Thanks :)
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Previous
Reply
Map
View

Click here to load this message in the networking platform