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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? xzipdemo.bas

?? 開發工具是vc
?? BAS
字號:
Attribute VB_Name = "XZIPDEMO1"
Option Explicit

' Variable to communicate to the ExtractDialog form

Public ExtractDialogCanceled As Boolean

' Constants to determine characteristics of Zip Open Dialog

Public Const OpenZip = 0
Public Const NewZip = 1
Public Const TestZip = 2
Public Const FixZip = 3
Public Const DeleteZip = 4
Public Const SelectBin = 5

' Constants to determine command executed by ExecuteSelFilesCmd

Public Const SF_Delete = 0
Public Const SF_Extract = 1

' This function counts the number of files in the list of files
' of the type returned by the SelectFilesToProcess function.

Public Function CountFilesInList(ByVal FileList As String) As Integer

   Dim Count As Integer
   Dim Pos As Integer
   
   Count = 0
   For Pos = 1 To Len(FileList)
      If Mid$(FileList, Pos, 1) = Chr(0) Then Count = Count + 1
   Next Pos
   
   If Count = 0 Then Count = 1
   
   CountFilesInList = Count

End Function


' This function takes a list of files of the type that is returned by
' the SelectFilesToProcess function, and returns a single file (with
' pathname).

Public Function GetFileFromList(ByVal FileList As String, FileNumber As Integer) As String

   Dim Pos As Integer
   Dim Count As Integer
   Dim FNStart As Integer
   Dim FNLen As Integer
   Dim Path As String

   If InStr(FileList, Chr(0)) = 0 Then
      GetFileFromList = FileList
   Else
      Count = 0
      Path = Left$(FileList, InStr(FileList, Chr(0)) - 1)
      If Right$(Path, 1) <> "\" Then Path = Path + "\"
      FileList = FileList + Chr(0) 'Addition de Chr(0) a la place de ""
      For Pos = 1 To Len(FileList)
         If Mid$(FileList, Pos, 1) = Chr(0) Then
            Count = Count + 1
            If Count = FileNumber Then FNStart = Pos + 1
            If Count = (FileNumber + 1) Then
               FNLen = Pos - FNStart
               Exit For
            End If
         End If
      Next Pos
      GetFileFromList = Path + Mid$(FileList, FNStart, FNLen)
   End If

End Function

' This is a generic error handling procedure for the Xceed Zip OCX.
' It opens a message box containing a brief description of an
' error that has occured when manipulating Zip files.
'
' Pass the return code from any method (like CmdAdd, CmdExtract...)
' in the ErrorCode parameter, and one word describing the current
' operation in the DoingWhat parameter.
'
Public Sub HandleError(ErrorCode As Integer, DoingWhat As String)

   Dim EDesc    As String     ' Error description text
   Dim InfoOnly As Integer    ' False=Error, True=Warning

   EDesc = "" ' If this stays empty, we will not show a MsgBox
   InfoOnly = False

   If ErrorCode > XcdSuccess Then
    
      Select Case ErrorCode
         Case XcdWarningGeneral, XcdWarningNoZipFile, XcdErrorNothingToDo
            Rem Do not show a MsgBox for these codes
         Case XcdWarningEmptyZipFile
            EDesc = "The Zip file is empty."
            InfoOnly = True
         Case XcdWarningFilesSkipped
            EDesc = "Some files were skipped while " + DoingWhat + "."
            InfoOnly = True
         Case XcdErrorUserAbort
            EDesc = "The " + DoingWhat + " operation was aborted."
            InfoOnly = True
         Case XcdErrorNoZipFile
            EDesc = "Could not find the archive file."
         Case XcdErrorEOF, XcdErrorZipStruct
            EDesc = "The archive file is corrupted. Try using the Fix option on it."
         Case XcdErrorMemory
            EDesc = "Ran out of memory while " + DoingWhat + "."
         Case XcdErrorDiskFull
            If frmMain.ZipMain.MultidiskMode Then
               EDesc = "A full disk was inserted instead of an empty one."
            Else
               EDesc = "Disk full while " + DoingWhat + "."
            End If
         Case XcdErrorTestFailed
            EDesc = "Test failed - errors in the archive."
         Case XcdErrorZeroTested
            EDesc = "No files ended up being tested in the archive."
         Case XcdErrorTempFile
            EDesc = "Problem with the temporary file."
         Case XcdErrorLatest
            EDesc = "Could not update the Zip archive date. Archive only contains directories or is empty."
         Case XcdErrorLibInUse
            EDesc = "Another application is currently performing a similar task. Wait until the other application has completed its operation."
         Case XcdErrorParentDir
            EDesc = "Attempt to remove parent directory."
         Case XcdErrorDOSError
            EDesc = "Read/Write error with the Zip file or one of the files to process."
         Case XcdErrorNameRepeat
            EDesc = "Names repeated in archive after discarding pathnames."
         Case XcdErrorMultidisk
            EDesc = "Cannot work on multiple-disk archives when not in Multidisk mode."
         Case XcdErrorWrongDisk
            EDesc = "Wrong disk was inserted too many times."
         Case XcdErrorMultiDiskBadCall
            EDesc = "Operation not supported for Multidisk Zip archives."
         Case XcdErrorCantOpenBinary
            EDesc = "Could not open the self-extractor binary."
         Case XcdErrorCantOpenSFXConfig
            EDesc = "Could not open the self-extractor configuration file"
         Case XcdErrorInvalidEventParam
            EDesc = "Invalid command parameter passed to an Xceed Zip event."
         Case XcdErrorCantWriteSfx
            EDesc = "Not enough space on first disk to write self-extractor."
         Case XcdErrorRead
            EDesc = "Problem reading from file while " + DoingWhat + "."
         Case XcdErrorWrite
            EDesc = "Problem writing to file while " + DoingWhat + "."
         Case XcdErrorCantCreateFile
            EDesc = "Problem creating file while " + DoingWhat + "."
         Case XcdErrorBinaryVersion
            EDesc = "Invalid self-extractor binary version."
         Case XcdErrorNotLicensed
            EDesc = "This application was created with an unlicensed copy of the " + _
                    "Xceed Zip component. It will only run in design mode."
         Case XcdErrorCantCreateDir
            EDesc = "Problem creating destination directory while " + DoingWhat + "."
         Case XcdErrorBadCall
            EDesc = "Invalid property settings. Check your code."
         Case Else
            EDesc = "An error occured while " + DoingWhat + " the specified files."
      End Select

   End If

   If Len(EDesc) > 0 Then
      If InfoOnly Then
         MsgBox EDesc, vbExclamation      ' A warning
      Else
         MsgBox EDesc, vbCritical         ' An error
      End If
   End If

End Sub

'ODIODI
' This function opens a dialog and lets the user select multiple
' files to be operated on.
'
' This function will return the full path and filename of each
' and every selected file, all concatenated in one big string.
' If the Cancel button was used, then the function will return
' an empty string.
'
' Note: The dialog used is limited to 255 characters total for
' the entire file list string. If too many files are selected,
' the file list will be cut and "file not found" errors will occur.
'
Public Function SelectFilesToProcess(Title As String) As String

   With frmMain.dlgSelectFiles
      .CancelError = False
      .FileName = ""

      .Flags = cdlOFNFileMustExist + cdlOFNNoChangeDir + cdlOFNHideReadOnly + cdlOFNExplorer + cdlOFNAllowMultiselect + cdlOFNLongNames

      .DialogTitle = Title
      .ShowOpen

      If Len(.FileName) > 0 Then
         SelectFilesToProcess = .FileName
      End If
   End With
   
End Function
'ODIODI
' This function takes a string containing a path and tries to make it
' fit into a given control's display space (i.e: Panel and label captions.)
' Note: It considers a '\' to indicate the presence of a path in the string.
'
Function ShortenPathForDisplay(aString As String, aForm As Object, Width As Integer) As String

  Dim TempString As String
  Dim Pos As Long
  Dim Pos2 As Long
    
  TempString = aString
  
  While aForm.TextWidth(TempString) > Width
    
    Pos = InStr(1, TempString, "...")
    If Pos > 0 Then
      TempString = Left$(TempString, Pos - 1) + Right$(TempString, Len(TempString) - Pos - 3)
    End If
    
    Pos = InStr(3, TempString, "\")
    Pos2 = InStr(Pos + 1, TempString, "\")
    
    If Pos2 = 0 Then
      ShortenPathForDisplay = Left$(TempString, Pos) + "..." + Right$(TempString, Len(TempString) - Pos + 1)
      Exit Function
    End If
    
    TempString = Left$(TempString, Pos) + "..." + Right$(TempString, Len(TempString) - Pos2 + 1)
    
  Wend
  ShortenPathForDisplay = TempString
End Function

' This function opens up a 'Open File' Dialog to have the
' user select a Zip file. Depending on the DialogType parameter,
' the behavior of the dialog is different.
'
' This function will return the full path and filename of the
' selected Zip file. If the Cancel button was used, then the
' function will return an empty string.
'
Public Function SelectZipFile$(DialogType As Integer)

   With frmMain.dlgSelectZip
      
      .FileName = ""
      .Flags = cdlOFNFileMustExist + cdlOFNNoChangeDir + cdlOFNHideReadOnly
      .Filter = "Zip archives (*.zip)|*.zip|Self-extracting Zip archives (*.exe)|*.exe|All files (*.*)|*.*"
      
      Select Case DialogType
         Case OpenZip
            .DialogTitle = "Open Archive"
            .Action = 1
         Case NewZip
            .Flags = cdlOFNOverwritePrompt + cdlOFNNoChangeDir + cdlOFNHideReadOnly
            .DialogTitle = "New Archive"
            .Action = 2  ' Pretend we are saving file. A new archive is really created when Adding files.
         Case TestZip
            .DialogTitle = "Test Archive"
            .Action = 1
         Case FixZip
            .DialogTitle = "Fix Archive"
            .Action = 1
         Case DeleteZip
            .DialogTitle = "Delete Archive"
            .Action = 1
         Case SelectBin
            .FileName = ""
            .Filter = "Self-extractor binary (*.bin)|*.bin|All files (*.*)|*.*"
            .DialogTitle = "Select self-extractor binary"
            .Action = 1
      End Select

      SelectZipFile = .FileName
   End With
   
End Function


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本一区二区三区免费乱视频| 4438亚洲最大| 国产女主播一区| 成人国产免费视频| 成人欧美一区二区三区1314| 成人激情视频网站| 成人免费在线播放视频| 在线一区二区三区四区| 亚洲电影视频在线| 日韩欧美久久久| 国产伦理精品不卡| 亚洲免费在线电影| 777久久久精品| 国产成人av自拍| 一区二区高清免费观看影视大全 | 国产丶欧美丶日本不卡视频| 国产亚洲一区二区三区| 波多野结衣在线aⅴ中文字幕不卡| 亚洲欧美日韩国产另类专区| 7777女厕盗摄久久久| 国产在线国偷精品产拍免费yy| 国产精品久久久久一区| 精品视频1区2区3区| 韩国成人在线视频| 亚洲已满18点击进入久久| 日韩三级.com| 一本到不卡免费一区二区| 秋霞国产午夜精品免费视频| 日本一区二区成人| 欧美久久一区二区| 成人黄色小视频在线观看| 三级欧美在线一区| 欧美极品少妇xxxxⅹ高跟鞋| 欧美日韩一区二区在线视频| 国产一区二区三区免费| 亚洲国产成人av网| 国产丝袜欧美中文另类| 7777精品伊人久久久大香线蕉的| 国产精品亚洲视频| 日韩精品欧美精品| 亚洲欧美区自拍先锋| 精品国产伦一区二区三区观看方式| 99久久久久久| 国产精品一区专区| 日韩黄色在线观看| 日韩美女视频19| 精品国产成人系列| 欧美高清视频www夜色资源网| www.日韩精品| 韩国三级中文字幕hd久久精品| 亚洲在线观看免费视频| 中文字幕不卡三区| wwwwxxxxx欧美| 337p亚洲精品色噜噜噜| 91电影在线观看| 成人h精品动漫一区二区三区| 久久精工是国产品牌吗| 亚洲sss视频在线视频| 日韩美女精品在线| 国产精品丝袜91| 久久久精品黄色| 4438成人网| 欧美日韩在线观看一区二区| 色综合中文综合网| 日本久久电影网| 不卡视频免费播放| 精品一区二区av| 青青草成人在线观看| 亚洲国产aⅴ成人精品无吗| 亚洲欧美日韩成人高清在线一区| 国产精品丝袜久久久久久app| 国产亚洲精久久久久久| 久久尤物电影视频在线观看| 精品三级在线观看| 亚洲精品一区二区三区福利| 精品国产区一区| 久久综合av免费| 久久久精品天堂| 国产精品福利电影一区二区三区四区| 国产欧美精品区一区二区三区| 国产午夜亚洲精品不卡| 国产色综合一区| 国产精品素人一区二区| 自拍偷拍国产亚洲| 亚洲影视在线观看| 日韩中文字幕91| 男男成人高潮片免费网站| 免费精品99久久国产综合精品| 奇米色一区二区三区四区| 午夜成人在线视频| 久久99精品久久久久久国产越南 | 久久麻豆一区二区| 久久久国产精华| 国产精品麻豆视频| 亚洲视频一二区| 亚洲国产成人tv| 免费在线观看视频一区| 国产一区二区三区国产| av在线这里只有精品| 色综合网色综合| 91精品国产综合久久福利软件| 精品久久国产字幕高潮| 中文字幕免费观看一区| 夜夜嗨av一区二区三区| 青青草97国产精品免费观看| 国产**成人网毛片九色| 色婷婷久久久亚洲一区二区三区 | eeuss鲁片一区二区三区| 在线免费观看不卡av| 8x福利精品第一导航| 久久久国产精华| 亚洲免费观看视频| 美女网站色91| 国产成人久久精品77777最新版本| 色综合久久综合网| 9191久久久久久久久久久| 久久蜜臀中文字幕| 亚洲不卡在线观看| 九色综合狠狠综合久久| 色婷婷久久久久swag精品| 欧美成人精品福利| 亚洲激情图片小说视频| 极品少妇一区二区三区精品视频| 99久久伊人久久99| 欧美一区二区在线观看| 国产精品视频一二三区| 日韩精品三区四区| 91在线观看视频| 日韩欧美国产综合在线一区二区三区| 国产精品久久久久久久久免费樱桃 | 亚洲图片欧美激情| 蜜桃av噜噜一区| 在线精品视频免费播放| 国产日韩av一区| 麻豆91在线播放免费| 99精品视频在线观看免费| 日韩欧美国产午夜精品| 一区二区三区四区中文字幕| 国产美女av一区二区三区| 欧美精品1区2区3区| 亚洲人成伊人成综合网小说| 国产在线观看免费一区| 欧美丰满少妇xxxxx高潮对白| 亚洲天天做日日做天天谢日日欢| 久久99国产精品免费| 欧美精品一卡两卡| 一区二区三区四区五区视频在线观看 | 国产成人av影院| 欧美大胆人体bbbb| 视频一区免费在线观看| 欧美最猛性xxxxx直播| 国产精品色呦呦| 国产成人亚洲综合a∨婷婷图片 | 亚洲午夜一区二区三区| 99久久精品情趣| 国产午夜精品一区二区| 国内成+人亚洲+欧美+综合在线| 在线不卡a资源高清| 一个色综合av| 国产精品69久久久久水密桃| 日韩一区二区影院| 青娱乐精品在线视频| 日韩视频在线你懂得| 日韩高清国产一区在线| 欧美日韩成人一区| 天天免费综合色| 7777精品伊人久久久大香线蕉的 | 久久久久国产精品厨房| 毛片av一区二区三区| 91麻豆精品国产自产在线| 亚洲综合一区二区精品导航| 色综合久久综合网欧美综合网| 中文字幕在线不卡一区| 99久久久精品| 一区二区日韩av| 欧美性猛交xxxx乱大交退制版 | 亚洲午夜电影在线观看| 91麻豆123| 亚洲午夜激情av| 91精品国产乱码| 日本午夜一本久久久综合| 欧美日韩在线播| 热久久免费视频| 久久久久国产免费免费| av在线不卡网| 亚洲一级不卡视频| 91精品国产综合久久精品图片| 天天爽夜夜爽夜夜爽精品视频| 日韩一级片在线播放| 国产一区在线不卡| 亚洲欧洲99久久| 欧美日韩精品一区二区三区蜜桃 | 亚瑟在线精品视频| 欧美精品v日韩精品v韩国精品v| 精品一区二区三区免费播放| 国产欧美一区二区三区在线看蜜臀 | 欧美在线影院一区二区| 亚欧色一区w666天堂| 久久亚洲综合色| 91在线小视频|