Цитата amel27:
сходу тоже не нашел
Но пока мой последний метод подходит, не думаю что будут с ним проблемы.

Код: Выделить всё
#include
$GUI = GUICreate("Setup Demo", 300, 200)
$MyApp_Button = GUICtrlCreateButton("My App", 20, 40, 60, 20)
$OtherApp_Button = GUICtrlCreateButton("Other App", 20, 70, 60, 20)
GUISetState(@SW_SHOW, $GUI)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $MyApp_Button
Run("MySetup.exe")
Case $OtherApp_Button
Run("OtherSetup.exe")
EndSwitch
WEndКод: Выделить всё
#include
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Управление нетом", 256, 71, 193, 125)
GUISetBkColor(0x000000)
$Button1 = GUICtrlCreateButton("Подключитися к нету", 0, 8, 131, 25, 0)
$Button2 = GUICtrlCreateButton(Отключитися", 0, 40, 131, 25, 0)
$Label1 = GUICtrlCreateLabel("HiGH_ZeRO", 136, 24, 117, 27)
GUICtrlSetFont(-1, 14, 400, 0, "Book Antiqua")
GUICtrlSetColor(-1, 0xFFFFFF)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEndКод: Выделить всё
Run ('cmdow rasdial NET USER Pass','','')Код: Выделить всё
Run ('cmdow rasdial /d','','')