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

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

?? basmain.bas

?? a Tiger Hash algorithmn code
?? BAS
?? 第 1 頁 / 共 2 頁
字號:
    strPath = strAppPath & strFileName
    
    ' Check application folder
    If FileExists(strPath) Then
        blnFoundIt = True
    End If
        
    If Not blnFoundIt Then
        
        ' Get the path to the Windows folder
        ' (Winnt, Windows, etc.)
        strWinPath = Space$(MAX_SIZE)                     ' Pad with spaces
        GetWindowsDirectory strWinPath, MAX_SIZE          ' Make API call
        strWinPath = RemoveTrailingNulls(strWinPath)      ' Save just the return data
        strPath = QualifyPath(strWinPath) & strFileName   ' Append filename
        
        ' Check Windows folder
        If FileExists(strPath) Then
            blnFoundIt = True
        End If
    End If
    
    If Not blnFoundIt Then
    
        ' Get the path to the Windows System folder
        strSysPath = Space$(MAX_SIZE)                     ' Pad with spaces
        GetSystemDirectory strSysPath, MAX_SIZE           ' Make API call
        strSysPath = RemoveTrailingNulls(strSysPath)      ' Save just the return data
        strPath = QualifyPath(strSysPath) & strFileName   ' Append filename
        
        ' Check Windows System folder
        If FileExists(strPath) Then
            blnFoundIt = True
        End If
    End If
   
    
FindRequiredFile_CleanUp:
    If blnFoundIt Then
        strFullPath = strPath       ' Return full path/filename
    Else
        InfoMsg "A required file that supports this application cannot be found." & _
                vbCrLf & vbCrLf & _
                Chr$(34) & StrConv(strFileName, vbUpperCase) & Chr$(34) & _
                " is not in any of these folders:" & vbCrLf & vbCrLf & _
                strAppPath & vbCrLf & _
                strWinPath & vbCrLf & _
                strSysPath, "File not found"
    End If
    
    FindRequiredFile = blnFoundIt   ' Set status flag
    On Error GoTo 0                 ' Nullify this error trap
    Exit Function

FindRequiredFile_Error:
    ErrorMsg MODULE_NAME, "FindRequiredFile", Err.Description
    blnFoundIt = False
    Resume FindRequiredFile_CleanUp
  
End Function

' ***************************************************************************
' Routine:       FileExists
'
' Description:   Test to see if a file exists.
'
' Syntax:        FileExists("C:\Program Files\Desktop.ini")
'
' Parameters:    strFilename - Path\filename to be queried.
'
' Returns:       True or False
'
' ===========================================================================
'    DATE      NAME / eMAIL
'              DESCRIPTION
' -----------  --------------------------------------------------------------
' dd-mmm-1997  Bruce McKinney "Hardcore Visual Basic"
'              http://vb.mvps.org/hardweb/mckinney.htm
' ***************************************************************************
Public Function FileExists(ByVal strFileName As String) As Boolean
    
    Dim lngAttrib As Long
    
    On Error GoTo FileExists_Exit
    
    lngAttrib = GetFileAttributes(strFileName)

    If (lngAttrib <> INVALID_HANDLE_VALUE) Then
        FileExists = CBool((lngAttrib And vbDirectory) <> vbDirectory)
    End If

FileExists_Exit:

End Function

' ***************************************************************************
' Routine:       PathExists
'
' Description:   Does a path exists.  A trailing backslash is ignored.
'
' Syntax:        PathExists("C:\Program Files")
'
' Parameters:    strPath - Path to be queried.
'
' Returns:       True or False
'
' ===========================================================================
'    DATE      NAME / eMAIL
'              DESCRIPTION
' -----------  --------------------------------------------------------------
' dd-mmm-1997  Bruce McKinney "Hardcore Visual Basic"
'              http://vb.mvps.org/hardweb/mckinney.htm
' ***************************************************************************
Public Function PathExists(ByVal strPath As String) As Boolean

    Dim lngAttrib As Long
    
    On Error GoTo PathExists_Exit
    
    lngAttrib = GetFileAttributes(strPath)

    If (lngAttrib <> INVALID_HANDLE_VALUE) Then
        PathExists = CBool((lngAttrib And vbDirectory) = vbDirectory)
    End If

PathExists_Exit:

End Function

' ***************************************************************************
' Routine:       AlreadyRunning
'
' Description:   This routine will determine if an application is already
'                active, whether it be hidden, minimized, or displayed.
'
' Parameters:    strTitle - partial/full name of application
'
' Returns:       TRUE  - Currently active
'                FALSE - Inactive
'
' ===========================================================================
'    DATE      NAME / DESCRIPTION
' -----------  --------------------------------------------------------------
' 19-DEC-2004  Kenneth Ives  kenaso@tx.rr.com
'              Wrote routine
' ***************************************************************************
Public Function AlreadyRunning(ByVal strTitle As String) As Boolean

    Dim hMutex As Long

    On Error GoTo AlreadyRunning_Error

    AlreadyRunning = False  ' preset flag to FALSE
    SetDebugMode            ' attempt to set the debug flag
     
    ' if in the VB IDE we do not care
    ' about multiple versions executing.
    If mblnIDE_Environment Then
        Exit Function   ' allows restarting of this application
    End If

    ' Try to create a new Mutex handle
    hMutex = CreateMutex(ByVal 0&, 1, strTitle)

    ' Did the mutex already exist?
    If (Err.LastDllError = ERROR_ALREADY_EXISTS) Then
         
        ReleaseMutex hMutex     ' Release Mutex handle from memory
        CloseHandle hMutex      ' Close the Mutex handle
        Err.Clear               ' Clear any errors
        AlreadyRunning = True   ' prior version already active
    
    Else
        AlreadyRunning = False  ' no prior versions are active
    End If

AlreadyRunning_CleanUp:
    On Error GoTo 0             ' Nullify this error trap
    Exit Function

AlreadyRunning_Error:
    ErrorMsg MODULE_NAME, "AlreadyRunning", Err.Description
    Resume AlreadyRunning_CleanUp

End Function

Private Sub SetDebugMode()
    
    ' Set the DebugMode flag. This will only
    ' execute while in the VB IDE environment
    Debug.Assert InDebugMode

End Sub

Private Function InDebugMode() As Boolean
    
    ' Set mblnIDE_Environment to true. This happens only
    ' if the Debug.Assert call is successful.  It will
    ' only happen in the IDE environment.
    
    mblnIDE_Environment = True
    InDebugMode = True

End Function

' ***************************************************************************
' Routine:       QualifyPath
'
' Description:   Adds a trailing backslash to the path, if missing
'
' Parameters:    strPath - Current folder being processed.
'
' Returns:       Fully qualified path with trailing backslash
'
' ===========================================================================
'    DATE      NAME / DESCRIPTION
' -----------  --------------------------------------------------------------
' Unknown      Randy Birch http://vbnet.mvps.org/index.htmll
'              Original routine
' 14-MAY-2002  Kenneth Ives  kenaso@tx.rr.com
'              Modified/documented
' ***************************************************************************
Public Function QualifyPath(ByVal strPath As String) As String

    strPath = Trim$(strPath)    ' remove all leading and trailing blanks
    
    ' check for a trailing backslash
    If Right$(strPath, 1) <> "\" Then
        QualifyPath = strPath & "\"     ' add a backslash
    Else
        QualifyPath = strPath                   ' already has a backslash
    End If
      
End Function

' ***************************************************************************
' Routine:       UnQualifyPath
'
' Description:   Removes a trailing backslash to the path
'
' Parameters:    strPath - Current folder being processed.
'
' Returns:       Fully qualified path without a trailing backslash
'
' ===========================================================================
'    DATE      NAME / DESCRIPTION
' -----------  --------------------------------------------------------------
' Unknown      Randy Birch http://vbnet.mvps.org/index.htmll
'              Original routine
' 14-MAY-2002  Kenneth Ives  kenaso@tx.rr.com
'              Modified/documented
' ***************************************************************************
Public Function UnQualifyPath(ByVal strPath As String) As String

  'removes any trailing slash from the path
   strPath = Trim$(strPath)
   
   If Right$(strPath, 1) = "\" Then
       UnQualifyPath = Left$(strPath, Len(strPath) - 1)
   Else
       UnQualifyPath = strPath
   End If
   
End Function

' ***************************************************************************
' Routine:       SendEmail
'
' Description:   When the email hyperlink is clicked, this routine will fire.
'                It will create a new email message with the author's name in
'                the "To:" box and the name and version of the application
'                on the "Subject:" line.
'
' ===========================================================================
'    DATE      NAME / eMAIL
'              DESCRIPTION
' -----------  --------------------------------------------------------------
' 23-FEB-2000  Kenneth Ives  kenaso@tx.rr.com
'              Routine created
' ***************************************************************************
Public Sub SendEmail()

    Dim strMail As String

    On Error GoTo SendEmail_Error

    ' open the URL using the default browser
    strMail = "mailto:" & AUTHOR_EMAIL & "?subject=" & PGM_NAME & gstrVersion

    ' Send an email to the author by calling the ShellExecute API
    ShellExecute 0&, vbNullString, strMail, _
                 vbNullString, vbNullString, vbNormalFocus

SendEmail_CleanUp:
    On Error GoTo 0
    Exit Sub

SendEmail_Error:
    ErrorMsg MODULE_NAME, "SendEmail", Err.Description
    Resume SendEmail_CleanUp

End Sub

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区免费| 国产一区二区看久久| 日本成人超碰在线观看| www.色综合.com| 欧美一区二区三区免费在线看| 国产精品丝袜91| 麻豆成人av在线| 欧美日韩美女一区二区| 亚洲欧洲综合另类在线| 国产原创一区二区三区| 日韩欧美中文一区| 午夜不卡在线视频| 在线视频国产一区| 最新久久zyz资源站| 国产不卡在线视频| 久久久久国色av免费看影院| 免费高清视频精品| 欧美一级理论片| 一区二区三区四区在线播放| 成人精品免费看| 久久久精品2019中文字幕之3| 久久66热偷产精品| 日韩精品一区二区三区视频在线观看| 午夜精品福利一区二区三区av | 国产精品区一区二区三| 国产一区二区精品久久99| 欧美刺激脚交jootjob| 日本三级韩国三级欧美三级| 欧美日本不卡视频| 亚洲高清免费观看高清完整版在线观看| 91丨porny丨国产入口| 中文字幕中文在线不卡住| 春色校园综合激情亚洲| 国产精品久久夜| 91亚洲精品一区二区乱码| 18涩涩午夜精品.www| 一本大道久久精品懂色aⅴ| 一区二区三区免费观看| 欧美女孩性生活视频| 日本欧美一区二区| 精品欧美久久久| 粉嫩蜜臀av国产精品网站| 中文字幕日韩一区| 在线看不卡av| 视频在线观看91| 精品久久一区二区| 国产成人高清在线| 亚洲欧美日韩国产成人精品影院 | 国产精品夜夜嗨| 国产精品丝袜黑色高跟| 色吊一区二区三区| 午夜精品久久久久久久 | 国产精品一区二区久激情瑜伽| 国产女同性恋一区二区| 色诱亚洲精品久久久久久| 亚洲一二三专区| 亚洲精品一线二线三线无人区| 高清在线观看日韩| 亚洲一级二级三级| 久久综合色鬼综合色| 91丨porny丨国产入口| 日本网站在线观看一区二区三区 | 国产日韩亚洲欧美综合| 色综合天天综合网国产成人综合天| 亚洲一区二区三区爽爽爽爽爽| 精品福利一二区| 99精品视频一区二区三区| 午夜欧美大尺度福利影院在线看| 欧美精品一区二区三区很污很色的| 成人免费毛片片v| 日精品一区二区三区| 中文av一区二区| 欧美一区二区三区的| 成人免费观看av| 日韩高清电影一区| 亚洲日本在线a| 精品国产免费人成电影在线观看四季 | 成人av在线电影| 奇米色一区二区| 亚洲人成亚洲人成在线观看图片 | 欧美女孩性生活视频| 成人黄色一级视频| 久久精品国产亚洲aⅴ| 一区二区高清免费观看影视大全 | 日韩欧美一区二区不卡| 91美女在线看| 国产98色在线|日韩| 美国精品在线观看| 亚洲国产aⅴ成人精品无吗| 国产精品成人免费在线| 久久综合网色—综合色88| 在线成人高清不卡| 色悠悠久久综合| 国产二区国产一区在线观看| 另类专区欧美蜜桃臀第一页| 亚洲成av人片一区二区| 亚洲免费电影在线| 中文字幕一区二区不卡| 欧美激情综合在线| 久久免费电影网| 欧美不卡激情三级在线观看| 91精品在线免费观看| 欧美色图一区二区三区| 91麻豆成人久久精品二区三区| 国产福利91精品| 国产99一区视频免费| 国产成人免费高清| 国产一区二区三区蝌蚪| 久久99精品久久久久久国产越南 | eeuss鲁片一区二区三区在线观看| 久久99精品网久久| 精品一区二区三区免费观看| 久久成人免费电影| 麻豆成人免费电影| 国内精品伊人久久久久av一坑| 久久99精品久久久久久国产越南| 久久精品国产99久久6| 蜜桃一区二区三区在线| 秋霞国产午夜精品免费视频| 美女视频一区二区三区| 黄一区二区三区| 国产福利一区二区| 99久久精品情趣| 欧美三片在线视频观看| 欧美一级欧美三级在线观看| 日韩欧美在线不卡| 国产亚洲一区二区三区在线观看| 久久精品视频在线看| 综合网在线视频| 亚洲国产成人高清精品| 美女爽到高潮91| 粗大黑人巨茎大战欧美成人| 99精品一区二区| 欧美日韩激情一区二区三区| 日韩欧美一区在线| 国产欧美精品国产国产专区| 日韩美女视频一区二区| 亚洲线精品一区二区三区八戒| 午夜视频在线观看一区| 国产综合色精品一区二区三区| 国产东北露脸精品视频| 欧美在线综合视频| 精品国产污网站| 亚洲欧美一区二区三区孕妇| 三级欧美韩日大片在线看| 国产精品18久久久久| 色呦呦一区二区三区| 精品捆绑美女sm三区| 亚洲欧洲av一区二区三区久久| 午夜欧美2019年伦理| 丁香六月久久综合狠狠色| 欧美私模裸体表演在线观看| 精品动漫一区二区三区在线观看| 国产精品精品国产色婷婷| 天天av天天翘天天综合网色鬼国产| 狠狠网亚洲精品| 欧美少妇xxx| 国产精品久久久久久久久动漫 | 久久综合久色欧美综合狠狠| 亚洲欧美国产毛片在线| 六月丁香婷婷色狠狠久久| fc2成人免费人成在线观看播放| 欧美一级免费大片| 亚洲色图在线播放| 国产综合色产在线精品| 欧美三区在线观看| 日韩一区欧美小说| 国产在线精品一区二区夜色| 欧美日韩在线播| 中文字幕一区二| 国产精品18久久久久久久久 | 欧美日韩高清一区二区不卡| 国产欧美精品一区二区色综合| 日韩专区在线视频| 在线观看区一区二| 中文字幕中文字幕一区二区| 国产精品一区二区免费不卡| 91精品国产综合久久精品app| 亚洲精品一卡二卡| 成人网在线播放| 久久影视一区二区| 免费高清不卡av| 欧美一级免费大片| 日韩国产精品久久| 欧美午夜电影在线播放| 亚洲免费观看视频| 91免费国产在线观看| 欧美激情一区三区| 国产成人99久久亚洲综合精品| 欧美精品一区二| 国产一区二区导航在线播放| 欧美xxxxxxxx| 麻豆高清免费国产一区| 91精品国产综合久久精品图片| 亚州成人在线电影| 在线不卡一区二区| 日韩在线a电影| 日韩三区在线观看| 国产自产高清不卡| 久久久久久9999|