Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BindEvents - detecting connection to the net
Message
De
11/01/2005 07:08:39
 
 
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:
00975977
Vues:
9
>Thanks, Herman. This is a good start to what I want. Once I get something working, I'll posti it back here.
>
>>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

You're welcome :)
I can't give you any code because I'm using a thread to monitor the connection ( RasConnectionNotification ). So for a hint, you might want to try using timer in VFP.

Good luck.
Herman
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform