Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connection Name
Message
From
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:
00650257
Views:
20
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform