Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BindEvents - detecting connection to the net
Message
From
10/01/2005 17:24:02
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00975648
Message ID:
00975876
Views:
15
This message has been marked as a message which has helped to the initial question of the thread.
>Hi, everyone.
>
>Before delving into MSDN searching for this, can somebody provide an example on how to detect when an Internet Connection is established by using the new BindEvent() feature with a Windows message?
>
>Thanks a lot,

Hi Martin,

I don't have VFP9, so I don't know how to use BindEvent() method. But internet connection does not have anything to do with Windows messages, it's RAS event. You might want to check about this:

RasGetConnectStatus:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rras/rras/rasgetconnectstatus.asp

RasConnectionNotification:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rras/rras/rasconnectionnotification.asp

Remote Access Service (RAS) Functions:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mslu/winprog/unicode_layer_remote_access_service_ras_functions.asp

Regards
Herman
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform