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

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

?? setup1.bas

?? 數(shù)據(jù)庫課程設(shè)計(jì)
?? BAS
?? 第 1 頁 / 共 5 頁
字號(hào):
CheckDSAskSpace:
    '
    'if the user hasn't been prompted before in the event of not enough free space,
    'then display table of drive space and allow them to (basically) abort, retry,
    'or ignore.
    '
    If fDontAskOnSpaceErr = False Then
        If gfNoUserInput Then
            If gfSilent = True Then
                LogSilentMsg ResolveResString(resLBLNOSPACE)
            End If
            If gfSMS = True Then
                LogSMSMsg ResolveResString(resLBLNOSPACE)
            End If
            ExitSetup frmSetup1, gintRET_FATAL
        Else
            frmDskSpace.Show vbModal
        End If
        
        If gfRetVal <> gintRET_CONT Then
            CheckDiskSpace = False
            Exit Function
        Else
            fDontAskOnSpaceErr = True
        End If
    End If

    Return
End Function

'-----------------------------------------------------------
' FUNCTION: CheckDrive
'
' Check to see if the specified drive is ready to be read
' from.  In the case of a drive that holds removable media,
' this would mean that formatted media was in the drive and
' that the drive door was closed.
'
' IN: [strDrive] - drive to check
'     [strCaption] - caption if the drive isn't ready
'
' Returns: True if the drive is ready, False otherwise
'-----------------------------------------------------------
'
Function CheckDrive(ByVal strDrive As String, ByVal strCaption As String) As Integer
    Dim strDir As String
    Dim strMsg As String
    Dim fIsUNC As Boolean

    On Error Resume Next

    SetMousePtr vbHourglass

    Do
        Err = 0
        fIsUNC = False
        '
        'Attempt to read the current directory of the specified drive.  If
        'an error occurs, we assume that the drive is not ready
        '
        If IsUNCName(strDrive) Then
            fIsUNC = True
            strDir = Dir$(GetUNCShareName(strDrive))
        Else
            strDir = Dir$(Left$(strDrive, 2))
        End If

        If Err > 0 Then
            If fIsUNC Then
                strMsg = Error$ & vbLf & vbLf & ResolveResString(resCANTREADUNC, "|1", strDrive) & vbLf & vbLf & ResolveResString(resCHECKUNC)
            Else
                strMsg = Error$ & vbLf & vbLf & ResolveResString(resDRVREAD) & strDrive & vbLf & vbLf & ResolveResString(resDRVCHK)
            End If
            If MsgError(strMsg, vbExclamation Or vbRetryCancel, strCaption) = vbCancel Then
                CheckDrive = False
                Err = 0
            End If
        Else
            CheckDrive = True
        End If
        
        If Err And gfNoUserInput = True Then
            ExitSetup frmSetup1, gintRET_FATAL
        End If
    Loop While Err

    SetMousePtr gintMOUSE_DEFAULT
End Function

'-----------------------------------------------------------
' FUNCTION: CheckOverwritePrivateFile
'
' Checks if a private file that we are about to install
' already exists in the destination directory.  If it
' does, it asks if they want to overwrite the file
'
' IN: [strFN] - Full path of the private file that is
'               about to be installed.
'
'-----------------------------------------------------------
'
Public Function CheckOverwritePrivateFile(ByVal strFN As String) As Boolean
    Static fNoToAll As Boolean
    
    If fNoToAll Then 'They've already said no to all, don't ask again
        CheckOverwritePrivateFile = False
        Exit Function
    End If
    If FileExists(strFN) Then
        Do
            Select Case MsgFunc(ResolveResString(resOVERWRITEPRIVATE) & vbLf & vbLf & ResolveResString(resCANCELSETUP), vbYesNo Or vbDefaultButton1 Or vbExclamation, gstrTitle)
                Case vbYes
                    'The user chose to cancel.  (This is best.)
                    gfDontLogSMS = True  ' Don't log this message if SMS because we already logged the previous one and we can only use 255 characters.
                    MsgError ResolveResString(resCHOOSENEWDEST), vbOKOnly, gstrTitle
                    ExitSetup frmCopy, gintRET_FATAL
                Case Else
                    'One more level of warning to let them know that we highly
                    '  recommend cancelling setup at this point
                    Select Case MsgFunc(ResolveResString(resOVERWRITEPRIVATE2) & vbLf & vbLf & ResolveResString(resVERIFYCONTINUE), vbYesNo Or vbDefaultButton2 Or vbExclamation, gstrTitle)
                        Case vbNo
                            'User chose "no, don't continue"
                            'Repeat the first-level warning
                        Case Else
                            'They decided to continue anyway
                            Exit Do
                        'End Case
                    End Select
                'End Case
            End Select
        Loop
    Else
        CheckOverwritePrivateFile = True
    End If
End Function

'-----------------------------------------------------------
' FUNCTION: CopyFile
'
' Uses the Windows VerInstallFile API to copy a file from
' the specified source location/name to the destination
' location/name.  Split files should be combined via the
' '...Concat...' file routines before calling this
' function.
' If the file is successfully updated and the file is a
' shared file (fShared = True), then the
' files reference count is updated (32-bits only)
'
' IN: [strSrcDir] - directory where source file is located
'     [strDestDir] - destination directory for file
'     [strSrcName] - name of source file
'     [strDestName] - name of destination file
'
' PRECONDITION: NewAction() must have already been called
'               for this file copy (of type either
'               gstrKEY_SHAREDFILE or gstrKEY_PRIVATE --
'               see CopySection for an example of how
'               this works).  See NewAction() and related
'               functions in LOGGING.BAS for comments on
'               using the logging function.
'               Either CommitAction() or AbortAction() will
'               allows be called by this procedure, and
'               should not be done by the caller.
'
' Returns: True if copy was successful, False otherwise
'
' POSTCONDITION: The current action will be either committed or
'                aborted.
'-----------------------------------------------------------
'
Function CopyFile(ByVal strSrcDir As String, ByVal strDestDir As String, ByVal strSrcName As String, ByVal strDestName As String, ByVal fShared As Boolean, ByVal fSystem As Boolean, Optional ByVal fOverWrite As Boolean = False) As Boolean
    Const intUNKNOWN% = 0
    Const intCOPIED% = 1
    Const intNOCOPY% = 2
    Const intFILEUPTODATE% = 3

    '
    'VerInstallFile() Flags
    '
    Const VIFF_FORCEINSTALL% = &H1
    Const VIF_TEMPFILE& = &H1
    Const VIF_SRCOLD& = &H4
    Const VIF_DIFFLANG& = &H8
    Const VIF_DIFFCODEPG& = &H10
    Const VIF_DIFFTYPE& = &H20
    Const VIF_WRITEPROT& = &H40
    Const VIF_FILEINUSE& = &H80
    Const VIF_OUTOFSPACE& = &H100
    Const VIF_ACCESSVIOLATION& = &H200
    Const VIF_SHARINGVIOLATION = &H400
    Const VIF_CANNOTCREATE = &H800
    Const VIF_CANNOTDELETE = &H1000
    Const VIF_CANNOTRENAME = &H2000
    Const VIF_OUTOFMEMORY = &H8000&
    Const VIF_CANNOTREADSRC = &H10000
    Const VIF_CANNOTREADDST = &H20000
    Const VIF_BUFFTOOSMALL = &H40000

    Static fIgnoreWarn As Integer             'user warned about ignoring error?

    Dim strMsg As String
    Dim lRC As Long
    Dim lpTmpNameLen As Long
    Dim intFlags As Integer
    Dim intRESULT As Integer
    Dim fFileAlreadyExisted

    On Error Resume Next

    CopyFile = False

    '
    'Ensure that the source file is available for copying
    '
    If DetectFile(strSrcDir & strSrcName) = vbIgnore Then
        AbortAction
        Exit Function
    End If
    
    '
    ' Make sure that the Destination path (including path, filename, commandline args, etc.
    ' is not longer than the max allowed.
    '
    If Not fCheckFNLength(strDestDir & strDestName) Then
        AbortAction
        strMsg = ResolveResString(resCANTCOPYPATHTOOLONG) & vbLf & vbLf & ResolveResString(resCHOOSENEWDEST) & vbLf & vbLf & strDestDir & strDestName
        Call MsgError(strMsg, vbOKOnly, gstrSETMSG)
        ExitSetup frmCopy, gintRET_FATAL
        Exit Function
    End If
    '
    'Make the destination directory, prompt the user to retry if there is an error
    '
    If Not MakePath(strDestDir) Then
        AbortAction ' Abort file copy
        Exit Function
    End If

    '
    'Make sure we have the LFN (long filename) of the destination directory
    '
    strDestDir = GetLongPathName(strDestDir)
    
    '
    'Setup for VerInstallFile call
    '
    lpTmpNameLen = gintMAX_SIZE
    mstrVerTmpName = String$(lpTmpNameLen, 0)
    intFlags = 0
    If fOverWrite Then intFlags = VIFF_FORCEINSTALL
    fFileAlreadyExisted = FileExists(strDestDir & strDestName)

    intRESULT = intUNKNOWN

    Do While intRESULT = intUNKNOWN
        'VerInstallFile under Windows 95 does not handle
        '  long filenames, so we must give it the short versions
        '  (32-bit only).
        Dim strShortSrcName As String
        Dim strShortDestName As String
        Dim strShortSrcDir As String
        Dim strShortDestDir As String
        
        strShortSrcName = strSrcName
        strShortSrcDir = strSrcDir
        strShortDestName = strDestName
        strShortDestDir = strDestDir
        If Not FileExists(strDestDir & strDestName) Then
            'If the destination file does not already
            '  exist, we create a dummy with the correct
            '  (long) filename so that we can get its
            '  short filename for VerInstallFile.
            Open strDestDir & strDestName For Output Access Write As #1
            Close #1
        End If
    
        On Error GoTo UnexpectedErr
        If Not IsWindowsNT() Then
            Dim strTemp As String
            'This conversion is not necessary under Windows NT
            strShortSrcDir = GetShortPathName(strSrcDir)
            If GetFileName(strSrcName) = strSrcName Then
                strShortSrcName = GetFileName(GetShortPathName(strSrcDir & strSrcName))
            Else
                strTemp = GetShortPathName(strSrcDir & strSrcName)
                strShortSrcName = Mid$(strTemp, Len(strShortSrcDir) + 1)
            End If
            strShortDestDir = GetShortPathName(strDestDir)
            strShortDestName = GetFileName(GetShortPathName(strDestDir & strDestName))
        End If
        On Error Resume Next
            
        lRC = VerInstallFile(intFlags, strShortSrcName, strShortDestName, strShortSrcDir, strShortDestDir, 0&, mstrVerTmpName, lpTmpNameLen)
        If Err <> 0 Then
            '
            'If the version or file expansion DLLs couldn't be found, then abort setup
            '
            ExitSetup frmCopy, gintRET_FATAL
        End If

        If lRC = 0 Then
            '
            'File was successfully installed, increment reference count if needed
            '
            

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩成人精品在线观看| 欧美美女黄视频| 日韩精品一区二区三区三区免费| 亚洲精品中文在线观看| 成人国产精品免费观看视频| 久久先锋资源网| 国内精品国产三级国产a久久| 欧美一级高清大全免费观看| 香蕉av福利精品导航| 欧美日韩国产美| 亚洲444eee在线观看| 欧美三级电影一区| 午夜影院久久久| 欧美一区二区三区四区久久| 亚洲一二三四在线| 欧美无砖砖区免费| 午夜精品福利视频网站| 日韩午夜三级在线| 国产成人日日夜夜| 亚洲视频1区2区| 91福利区一区二区三区| 日韩制服丝袜av| 欧美xingq一区二区| 国产乱色国产精品免费视频| 国产午夜精品久久久久久免费视| 成人久久18免费网站麻豆 | 91一区二区三区在线观看| 日本一区二区三区视频视频| 不卡av电影在线播放| 一区二区在线观看免费视频播放| 在线观看一区二区精品视频| 日产国产欧美视频一区精品| 久久久久亚洲综合| 色综合久久88色综合天天免费| 亚洲成人免费看| 26uuu成人网一区二区三区| 国产.欧美.日韩| 一区二区三区国产精华| 7777精品久久久大香线蕉| 国产激情偷乱视频一区二区三区| 国产精品无人区| 欧美肥妇bbw| 国产成人精品亚洲午夜麻豆| 午夜欧美在线一二页| 精品国偷自产国产一区| 成人午夜av影视| 亚洲欧美日韩国产中文在线| 欧美草草影院在线视频| 97se亚洲国产综合自在线不卡| 亚洲国产美女搞黄色| 国产日韩欧美制服另类| 欧美自拍偷拍一区| 极品美女销魂一区二区三区| 亚洲日本va午夜在线影院| 日韩欧美一区二区久久婷婷| 99r精品视频| 久久不见久久见免费视频7 | 国产电影一区在线| 亚洲一区二区三区在线| 国产亚洲一区二区三区在线观看 | 成a人片国产精品| 亚洲影院免费观看| 久久久久综合网| 91精品国产色综合久久不卡蜜臀| 国产99久久精品| 免费不卡在线观看| 亚洲午夜久久久久久久久久久| 国产婷婷色一区二区三区四区| 欧美日韩精品是欧美日韩精品| 国产曰批免费观看久久久| 亚洲精选视频在线| 久久久久99精品一区| 日韩一二在线观看| 欧美视频在线观看一区二区| 成人av网站在线观看免费| 久久99精品久久久久久久久久久久 | 欧美色综合影院| 成人污污视频在线观看| 韩国v欧美v亚洲v日本v| 蜜臀99久久精品久久久久久软件| 亚洲丝袜美腿综合| 亚洲国产精品国自产拍av| 欧美精品一区二区三区很污很色的| 欧美乱熟臀69xxxxxx| 91豆麻精品91久久久久久| 成人a区在线观看| 国产成人av一区| 国产精品1区二区.| 国产精品资源在线观看| 亚洲与欧洲av电影| 亚洲国产综合色| 亚洲国产日韩综合久久精品| 一区二区欧美在线观看| 亚洲主播在线观看| 亚洲电影激情视频网站| 亚洲午夜日本在线观看| 午夜精品视频在线观看| 亚洲国产视频在线| 亚洲18影院在线观看| 亚洲一区二区av电影| 亚洲成人1区2区| 午夜久久久久久电影| 免费高清在线一区| 日韩在线a电影| 国产精品区一区二区三| 亚洲丝袜另类动漫二区| 亚洲va韩国va欧美va精品| 久久99国产精品麻豆| 成人一区在线观看| 精品视频一区三区九区| 欧美本精品男人aⅴ天堂| 亚洲欧洲在线观看av| 亚洲一区二区在线免费观看视频| 蜜臀久久99精品久久久画质超高清 | 国产精品福利一区| 婷婷成人激情在线网| 国产一区二区三区四区五区美女| 91在线免费看| 日韩三级伦理片妻子的秘密按摩| 中文字幕乱码日本亚洲一区二区| 亚洲免费在线观看| 狠狠色丁香婷综合久久| 在线精品视频一区二区三四 | 成人手机电影网| 欧美精品18+| 日韩一区欧美小说| 精品亚洲aⅴ乱码一区二区三区| 91在线精品一区二区三区| 欧美一区二区三区喷汁尤物| 中文字幕在线不卡| 精品一二线国产| 欧美日韩一区成人| 国产精品视频麻豆| 精品亚洲成a人| 欧美日韩黄色一区二区| 亚洲天堂久久久久久久| 国产乱对白刺激视频不卡| 欧美日韩极品在线观看一区| 国产精品久久免费看| 美女视频网站久久| 欧美性感一类影片在线播放| 国产精品色噜噜| 青青草视频一区| 日本大香伊一区二区三区| 国产欧美日本一区视频| 看电视剧不卡顿的网站| 欧美日韩国产天堂| 一区二区三区精品视频在线| 国产宾馆实践打屁股91| 精品国产一区久久| 老司机午夜精品| 欧美日韩一区二区三区免费看| 国产精品国产三级国产普通话蜜臀 | 青椒成人免费视频| 欧美精品xxxxbbbb| 一区二区在线观看免费| 成人av网址在线观看| 国产精品美女久久久久aⅴ| 韩国一区二区三区| 精品国产免费人成在线观看| 日本不卡123| 日韩一级视频免费观看在线| 天堂va蜜桃一区二区三区| 欧美日韩免费高清一区色橹橹| 一区二区三区丝袜| 91成人免费在线视频| 亚洲精品中文在线| 91久久精品一区二区三区| 综合精品久久久| 91香蕉视频污| 亚洲黄色录像片| 欧美视频自拍偷拍| 天堂va蜜桃一区二区三区漫画版| 欧美久久久久免费| 麻豆专区一区二区三区四区五区| 欧美一区二区三区色| 经典三级视频一区| 久久精品视频一区二区三区| 国产91露脸合集magnet| 国产精品的网站| 在线免费观看日韩欧美| 午夜精品福利一区二区蜜股av| 日韩一区二区视频| 精品在线观看免费| 国产女主播一区| 日本精品免费观看高清观看| 亚洲国产欧美日韩另类综合| 日韩欧美一区电影| 国产不卡免费视频| 一区二区视频在线| 日韩一级成人av| 国产成人精品免费看| 伊人性伊人情综合网| 日韩一区二区电影网| 国产91精品精华液一区二区三区| 最新国产精品久久精品| 欧美天天综合网| 国产精品一区二区果冻传媒| 国产精品久久久久9999吃药| 欧美无乱码久久久免费午夜一区 |