Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BindEvents - detecting connection to the net
Message
De
10/01/2005 17:24:02
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
00975648
Message ID:
00975876
Vues:
14
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform