Group: Internet Functions (WinInet) - Library: wininet
Using InternetGoOnline function
Another way to go online (it is not about choosing an ISP)
BOOL InternetGoOnline(
LPTSTR lpszURL,
HWND hwndParent,
DWORD dwReserved
);
DECLARE SHORT InternetGoOnline IN wininet;
STRING lpszURL,;
INTEGER hwndParent,;
INTEGER dwReserved
lpszURL [in] Pointer to a string variable containing the URL of the Web site to connect to.
hwndParent [in] Handle to the parent window.
dwReserved [in] Reserved. Must be set to zero.
Returns TRUE if successful, or FALSE otherwise.