I found this function - but it's an autodial hangup:
http://www.news2news.com/vfp/?group=92&function=205>I have made this connection in my code
>
>#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
>
>DECLARE INTEGER InternetCloseHandle IN wininet;
> INTEGER hInet
>
>LOCAL hConnection
>hConnection = 0
>
>? InternetDial (GetActiveWindow(), "CK1",;
> INTERNET_AUTODIAL_FORCE_ONLINE, @hConnection, 0)
>
>It is possible disconect from this connection? How
>I have try this command, but do not work
>
>InternetCloseHandle(hConnection)
>
>why?
Imagination is more important than knowledge