Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BindEvents - detecting connection to the net
Message
From
11/01/2005 07:08:39
 
 
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:
00975977
Views:
10
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform