>Can somebody please tell me how to make dialup connection to internet directly from Fox Pro ????
>Thanks
There are several ways of doing this, depending on how much control you need overthe DUN session. If you only need to initate the session, you can use:
DECLARE INTEGER InternetAttemptConnect IN WinInet.dll INTEGER
?InternetAttemptConnect(0)
this initiates the default network connection, whether its RAS, LAN, or whatever, and waits until the connection is established before returning control.
If you need to be able to hang up the session afterwards, then you need a session handle, the above method won't work. You can download wwIPStuff from
www.west-wind.com, and use its RAS functions, or check out Christof Lange's Structure class from here in the files section for examples of how to do all of this yourself using the Windows API.
Erik Moore
Clientelligence