转至繁体中文版     | 网站首页 | 图文教程 | 资源下载 | 站长博客 | 图片素材 | 武汉seo | 武汉网站优化 | 
最新公告:     敏韬网|教学资源学习资料永久免费分享站!  [mintao  2008年9月2日]        
您现在的位置: 学习笔记 >> 图文教程 >> 软件开发 >> VB.NET程序 >> 正文
VB断点拷贝大文件         ★★★★

VB断点拷贝大文件

作者:闵涛 文章来源:闵涛的学习笔记 点击数:6011 更新时间:2009/4/23 15:43:36
ot; & VBStrFormatByteSize(myCount.TotalSpeed) & " 字节/秒" myProc.Value = 0 bolReady = True If bolUnload = True Then Unload Me End If bolUnload = True On Error GoTo 0 Exit Sub CopyErr: MsgBox "系统错误:" & Err.Description, vbCritical ''''Resume If lngFrom <> 0 Then CloseHandle lngFrom If lngTo <> 0 Then CloseHandle lngTo bolReady = True If bolUnload = True Then Unload Me End If On Error GoTo 0 End Sub Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) If bolUnload = False Then bolUnload = True bolStop = True Cancel = True Else myIni.IniString("From") = textFrom.Text myIni.IniString("To") = textTo.Text Set myCount = Nothing Set myIni = Nothing End End If End Sub Private Function VBStrFormatByteSize(ByVal lngSize As Long) As String Dim strSize As String * 128 Dim strData As String Dim lPos As Long StrFormatByteSize lngSize, strSize, 128 lPos = InStr(1, strSize, Chr$(0)) strData = Left$(strSize, lPos - 1) If lngSize > 1024 Then strData = lngSize & "字节(" & strData & ")" End If VBStrFormatByteSize = strData End Function ############################################################################### dlgShutDown.frm 内容 ############################################################################### VERSION 5.00 Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX" Begin VB.Form dlgShutDown BorderStyle = 3 ''''Fixed Dialog Caption = "关机" ClientHeight = 3195 ClientLeft = 2760 ClientTop = 3750 ClientWidth = 6735 LinkTopic = "Form1" MaxButton = 0 ''''False MinButton = 0 ''''False ScaleHeight = 3195 ScaleWidth = 6735 ShowInTaskbar = 0 ''''False StartUpPosition = 2 ''''屏幕中心 Begin VB.Timer myTimer Interval = 1000 Left = 6075 Top = 915 End Begin MSComctlLib.ProgressBar myProc Height = 390 Left = 180 TabIndex = 2 Top = 1980 Width = 6120 _ExtentX = 10795 _ExtentY = 688 _Version = 393216 Appearance = 1 End Begin VB.CommandButton cmdCancel Caption = "取消" Height = 375 Left = 4950 TabIndex = 1 Top = 2640 Width = 1215 End Begin VB.CommandButton cmdShutDown Caption = "关机" Height = 375 Left = 3510 TabIndex = 0 Top = 2640 Width = 1215 End Begin VB.Label lblTitle Caption = "Label1" BeginProperty Font Name = "宋体" Size = 12 Charset = 134 Weight = 700 Underline

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]  下一页


没有相关教程
教程录入:mintao    责任编辑:mintao 
  • 上一篇教程:

  • 下一篇教程:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
      注:本站部分文章源于互联网,版权归原作者所有!如有侵权,请原作者与本站联系,本站将立即删除! 本站文章除特别注明外均可转载,但需注明出处! [MinTao学以致用网]
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)

    同类栏目
    · C语言系列  · VB.NET程序
    · JAVA开发  · Delphi程序
    · 脚本语言
    更多内容
    热门推荐 更多内容
  • 没有教程
  • 赞助链接
    更多内容
    闵涛博文 更多关于武汉SEO的内容
    500 - 内部服务器错误。

    500 - 内部服务器错误。

    您查找的资源存在问题,因而无法显示。

    | 设为首页 |加入收藏 | 联系站长 | 友情链接 | 版权申明 | 广告服务
    MinTao学以致用网

    Copyright @ 2007-2012 敏韬网(敏而好学,文韬武略--MinTao.Net)(学习笔记) Inc All Rights Reserved.
    闵涛 投放广告、内容合作请Q我! E_mail:admin@mintao.net(欢迎提供学习资源)

    站长:MinTao ICP备案号:鄂ICP备11006601号-18

    闵涛站盟:医药大全-武穴网A打造BCD……
    咸宁网络警察报警平台