valery2 пишет:
цитата: |
Может есть какие-то параметры для InternetDial ? |
|
InternetDial( Hwnd AS LONG, Cconnect AS LPSTR, Dwflag AS LONG, ;
@Dwconnect AS PTR , Dwreserve AS LONG)
This function will dial a connection but you have to specify the name of the dialup
connection you want to use
This function put the
connection number in 4 parameters you will use
that value to hang up the connection
Value possible for
DWFLAGS are
INTERNET_AUTODIAL_FORCE_ONLINE = 1
Forces an online connection.
INTERNET_AUTODIAL_FORCE_UNATTENDED = 2
Forces an unattended Internet dial-up. If user intervention is required, the function will fail.
INTERNET_DIAL_FORCE_PROMPT = 8192 0X2000
Ignores the "dial automatically" setting and forces the dialing user interface to be displayed.
INTERNET_DIAL_UNATTENDED = 32768 0X8000
Connects to the Internet through a modem, without displaying a user interface, if possible. Otherwise, the function will wait for user input.
INTERNET_DIAL_SHOW_OFFLINE = 16384 0X4000
Shows the Work Offline button instead of Cancel button in the dialing user interface.
valery2 пишет:
Копай глубже