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

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

?? common.bas

?? 用VB編寫的學生成績管理系統主要的功能有學生信息
?? BAS
?? 第 1 頁 / 共 5 頁
字號:
    Else
        intButtonNum = 1
    End If
    '
    ' Now determine the type of message box we are dealing
    ' with and return the default button.
    '
    If (intFlags And vbRetryCancel) = vbRetryCancel Then
        intDefButton = IIf(intButtonNum = 1, vbRetry, vbCancel)
    ElseIf (intFlags And vbYesNoCancel) = vbYesNoCancel Then
        Select Case intButtonNum
            Case 1
                intDefButton = vbYes
            Case 2
                intDefButton = vbNo
            Case 3
                intDefButton = vbCancel
            'End Case
        End Select
    ElseIf (intFlags And vbOKCancel) = vbOKCancel Then
        intDefButton = IIf(intButtonNum = 1, vbOK, vbCancel)
    ElseIf (intFlags And vbAbortRetryIgnore) = vbAbortRetryIgnore Then
        Select Case intButtonNum
            Case 1
                intDefButton = vbAbort
            Case 2
                intDefButton = vbRetry
            Case 3
                intDefButton = vbIgnore
            'End Case
        End Select
    ElseIf (intFlags And vbYesNo) = vbYesNo Then
        intDefButton = IIf(intButtonNum = 1, vbYes, vbNo)
    Else
        intDefButton = vbOK
    End If
    
    GetDefMsgBoxButton = intDefButton
    
End Function
'-----------------------------------------------------------
' FUNCTION: GetDiskSpaceFree
' Get the amount of free disk space for the specified drive
'
' IN: [strDrive] - drive to check space for
'
' Returns: Amount of free disk space, or -1 if an error occurs
'-----------------------------------------------------------
'
Function GetDiskSpaceFree(ByVal strDrive As String) As Long
    Dim strCurDrive As String
    Dim lDiskFree As Long

    On Error Resume Next

    '
    'Save the current drive
    '
    strCurDrive = Left$(CurDir$, 2)

    '
    'Fixup drive so it includes only a drive letter and a colon
    '
    If InStr(strDrive, gstrSEP_DRIVE) = 0 Or Len(strDrive) > 2 Then
        strDrive = Left$(strDrive, 1) & gstrSEP_DRIVE
    End If

    '
    'Change to the drive we want to check space for.  The DiskSpaceFree() API
    'works on the current drive only.
    '
    ChDrive strDrive

    '
    'If we couldn't change to the request drive, it's an error, otherwise return
    'the amount of disk space free
    '
    If Err <> 0 Or (strDrive <> Left$(CurDir$, 2)) Then
        lDiskFree = -1
    Else
        Dim lRet As Long
        Dim lBytes As Long, lSect As Long, lClust As Long, lTot As Long
        
        lRet = GetDiskFreeSpace(vbNullString, lSect, lBytes, lClust, lTot)
        On Error Resume Next
        lDiskFree = (lBytes * lSect) * lClust
        If Err Then lDiskFree = 2147483647
    End If

    If lDiskFree = -1 Then
        MsgError Error$ & vbLf & vbLf & ResolveResString(resDISKSPCERR) & strDrive, vbExclamation, gstrTitle
    End If

    GetDiskSpaceFree = lDiskFree

    '
    'Cleanup by setting the current drive back to the original
    '
    ChDrive strCurDrive

    Err = 0
End Function

'-----------------------------------------------------------
' FUNCTION: GetUNCShareName
'
' Given a UNC names, returns the leftmost portion of the
' directory representing the machine name and share name.
' E.g., given "\\SCHWEIZ\PUBLIC\APPS\LISTING.TXT", returns
' the string "\\SCHWEIZ\PUBLIC"
'
' Returns a string representing the machine and share name
'   if the path is a valid pathname, else returns NULL
'-----------------------------------------------------------
'
Function GetUNCShareName(ByVal strFN As String) As Variant
    GetUNCShareName = Null
    If IsUNCName(strFN) Then
        Dim iFirstSeparator As Integer
        iFirstSeparator = InStr(3, strFN, gstrSEP_DIR)
        If iFirstSeparator > 0 Then
            Dim iSecondSeparator As Integer
            iSecondSeparator = InStr(iFirstSeparator + 1, strFN, gstrSEP_DIR)
            If iSecondSeparator > 0 Then
                GetUNCShareName = Left$(strFN, iSecondSeparator - 1)
            Else
                GetUNCShareName = strFN
            End If
        End If
    End If
End Function

'-----------------------------------------------------------
' FUNCTION: GetWindowsSysDir
'
' Calls the windows API to get the windows\SYSTEM directory
' and ensures that a trailing dir separator is present
'
' Returns: The windows\SYSTEM directory
'-----------------------------------------------------------
'
Function GetWindowsSysDir() As String
    Dim strBuf As String

    strBuf = Space$(gintMAX_SIZE)

    '
    'Get the system directory and then trim the buffer to the exact length
    'returned and add a dir sep (backslash) if the API didn't return one
    '
    If GetSystemDirectory(strBuf, gintMAX_SIZE) > 0 Then
        strBuf = StripTerminator(strBuf)
        AddDirSep strBuf
        
        GetWindowsSysDir = strBuf
    Else
        GetWindowsSysDir = vbNullString
    End If
End Function
'-----------------------------------------------------------
' SUB: TreatAsWin95
'
' Returns True iff either we're running under Windows 95
' or we are treating this version of NT as if it were
' Windows 95 for registry and application loggin and
' removal purposes.
'-----------------------------------------------------------
'
Function TreatAsWin95() As Boolean
    If IsWindows95() Then
        TreatAsWin95 = True
    ElseIf NTWithShell() Then
        TreatAsWin95 = True
    Else
        TreatAsWin95 = False
    End If
End Function
'-----------------------------------------------------------
' FUNCTION: NTWithShell
'
' Returns true if the system is on a machine running
' NT4.0 or greater.
'-----------------------------------------------------------
'
Function NTWithShell() As Boolean

    If Not IsWindowsNT() Then
        NTWithShell = False
        Exit Function
    End If
    
    Dim osvi As OSVERSIONINFO
    Dim strCSDVersion As String
    osvi.dwOSVersionInfoSize = Len(osvi)
    If GetVersionEx(osvi) = 0 Then
        Exit Function
    End If
    strCSDVersion = StripTerminator(osvi.szCSDVersion)
    
    'Is this Windows NT 4.0 or higher?
    Const NT4MajorVersion = 4
    Const NT4MinorVersion = 0
    If (osvi.dwMajorVersion >= NT4MajorVersion) Then
        NTWithShell = True
    Else
        NTWithShell = False
    End If
    
End Function
'-----------------------------------------------------------
' FUNCTION: IsDepFile
'
' Returns true if the file passed to this routine is a
' dependency (*.dep) file.  We make this determination
' by verifying that the extension is .dep and that it
' contains version information.
'-----------------------------------------------------------
'
Function fIsDepFile(strFilename As String) As Boolean
    Const strEXT_DEP = "DEP"
    
    fIsDepFile = False
    
    If UCase(Extension(strFilename)) = strEXT_DEP Then
        If GetFileVersion(strFilename) <> vbNullString Then
            fIsDepFile = True
        End If
    End If
End Function

'-----------------------------------------------------------
' FUNCTION: IsWin32
'
' Returns true if this program is running under Win32 (i.e.
'   any 32-bit operating system)
'-----------------------------------------------------------
'
Function IsWin32() As Boolean
    IsWin32 = (IsWindows95() Or IsWindowsNT())
End Function

'-----------------------------------------------------------
' FUNCTION: IsWindows95
'
' Returns true if this program is running under Windows 95
'   or successor
'-----------------------------------------------------------
'
Function IsWindows95() As Boolean
    Const dwMask95 = &H1&
    IsWindows95 = (GetWinPlatform() And dwMask95)
End Function

'-----------------------------------------------------------
' FUNCTION: IsWindowsNT
'
' Returns true if this program is running under Windows NT
'-----------------------------------------------------------
'
Function IsWindowsNT() As Boolean
    Const dwMaskNT = &H2&
    IsWindowsNT = (GetWinPlatform() And dwMaskNT)
End Function

'-----------------------------------------------------------
' FUNCTION: IsWindowsNT4WithoutSP2
'
' Determines if the user is running under Windows NT 4.0
' but without Service Pack 2 (SP2).  If running under any
' other platform, returns False.
'
' IN: [none]
'
' Returns: True if and only if running under Windows NT 4.0
' without at least Service Pack 2 installed.
'-----------------------------------------------------------
'
Function IsWindowsNT4WithoutSP2() As Boolean
    IsWindowsNT4WithoutSP2 = False
    
    If Not IsWindowsNT() Then
        Exit Function
    End If
    
    Dim osvi As OSVERSIONINFO
    Dim strCSDVersion As String
    osvi.dwOSVersionInfoSize = Len(osvi)
    If GetVersionEx(osvi) = 0 Then
        Exit Function
    End If
    strCSDVersion = StripTerminator(osvi.szCSDVersion)
    
    'Is this Windows NT 4.0?
    Const NT4MajorVersion = 4
    Const NT4MinorVersion = 0
    If (osvi.dwMajorVersion <> NT4MajorVersion) Or (osvi.dwMinorVersion <> NT4MinorVersion) Then
        'No.  Return False.
        Exit Function
    End If
    
    'If no service pack is installed, or if Service Pack 1 is
    'installed, then return True.
    Const strSP1 = "SERVICE PACK 1"
    If strCSDVersion = "" Then
        IsWindowsNT4WithoutSP2 = True 'No service pack installed
    ElseIf strCSDVersion = strSP1 Then
        IsWindowsNT4WithoutSP2 = True 'Only SP1 installed
    End If
End Function

'-----------------------------------------------------------
' FUNCTION: IsUNCName
'
' Determines whether the pathname specified is a UNC name.
' UNC (Universal Naming Convention) names are typically
' used to specify machine resources, such as remote network
' shares, named pipes, etc.  An example of a UNC name is
' "\\SERVER\SHARE\FILENAME.EXT".
'
' IN: [strPathName] - pathname to check
'
' Returns: True if pathname is a UNC name, False otherwise
'-----------------------------------------------------------
'
Function IsUNCName(ByVal strPathName As String) As Integer
    Const strUNCNAME$ = "\\//\"        'so can check for \\, //, \/, /\

    IsUNCName = ((InStr(strUNCNAME, Left$(strPathName, 2)) > 0) And _
                 (Len(strPathName) > 1))
End Function
'-----------------------------------------------------------
' FUNCTION: LogSilentMsg
'
' If this is a silent install, this routine writes
' a message to the gstrSilentLog file.
'
' IN: [strMsg] - The message
'
' Normally, this routine is called inlieu of displaying
' a MsgBox and strMsg is the same message that would
' have appeared in the MsgBox

'-----------------------------------------------------------
'
Sub LogSilentMsg(strMsg As String)
    If Not gfSilent Then Exit Sub
    
    Dim fn As Integer
    
    On Error Resume Next
    
    fn = FreeFile
    

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91免费视频网| 欧美精选一区二区| 久久激情五月激情| 免费日韩伦理电影| 麻豆国产欧美一区二区三区| 全国精品久久少妇| 精品亚洲aⅴ乱码一区二区三区| 五月天欧美精品| 天天综合天天做天天综合| 日本成人中文字幕在线视频| 日本不卡视频在线观看| 男男视频亚洲欧美| 久久精品久久综合| 国产精品一区二区免费不卡 | 国产精品久久久久久久久久久免费看| 精品三级在线看| 久久精品欧美日韩精品| 日本一二三不卡| 亚洲激情图片一区| 日韩专区一卡二卡| 国产毛片精品视频| 成人精品鲁一区一区二区| 91女厕偷拍女厕偷拍高清| 欧美伊人久久久久久久久影院 | 美女视频免费一区| 国产精品亚洲午夜一区二区三区| 成人激情图片网| 在线免费观看不卡av| 欧美一级理论性理论a| 国产无人区一区二区三区| 亚洲精品第一国产综合野| 亚洲成va人在线观看| 国内精品自线一区二区三区视频| 国产不卡免费视频| 欧美日韩另类一区| 久久精品一区二区三区av| 亚洲欧美日韩在线| 久久精品99国产精品| 91偷拍与自偷拍精品| 日韩欧美的一区| 国产精品二区一区二区aⅴ污介绍| 亚洲成av人**亚洲成av**| 国产乱子轮精品视频| 欧美午夜寂寞影院| 国产偷v国产偷v亚洲高清| 午夜一区二区三区在线观看| 国产福利一区二区三区视频 | 久久久久综合网| 亚洲尤物视频在线| a4yy欧美一区二区三区| 日韩一区二区免费高清| 亚洲欧洲精品一区二区三区 | 日韩成人免费电影| 99视频有精品| 国产欧美日韩视频在线观看| 午夜成人在线视频| 一本一本大道香蕉久在线精品 | 欧美性色欧美a在线播放| 久久精品欧美一区二区三区不卡 | 91视频观看视频| 久久久久久久久久电影| 看国产成人h片视频| 欧美午夜理伦三级在线观看| 中文字幕一区av| 成人午夜免费视频| 国产日韩欧美电影| 久久99精品国产麻豆不卡| 欧美日韩国产区一| 亚洲国产精品人人做人人爽| 91香蕉视频在线| 自拍偷拍欧美激情| 91影院在线观看| ...xxx性欧美| 成人av小说网| 17c精品麻豆一区二区免费| yourporn久久国产精品| 一区免费观看视频| 99天天综合性| 夜夜嗨av一区二区三区网页| 色婷婷久久99综合精品jk白丝| 中文字幕一区av| 日本韩国一区二区三区| 亚洲精品国产第一综合99久久| 91麻豆swag| av午夜精品一区二区三区| 中文字幕第一区| 日韩电影网1区2区| 日韩欧美在线1卡| 精品在线亚洲视频| 精品国产91亚洲一区二区三区婷婷| 日韩综合小视频| 日韩欧美在线影院| 国内成人免费视频| 久久久久久久久99精品| 91在线视频免费91| 天天操天天干天天综合网| 678五月天丁香亚洲综合网| 美女网站视频久久| 中文文精品字幕一区二区| 91免费在线播放| 爽爽淫人综合网网站| 久久精品人人爽人人爽| 91精品福利在线| 蜜桃久久av一区| 国产精品色在线| 欧美视频自拍偷拍| 国产中文一区二区三区| 亚洲日本一区二区| 欧美高清精品3d| 一级特黄大欧美久久久| 这里只有精品视频在线观看| 国产一区在线视频| 亚洲精品乱码久久久久久黑人 | 亚洲激情成人在线| 日韩一区二区三区精品视频 | 一级做a爱片久久| 精品奇米国产一区二区三区| 成人h版在线观看| 免费看精品久久片| 自拍av一区二区三区| 日韩欧美专区在线| 色婷婷国产精品综合在线观看| 日本不卡视频一二三区| 亚洲欧美电影院| www国产精品av| 欧美精选在线播放| 91免费视频大全| 国产精品白丝av| 亚洲 欧美综合在线网络| 日本一二三不卡| 久久伊人中文字幕| 欧美男男青年gay1069videost| 国产超碰在线一区| 精品在线观看视频| 奇米一区二区三区av| 亚洲最新在线观看| 国产精品福利电影一区二区三区四区| 欧美一二三四区在线| 欧美三级中文字幕在线观看| a级精品国产片在线观看| 精品中文av资源站在线观看| 天涯成人国产亚洲精品一区av| 中文字幕中文字幕一区| 久久精品在这里| 久久免费视频色| 精品国产乱子伦一区| 日韩三级电影网址| 日韩一区二区三区免费观看| 91麻豆精品国产91久久久使用方法 | 国产三级欧美三级日产三级99 | 极品销魂美女一区二区三区| 天天色天天操综合| 亚洲国产sm捆绑调教视频 | 欧美日本在线播放| 欧美日韩久久一区| 7777精品伊人久久久大香线蕉经典版下载 | 男女男精品视频网| 精品一区二区三区免费毛片爱| 蜜桃精品视频在线观看| 久久国产精品区| 国产精品99久久久久久似苏梦涵| 国产一区二区不卡| 福利电影一区二区三区| 成人精品视频一区二区三区尤物| 粉嫩久久99精品久久久久久夜| 丁香网亚洲国际| 懂色av噜噜一区二区三区av| 成人免费视频caoporn| 色系网站成人免费| 欧美日韩高清一区二区不卡| 欧美一区二区在线免费观看| 日韩欧美一级二级三级| 久久久久久久一区| 国产精品久久久久久一区二区三区 | 欧美mv日韩mv国产网站app| 久久久精品中文字幕麻豆发布| 国产视频一区在线播放| 亚洲日本在线天堂| 蜜臀av一区二区在线观看| 国产乱一区二区| 日本高清视频一区二区| 51精品久久久久久久蜜臀| 2023国产一二三区日本精品2022| 国产三级欧美三级| 亚洲你懂的在线视频| 日本成人在线网站| 成人污视频在线观看| 欧美日韩国产综合久久| 337p粉嫩大胆色噜噜噜噜亚洲| 日韩美女精品在线| 久久精品国产亚洲一区二区三区| 粉嫩av一区二区三区| 欧美二区三区91| 国产精品久久久爽爽爽麻豆色哟哟 | 中文字幕一区二区不卡| 日本成人在线一区| 欧美在线你懂的| 国产欧美一区二区精品性色超碰| 亚洲成a天堂v人片| 成人ar影院免费观看视频|