Check settings in Contrpol Panel -> Internet Options -> Connections. Make sure that it set to dial to connect to the Internet.
See also
http://www.microsoft.com/mind/defaulttop.asp?page=/mind/0698/ras/ras.htm&nav=/mind/0698/inthisissuecolumns0698.htm.
>Can anyone guide me for the problem below, thanks in advanced.
>
>1) Why my function 'AutoDial' below never show up the 'Dial-up Connection' dialog box and always return 1?
>
>FUNCTION AutoDial(piType)
> DECLARE INTEGER InternetAutodial IN WININET.DLL INTEGER dwFlags, INTEGER dwReserved
>
> piType = IIF(TYPE('piType')='N',IIF(BETWEEN(piType,1,2),piType,1),1)
> liSuccess = InternetAutodial(piType,0)
>
> RETURN liSuccess
>ENDFUNC
--sb--