>>The second parameter in InternetDial is a Dial-up connection name. Shouldn't it be passed as parameter to the ConnectToTheInternet() function?
>
>That's a good point. What if we have no idea about it? Can we pass an empty string and Windows will go default?
In this case you should use InternetAutoDial function I mentioned in one of the previous messages on this thread.
--sb--