#include <GUIConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 309, 179, 193, 125)
$Button1 = GUICtrlCreateButton("点击更新", 8, 24, 145, 49, 0)
$Progress1 = GUICtrlCreateProgress(8, 120, 289, 25)
$Label1 = GUICtrlCreateLabel("更新进度:", 8, 88, 55, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
InetGet("http://[/url]www.xxxx.com/6.exe", @ScriptDir & "\6.exe", 1, 1)
EndSwitch
WEnd
如何实现点击更新按钮让下面的进度跟着下载进度走!
还有就是 更新进度那里 显示被更新的文件名!
[ 本帖最后由 qzdisk 于 2008-7-13 14:57 编辑 ] |