*!* http://www.news2news.com/vfp/?example=312&function=-1&xpg=11 *!* Initiating Inet connection using a modem #DEFINE INTERNET_AUTODIAL_FORCE_ONLINE 1 #DEFINE INTERNET_AUTODIAL_FORCE_UNATTENDED 2 #DEFINE INTERNET_AUTODIAL_FAILIFSECURITYCHECK 4 DECLARE INTEGER GetActiveWindow IN user32 DECLARE INTEGER InternetDial IN wininet; INTEGER hwndParent, STRING lpszConnectoid, INTEGER dwFlags,; INTEGER @lpdwConnection, INTEGER dwReserved LOCAL hConnection hConnection = 0 ? InternetDial (GetActiveWindow(), "MyProvider",; INTERNET_AUTODIAL_FORCE_ONLINE, @hConnection, 0) ? "Number associated with the connection:", hConnectionfrom reading several posts here at UT, there seems to be differences between modem access and lan access in the way the testing for a connection and the autodail/connect is beeing done.