亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? richsoftvbzip.ctl

?? 用VB調(diào)用ZIP.dll和unzip.dll實(shí)現(xiàn)文件的壓縮和解壓縮。
?? CTL
?? 第 1 頁 / 共 2 頁
字號(hào):
VERSION 5.00
Begin VB.UserControl RichsoftVBZip 
   BackStyle       =   0  'Transparent
   CanGetFocus     =   0   'False
   ClientHeight    =   975
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   975
   HasDC           =   0   'False
   InvisibleAtRuntime=   -1  'True
   ScaleHeight     =   975
   ScaleWidth      =   975
   ToolboxBitmap   =   "RichsoftVBZip.ctx":0000
   Begin VB.Frame fraBorder 
      Height          =   855
      Left            =   120
      TabIndex        =   0
      Top             =   0
      Width           =   735
      Begin VB.Image imgZip 
         Height          =   480
         Left            =   120
         Picture         =   "RichsoftVBZip.ctx":0312
         Top             =   240
         Width           =   480
      End
   End
End
Attribute VB_Name = "RichsoftVBZip"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
'==============================================================================
'Richsoft Computing 2001
'Richard Southey
'This code is e-mailware, if you use it please e-mail me and tell me about
'your program.
'
'For latest information about this and other projects please visit my website:
'www.richsoftcomputing.btinternet.co.uk
'
'If you would like to make any comments/suggestions then please e-mail them to
'richsoftcomputing@btinternet.co.uk
'==============================================================================

'Set up the private atrributes
Private ZipFilename As String
Private CompLevel As ZipLevel
Private DOS83Format As Boolean
Private Recurse As Boolean

'Set up the file collection
Private Archive As Collection

'Events
Event OnArchiveUpdate()
Event OnZipProgress(ByVal Percentage As Integer, ByVal Filename As String)
Event OnZipComplete(ByVal Successful As Long)
Event OnUnzipProgress(ByVal Percentage As Integer, ByVal Filename As String)
Event OnUnzipComplete(ByVal Successful As Long)
Event OnDeleteProgress(ByVal Percentage As Integer, ByVal Filename As String)
Event OnDeleteComplete(ByVal Successful As Long)

'Actions
Public Enum ZipAction
    zipDefault = 1
    zipFreshen = 2
    zipUpdate = 3
End Enum

'Compression Level
Public Enum ZipLevel
    zipStore = 0
    zipLevel1 = 1
    zipSuperFast = 2
    zipFast = 3
    zipLevel4 = 4
    zipNormal = 5
    zipLevel6 = 6
    zipLevel7 = 7
    zipLevel8 = 8
    zipMax = 9
End Enum

Public Function ConvertBytesToString(Bytes As Long) As String
    'Turns a number representing the number of bytes
    'into a string, bytes, KB, MB
    
    Select Case (Bytes / 1024)
        Case Is < 0.2
            ConvertBytesToString = Format(Bytes, "###,##0") & " bytes"
        
        Case Is < 512
            ConvertBytesToString = Format(Bytes / 1024, "###,##0.0") + "KB"
            
        Case Else
            ConvertBytesToString = Format(Bytes / (1024 ^ 2), "###,##0.0") + "MB"
            
    End Select
        
End Function
Private Function FindFiles(Files As Collection, ByVal Recurse As Boolean)
    'Finds all the files matching the specification
    
    '*******************************************
    'RECURSIVE FOLDER SEARCH NOT YET IMPLEMENTED
    '*******************************************
    Dim Result As New Collection
    Dim i As Long
    For i = 1 To Files.Count
        Debug.Print Files(i)
        'Parse the file specification to find the path
        Path = ParsePath(Files(i))
        'Find the files matching the pattern
        r = Dir$(Files(i), Attributes)
        Do Until r = ""
            'Add the file to the new file list collection
            Result.Add Path & r
            'Move on to next file, if one exists
            r = Dir$()
        Loop
    Next i
    
    Set FindFiles = Result
    
End Function

Public Function Add(Files As Collection, ByVal Action As ZipAction, ByVal StorePathInfo As Boolean, ByVal RecurseSubFolders As Boolean, ByVal UseDOS83 As Boolean, ByVal CompressionLevel As ZipLevel) As Long
    'Adds the specified files to the archive
    Dim ArchiveFilename As String
    ArchiveFilename = ZipFilename
    Dim i As Long
    Dim Result As Long
    Dim FilesToAdd As Collection
    
    'Check to see if there are any files in the archive
    'if not delete the file so there are not error messages
    
    If GetEntryNum = 0 Then
        If Dir$(ArchiveFilename) <> "" Then
            Kill ArchiveFilename
        End If
    End If
    
    'Find all the files to add, recursing folders if selected
    Set FilesToAdd = FindFiles(Files, RecurseSubFolders)
    
    'Loop through the files adding them to the archive
    For i = 1 To FilesToAdd.Count
        Debug.Print "Trying to Add " & FilesToAdd(i)
        RaiseEvent OnZipProgress((100 * (i / (FilesToAdd.Count))), ParseFilename(FilesToAdd(i)))
        DoEvents
        If AddFile(ArchiveFilename, FilesToAdd(i), StorePathInfo, UseDOS83, Action, CompressionLevel) Then
            'File successfully extracted
            Result = Result + 1
        Else
            'File did not extract for some reason
        End If
    Next i
    
    RaiseEvent OnZipComplete(Result)
    'If any file was added update the archive
    If Result > 0 Then
        Read
        RaiseEvent OnArchiveUpdate
    End If
End Function


Public Function Delete(Files As Collection) As Long
    'Deletes the files specified in the collection
    'Returns the number of files deleted
    Dim FilesToDelete As Collection
    Dim ArchiveFilename As String
    ArchiveFilename = ZipFilename
    Dim i As Long
    Dim Result As Long
    
    'First find the files which match the patterns
    'specified in the collection
    Set FilesToDelete = SelectFiles(Files)
    
    'Extract each file in turn
    For i = 1 To FilesToDelete.Count
        Debug.Print "Trying to Delete " & FilesToDelete(i)
        RaiseEvent OnDeleteProgress((100 * (i / (FilesToDelete.Count))), ParseFilename(FilesToDelete(i)))
        DoEvents
        'Check to see if we are deleting the last entry
        'if so just delete the archive
        If (GetEntryNum - Result) > 1 Then
            If DeleteFile(ArchiveFilename, FilesToDelete(i)) Then
                'File successfully extracted
                Result = Result + 1
            Else
                'File did not extract for some reason
            End If
        Else
            Kill ArchiveFilename
            Result = Result + 1
        End If
    Next i
    
    RaiseEvent OnDeleteComplete(Result)
    'If any file was deleted update the archive
    If Result > 0 Then
        Read
        RaiseEvent OnArchiveUpdate
    End If
    
    Delete = Result
    
End Function

Public Function Extract(Files As Collection, ByVal Action As ZipAction, ByVal UsePathInfo As Boolean, ByVal Overwrite As Boolean, ByVal Path As String) As Long
    'Extracts the files specified in the collection
    'Returns the number of files extracted
    Dim FilesToExtract As Collection
    Dim ArchiveFilename As String
    ArchiveFilename = ZipFilename
    Dim i As Long
    Dim Result As Long
    
    'First find the files which match the patterns
    'specified in the collection
    Set FilesToExtract = SelectFiles(Files)
    
    'Check to if there is anything to do
    'if there is create the output path if it does not exist
    
    '************
    'TO IMPLEMENT
    '************
    
    'Extract each file in turn
    For i = 1 To FilesToExtract.Count
        Debug.Print "Trying to Extract " & FilesToExtract(i) & " to " & Path
        RaiseEvent OnUnzipProgress((100 * (i / (FilesToExtract.Count))), ParseFilename(FilesToExtract(i)))
        DoEvents
        If ExtractFile(ArchiveFilename, CStr(FilesToExtract(i)), Path, UsePathInfo, Overwrite, Action) Then
            'File successfully extracted
            Result = Result + 1
        Else
            'File did not extract for some reason
        End If
    Next i
    
    RaiseEvent OnUnzipComplete(Result)
    Extract = Result
    

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美挠脚心视频网站| 欧美视频一区在线| 日韩中文字幕1| 欧美国产综合色视频| 欧美日韩精品一区二区天天拍小说| 经典一区二区三区| 亚洲成av人影院在线观看网| 国产精品欧美精品| 26uuu国产电影一区二区| 欧亚洲嫩模精品一区三区| 韩国av一区二区| 日本aⅴ亚洲精品中文乱码| 亚洲精品国久久99热| 中文字幕av在线一区二区三区| 欧美一级搡bbbb搡bbbb| 欧美色手机在线观看| 91亚洲精品久久久蜜桃| 懂色av一区二区三区免费观看| 免费成人美女在线观看.| 一区二区三区四区不卡在线| 国产欧美1区2区3区| 精品少妇一区二区三区视频免付费 | 一区二区三区精品久久久| 久久久久国产一区二区三区四区| 国产精品无遮挡| 精品裸体舞一区二区三区| 91麻豆精品国产| 欧美日韩视频不卡| 欧美亚洲国产一区在线观看网站| 91视频国产观看| 9色porny自拍视频一区二区| 高清shemale亚洲人妖| 国产老妇另类xxxxx| 精品一区二区三区日韩| 美女网站一区二区| 久久99国内精品| 理论电影国产精品| 久久精品国产秦先生| 久久精品国产成人一区二区三区| 免费看日韩a级影片| 麻豆国产精品一区二区三区| 亚洲1区2区3区4区| 视频一区欧美精品| 美女视频第一区二区三区免费观看网站| 亚洲国产精品一区二区www在线| 亚洲视频在线一区| 一区二区三区蜜桃网| 亚洲精品欧美综合四区| 亚洲综合清纯丝袜自拍| 亚洲国产综合色| 午夜精品久久久久久久久久久 | 日韩欧美第一区| 欧美成人精精品一区二区频| 欧美一区二区三区视频免费| 欧美一二区视频| 久久综合久久综合久久| 久久精品一区二区三区四区| 国产精品入口麻豆九色| 亚洲免费av高清| 日韩在线一区二区三区| 欧美日韩在线三级| 911国产精品| 欧美精品一区视频| 国产精品私房写真福利视频| 中文字幕日韩一区二区| 亚洲精品水蜜桃| 日韩高清在线一区| 国产成人在线色| 91美女片黄在线观看91美女| 欧美精品在线一区二区| 欧美精品一区二区三区高清aⅴ| 国产女同互慰高潮91漫画| 综合在线观看色| 日本视频一区二区| 国产福利91精品一区| 91豆麻精品91久久久久久| 日韩午夜电影在线观看| 久久九九影视网| 亚洲国产va精品久久久不卡综合| 狂野欧美性猛交blacked| 成人av电影在线播放| 欧美日韩国产影片| 国产亚洲精品精华液| 亚洲午夜精品一区二区三区他趣| 久久成人久久鬼色| 色就色 综合激情| 欧美不卡在线视频| 一二三区精品福利视频| 国产毛片精品一区| 欧美日韩一区二区在线观看| 久久精品亚洲精品国产欧美| 一区二区理论电影在线观看| 日本美女一区二区三区| 99re热这里只有精品视频| 日韩欧美国产午夜精品| 亚洲人成在线观看一区二区| 蜜臀av性久久久久蜜臀aⅴ流畅| 97超碰欧美中文字幕| 26uuu色噜噜精品一区二区| 亚洲午夜影视影院在线观看| 成人丝袜18视频在线观看| 日韩美一区二区三区| 亚洲欧美另类久久久精品| 国内外精品视频| 欧美丰满一区二区免费视频| 亚洲日本一区二区| 成人免费观看av| 2021久久国产精品不只是精品| 亚洲自拍偷拍av| 91麻豆视频网站| 国产精品丝袜黑色高跟| 黑人精品欧美一区二区蜜桃| 88在线观看91蜜桃国自产| 一区二区国产盗摄色噜噜| 99久久精品免费| 中文字幕第一页久久| 国产一区在线精品| 精品欧美久久久| 日本视频一区二区| 欧美日韩国产区一| 亚洲久本草在线中文字幕| 成人亚洲精品久久久久软件| 日韩精品综合一本久道在线视频| 亚洲第一主播视频| 色婷婷av一区二区三区之一色屋| 欧美激情资源网| 国产精品一区二区在线观看不卡| 日韩三级免费观看| 美女视频一区二区| 91精品国产欧美一区二区| 五月天网站亚洲| 欧美乱妇一区二区三区不卡视频| 综合激情成人伊人| 99久久精品国产毛片| 国产精品不卡一区| jlzzjlzz欧美大全| 亚洲视频在线观看三级| 色综合久久中文综合久久牛| 亚洲欧美区自拍先锋| 色国产精品一区在线观看| 亚洲欧美日韩综合aⅴ视频| 97精品超碰一区二区三区| 亚洲精品菠萝久久久久久久| 一本大道久久a久久精品综合| 亚洲精品视频免费看| 欧美系列日韩一区| 视频一区二区国产| 欧美电视剧免费全集观看| 久久99精品国产麻豆婷婷| 欧美精品一区二区三区一线天视频| 毛片一区二区三区| 久久久蜜桃精品| 成人免费视频一区二区| 亚洲精品国产无天堂网2021| 欧美在线高清视频| 日韩av中文在线观看| 欧美videos中文字幕| 国产成人精品午夜视频免费| |精品福利一区二区三区| 欧美自拍偷拍一区| 麻豆精品久久久| 国产区在线观看成人精品| 91色porny在线视频| 日韩精品亚洲专区| 久久久久国产精品厨房| 99久久精品国产观看| 天天操天天综合网| 久久综合精品国产一区二区三区| 成人网男人的天堂| 亚洲不卡av一区二区三区| 精品成人私密视频| 91麻豆免费观看| 美女网站在线免费欧美精品| 中文字幕国产一区| 欧美人成免费网站| 风流少妇一区二区| 天天亚洲美女在线视频| 国产亚洲精品aa| 在线这里只有精品| 国产一区久久久| 亚洲综合区在线| 久久精品夜色噜噜亚洲aⅴ| 在线免费观看成人短视频| 久久精品国产99| 一区二区三区国产精华| 久久欧美中文字幕| 欧美日韩一级视频| 成人国产在线观看| 久久精品国产一区二区三区免费看| 亚洲国产成人私人影院tom| 欧美福利一区二区| 色综合天天做天天爱| 国产乱码精品一区二区三区五月婷| 亚洲制服丝袜av| 国产欧美一区二区精品婷婷| 91精品国产手机| 在线视频观看一区| 成人av在线一区二区| 美女网站视频久久| 婷婷久久综合九色综合绿巨人|