pjydsj 发表于 2009-11-23 23:02:18

进度条能正常显示下载进度,但下载的文件不完整

本帖最后由 pjydsj 于 2009-11-24 23:56 编辑

进度条显示成功,但是下载的文件不完整,代码如下:#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=C:\Documents and Settings\Ming\桌面\Form1.kxf
$Form1 = GUICreate("360安全卫士", 338, 89, 335, 218)
$Progress1 = GUICtrlCreateProgress(16, 16, 302, 17)
$Button1 = GUICtrlCreateButton("开始", 128, 48, 75, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
        $nMsg = GUIGetMsg()
        If $nMsg=$Button1 Then GUICtrlSetData($Button1,'停止')
        Switch $nMsg
                Case $GUI_EVENT_CLOSE
                        Exit

        EndSwitch
WEnd请高手帮忙解决

zz999 发表于 2009-12-8 15:26:09

你这里只有一个界面   其他什么没?
怎么分析?
页: [1]
查看完整版本: 进度条能正常显示下载进度,但下载的文件不完整