>I once saw instructions on how to use Wininet.DLL to establish a connection from VFP, but have since misplaced the information.
>
>Does anyone here have a suggestion for the simplest way to establish a dialup internet connection from within VFP?
>
>Thanks,
>Chris
Looks like time for a FAQ-
Simplest (and my favorite way) is:
DECLARE INTEGER InternetAttemptConnect IN WinInet.dll INTEGER
?InternetAttemptConnect(0)
This function returns true if a connection was established. If you need more control over the DUN session, you can look at some other classes available: wwIPStuff from
www.westwind.com, Christof Lange's Structure class from here in the files section, or one of several third party ($) tools.
Erik Moore
Clientelligence