* *** from the msdn help *!* INTERNET_AUTODIAL_FORCE_ONLINE Forces an online connection. *!* INTERNET_AUTODIAL_FORCE_UNATTENDED Forces an unattended Internet dial-up. *!* INTERNET_DIAL_UNATTENDED Connects to the Internet through a modem, without displaying a user interface * *** from wininet.h *!* // Flags for InternetDial - must not conflict with InternetAutodial flags *!* // as they are valid here also. #DEFINE INTERNET_AUTODIAL_FORCE_ONLINE 1 #DEFINE INTERNET_AUTODIAL_FORCE_UNATTENDED 2 #DEFINE INTERNET_AUTODIAL_FAILIFSECURITYCHECK 4 #define INTERNET_DIAL_UNATTENDED 0x8000now, i have a lan connection, so can't test it. when i did run a test, i used INTERNET_AUTODIAL_FORCE_UNATTENDED + INTERNET_DIAL_UNATTENDED. the diplay still came up, however with the buttons disabled, and it froze, i hade to Ctrl+Alt+Del.
DECLARE INTEGER RasEnumAutodialAddresses IN rasapi32; STRING @lppAddresses, INTEGER @lpdwcbAddresses, INTEGER @lpdwcAddresses LOCAL lcBuffer, lnBufsize, lnCount STORE 0 TO lnBufsize, lnCount lnBufsize = 16384 lcBuffer = Repli(Chr(0), lnBufsize) = RasEnumAutodialAddresses (@lcBuffer, @lnBufsize, @lnCount) IF lnCount = 0 ? "AutoDial mapping database is empty" ENDIF