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

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

?? common.bas

?? 用VB編寫的學(xué)生成績(jī)管理系統(tǒng)主要的功能有學(xué)生信息
?? BAS
?? 第 1 頁 / 共 5 頁
字號(hào):
    Open gstrSilentLog For Append As fn
    Print #fn, strMsg
    Close fn
    Exit Sub
End Sub
'-----------------------------------------------------------
' FUNCTION: LogSMSMsg
'
' If this is a SMS install, this routine appends
' a message to the gstrSMSDescription string.  This
' string will later be written to the SMS status
' file (*.MIF) when the installation completes (success
' or failure).
'
' Note that if gfSMS = False, not message will be logged.
' Therefore, to prevent some messages from being logged
' (e.g., confirmation only messages), temporarily set
' gfSMS = False.
'
' 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 LogSMSMsg(strMsg As String)
    If Not gfSMS Then Exit Sub
    '
    ' Append the message.  Note that the total
    ' length cannot be more than 255 characters, so
    ' truncate anything after that.
    '
    gstrSMSDescription = Left(gstrSMSDescription & strMsg, MAX_SMS_DESCRIP)
End Sub

'-----------------------------------------------------------
' FUNCTION: MakePathAux
'
' Creates the specified directory path.
'
' No user interaction occurs if an error is encountered.
' If user interaction is desired, use the related
'   MakePathAux() function.
'
' IN: [strDirName] - name of the dir path to make
'
' Returns: True if successful, False if error.
'-----------------------------------------------------------
'
Function MakePathAux(ByVal strDirName As String) As Boolean
    Dim strPath As String
    Dim intOffset As Integer
    Dim intAnchor As Integer
    Dim strOldPath As String

    On Error Resume Next

    '
    'Add trailing backslash
    '
    If Right$(strDirName, 1) <> gstrSEP_DIR Then
        strDirName = strDirName & gstrSEP_DIR
    End If

    strOldPath = CurDir$
    MakePathAux = False
    intAnchor = 0

    '
    'Loop and make each subdir of the path separately.
    '
    intOffset = InStr(intAnchor + 1, strDirName, gstrSEP_DIR)
    intAnchor = intOffset 'Start with at least one backslash, i.e. "C:\FirstDir"
    Do
        intOffset = InStr(intAnchor + 1, strDirName, gstrSEP_DIR)
        intAnchor = intOffset

        If intAnchor > 0 Then
            strPath = Left$(strDirName, intOffset - 1)
            ' Determine if this directory already exists
            Err = 0
            ChDir strPath
            If Err Then
                ' We must create this directory
                Err = 0
#If LOGGING Then
                NewAction gstrKEY_CREATEDIR, """" & strPath & """"
#End If
                MkDir strPath
#If LOGGING Then
                If Err Then
                    LogError ResolveResString(resMAKEDIR) & " " & strPath
                    AbortAction
                    GoTo Done
                Else
                    CommitAction
                End If
#End If
            End If
        End If
    Loop Until intAnchor = 0

    MakePathAux = True
Done:
    ChDir strOldPath

    Err = 0
End Function

'-----------------------------------------------------------
' FUNCTION: MsgError
'
' Forces mouse pointer to default, calls VB's MsgBox
' function, and logs this error and (32-bit only)
' writes the message and the user's response to the
' logfile (32-bit only)
'
' IN: [strMsg] - message to display
'     [intFlags] - MsgBox function type flags
'     [strCaption] - caption to use for message box
'     [intLogType] (optional) - The type of logfile entry to make.
'                   By default, creates an error entry.  Use
'                   the MsgWarning() function to create a warning.
'                   Valid types as MSGERR_ERROR and MSGERR_WARNING
'
' Returns: Result of MsgBox function
'-----------------------------------------------------------
'
Function MsgError(ByVal strMsg As String, ByVal intFlags As Integer, ByVal strCaption As String, Optional ByVal intLogType As Integer = MSGERR_ERROR) As Integer
    Dim iRet As Integer
    
    iRet = MsgFunc(strMsg, intFlags, strCaption)
    MsgError = iRet
#If LOGGING Then
    ' We need to log this error and decode the user's response.
    Dim strID As String
    Dim strLogMsg As String

    Select Case iRet
        Case vbOK
            strID = ResolveResString(resLOG_vbok)
        Case vbCancel
            strID = ResolveResString(resLOG_vbCancel)
        Case vbAbort
            strID = ResolveResString(resLOG_vbabort)
        Case vbRetry
            strID = ResolveResString(resLOG_vbretry)
        Case vbIgnore
            strID = ResolveResString(resLOG_vbignore)
        Case vbYes
            strID = ResolveResString(resLOG_vbyes)
        Case vbNo
            strID = ResolveResString(resLOG_vbno)
        Case Else
            strID = ResolveResString(resLOG_IDUNKNOWN)
        'End Case
    End Select

    strLogMsg = strMsg & vbLf & "(" & ResolveResString(resLOG_USERRESPONDEDWITH, "|1", strID) & ")"
    On Error Resume Next
    Select Case intLogType
        Case MSGERR_WARNING
            LogWarning strLogMsg
        Case MSGERR_ERROR
            LogError strLogMsg
        Case Else
            LogError strLogMsg
        'End Case
    End Select
#End If
End Function

'-----------------------------------------------------------
' FUNCTION: MsgFunc
'
' Forces mouse pointer to default and calls VB's MsgBox
' function.  See also MsgError.
'
' IN: [strMsg] - message to display
'     [intFlags] - MsgBox function type flags
'     [strCaption] - caption to use for message box
' Returns: Result of MsgBox function
'-----------------------------------------------------------
'
Function MsgFunc(ByVal strMsg As String, ByVal intFlags As Integer, ByVal strCaption As String) As Integer
    Dim intOldPointer As Integer
  
    intOldPointer = Screen.MousePointer
    If gfNoUserInput Then
        MsgFunc = GetDefMsgBoxButton(intFlags)
        If gfSilent = True Then
            LogSilentMsg strMsg
        End If
        If gfSMS = True Then
            LogSMSMsg strMsg
            gfDontLogSMS = False
        End If
    Else
        Screen.MousePointer = gintMOUSE_DEFAULT
        MsgFunc = MsgBox(strMsg, intFlags, strCaption)
        Screen.MousePointer = intOldPointer
    End If
End Function

'-----------------------------------------------------------
' FUNCTION: MsgWarning
'
' Forces mouse pointer to default, calls VB's MsgBox
' function, and logs this error and (32-bit only)
' writes the message and the user's response to the
' logfile (32-bit only)
'
' IN: [strMsg] - message to display
'     [intFlags] - MsgBox function type flags
'     [strCaption] - caption to use for message box
'
' Returns: Result of MsgBox function
'-----------------------------------------------------------
'
Function MsgWarning(ByVal strMsg As String, ByVal intFlags As Integer, ByVal strCaption As String) As Integer
    MsgWarning = MsgError(strMsg, intFlags, strCaption, MSGERR_WARNING)
End Function
'-----------------------------------------------------------
' SUB: SetFormFont
'
' Walks through all controls on specified form and
' sets Font a font chosen according to the system locale
'
' IN: [frm] - Form whose control fonts need to be set.
'-----------------------------------------------------------
'
Public Sub SetFormFont(frm As Form)
    Dim ctl As Control
    Dim fntSize As Integer
    Dim fntName As String
    Dim fntCharset As Integer
    Dim oFont As StdFont
    
    ' some controls may fail, so we will do a resume next...
    '
    On Error Resume Next
    
    ' get the font name, size, and charset
    '
    GetFontInfo fntName, fntSize, fntCharset
    
    'Create a new font object
    Set oFont = New StdFont
    With oFont
        .Name = fntName
        .Size = fntSize
        .Charset = fntCharset
    End With
    ' Set the form's font
    Set frm.Font = oFont
    '
    ' loop through each control and try to set its font property
    ' this may fail, but our error handling is shut off
    '
    For Each ctl In frm.Controls
        Set ctl.Font = oFont
    Next
    '
    ' get out, reset error handling
    '
    Set ctl = Nothing
    On Error GoTo 0
    Exit Sub
       
End Sub

'-----------------------------------------------------------
' SUB:  GetFontInfo
'
' Gets the best font to use according the current system's
' locale.
'
' OUT:  [sFont] - name of font
'       [nFont] - size of font
'       [nCharset] - character set of font to use
'-----------------------------------------------------------
Private Sub GetFontInfo(sFont As String, nFont As Integer, nCharSet As Integer)
    Dim LCID    As Integer
    Dim PLangId As Integer
    Dim sLangId As Integer
    ' if font is set, used the cached values
    If m_sFont <> "" Then
        sFont = m_sFont
        nFont = m_nFont
        nCharSet = m_nCharset
        Exit Sub
    End If
    
    ' font hasn't been set yet, need to get it now...
    LCID = GetSystemDefaultLCID                 ' get current system LCID
    PLangId = PRIMARYLANGID(LCID)               ' get LCID's Primary language id
    sLangId = SUBLANGID(LCID)                   ' get LCID's Sub language id
    
    Select Case PLangId                         ' determine primary language id
    Case LANG_CHINESE
        If (sLangId = SUBLANG_CHINESE_TRADITIONAL) Then
            sFont = ChrW$(&H65B0) & ChrW$(&H7D30) & ChrW$(&H660E) & ChrW$(&H9AD4)   ' New Ming-Li
            nFont = 9
            nCharSet = CHARSET_CHINESEBIG5
        ElseIf (sLangId = SUBLANG_CHINESE_SIMPLIFIED) Then
            sFont = ChrW$(&H5B8B) & ChrW$(&H4F53)
            nFont = 9
            nCharSet = CHARSET_CHINESESIMPLIFIED
        End If
    Case LANG_JAPANESE
        sFont = ChrW$(&HFF2D) & ChrW$(&HFF33) & ChrW$(&H20) & ChrW$(&HFF30) & _
                ChrW$(&H30B4) & ChrW$(&H30B7) & ChrW$(&H30C3) & ChrW$(&H30AF)
        nFont = 9
        nCharSet = CHARSET_SHIFTJIS
    Case LANG_KOREAN
        If (sLangId = SUBLANG_KOREAN) Then
            sFont = ChrW$(&HAD74) & ChrW$(&HB9BC)
        ElseIf (sLangId = SUBLANG_KOREAN_JOHAB) Then
            sFont = ChrW$(&HAD74) & ChrW$(&HB9BC)
        End If
        nFont = 9
        nCharSet = CHARSET_HANGEUL
    Case Else
        sFont = "Tahoma"
        If Not IsFontSupported(sFont) Then
            'Tahoma is not on this machine.  This condition is very probably since
            'this is a setup program that may be run on a clean machine
            'Try Arial
            sFont = "Arial"
            If Not IsFontSupported(sFont) Then
                'Arial isn't even on the machine.  This is an unusual situation that
                'is caused by deliberate removal
                'Try system
                sFont = "System"
                'If system isn't supported, allow the default font to be used
                If Not IsFontSupported(sFont) Then
                    'If "System" is not supported, "IsFontSupported" will have
                    'output the default font in sFont
                End If
            End If
        End If
        nFont = 8
        ' set the charset for the users default system Locale
        nCharSet = GetUserCharset
    End Select
    m_sFont = sFont
    m_nFont = nFont
    m_nCharset = nCharSet
'-------------------------------------------------------
End Sub
'-------------------------------------------------------

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区精品视频| 精品国产亚洲在线| 欧美一区二区免费视频| 日韩美女一区二区三区四区| 国产欧美精品一区二区色综合| 中文字幕综合网| 热久久一区二区| 国产大陆精品国产| 在线免费观看日韩欧美| 精品国产区一区| 亚洲视频图片小说| 久久国产夜色精品鲁鲁99| 成人国产视频在线观看| 欧美精品乱人伦久久久久久| 久久日一线二线三线suv| 亚洲色图视频网站| 美女视频一区在线观看| 99在线精品视频| 日韩三级av在线播放| 日韩美女精品在线| 久久国产剧场电影| 91黄色激情网站| 26uuu另类欧美| 亚洲成人在线观看视频| 国产成人精品免费| 欧美人与性动xxxx| 成人欧美一区二区三区小说 | 99久久国产综合色|国产精品| 欧美三级资源在线| 欧美激情一区在线| 另类小说图片综合网| 91丨porny丨首页| 精品精品欲导航| 亚洲一区二区五区| 成人做爰69片免费看网站| 欧美一级片免费看| 一区二区三区中文在线观看| 国产电影一区在线| 日韩一区二区在线看片| 一个色综合av| 91在线一区二区| 久久久久久久久99精品| 水蜜桃久久夜色精品一区的特点 | 亚洲精品网站在线观看| 国产精品1024| 91精品国产综合久久久久久| 亚洲免费在线视频一区 二区| 国产精品一区二区久久不卡 | 亚洲自拍偷拍综合| 成人综合日日夜夜| 久久天堂av综合合色蜜桃网| 首页欧美精品中文字幕| 欧洲精品中文字幕| 日韩美女久久久| 粉嫩嫩av羞羞动漫久久久| 精品国产免费一区二区三区香蕉| 亚洲aⅴ怡春院| 欧美午夜精品免费| 亚洲精品午夜久久久| 99国内精品久久| 欧美国产激情一区二区三区蜜月 | 国产精品乱人伦| 国产精品中文字幕日韩精品 | 国产精品综合网| 精品日韩av一区二区| 免费人成精品欧美精品 | 日日夜夜精品免费视频| 欧美午夜片在线观看| 一区二区三区高清在线| 91福利在线导航| 一区二区三区在线免费视频| 91女人视频在线观看| **欧美大码日韩| 一本到高清视频免费精品| 亚洲视频在线观看三级| 色综合天天性综合| 一区二区三区四区视频精品免费| 99视频精品免费视频| 亚洲少妇最新在线视频| 91九色02白丝porn| 亚洲国产精品久久久久婷婷884| 欧美三区免费完整视频在线观看| 亚洲线精品一区二区三区| 欧洲日韩一区二区三区| 亚洲成人777| 日韩一区二区视频| 国产一区二区三区免费| 国产三级精品三级| 成人在线视频一区| 椎名由奈av一区二区三区| 在线视频你懂得一区二区三区| 亚洲一区二区三区爽爽爽爽爽 | 亚洲高清免费在线| 欧美精品日韩综合在线| 日韩激情一区二区| 欧美大黄免费观看| 国产成人午夜视频| 日韩一区在线播放| 欧美精品久久天天躁| 蜜桃视频在线观看一区| 国产日韩精品一区二区三区在线| 成人深夜在线观看| 亚洲精品精品亚洲| 欧美久久久久中文字幕| 另类成人小视频在线| 欧美极品美女视频| 色婷婷久久久综合中文字幕| 同产精品九九九| 精品国产一区二区精华| 99久久婷婷国产综合精品 | 欧美亚洲国产怡红院影院| 日本欧美一区二区三区乱码| 久久久久亚洲综合| 日本韩国精品在线| 免费视频最近日韩| 欧美激情一区二区三区| 欧美在线不卡一区| 久久99精品久久久久久久久久久久| 国产欧美一区二区精品秋霞影院| 一本久道久久综合中文字幕| 奇米888四色在线精品| 国产欧美一区二区精品性| 91久久精品一区二区三| 日本在线不卡视频| 国产精品少妇自拍| 欧美日韩国产精品成人| 国产精品99久久久久久有的能看 | 91麻豆精品在线观看| 秋霞电影网一区二区| 中文字幕在线不卡视频| 欧美一区二区在线视频| 成人深夜视频在线观看| 日本欧美肥老太交大片| 国产精品久久久久久户外露出| 欧美精品久久天天躁| 91影视在线播放| 麻豆成人免费电影| 一区二区三区中文字幕在线观看| 亚洲精品一区二区三区蜜桃下载| 在线看不卡av| 国产成a人无v码亚洲福利| 首页国产欧美久久| 综合av第一页| 久久亚洲精华国产精华液| 欧美唯美清纯偷拍| av高清久久久| 极品少妇xxxx精品少妇| 亚洲国产精品久久人人爱| 亚洲国产精品成人综合色在线婷婷 | 欧美一区三区二区| 91精品1区2区| 丁香五精品蜜臀久久久久99网站| 三级在线观看一区二区| 亚洲精品免费播放| 久久精子c满五个校花| 日韩三级电影网址| 欧美日韩国产高清一区二区三区| www.爱久久.com| 国产精品综合网| 久久精品99国产精品| 天堂一区二区在线| 亚洲精品综合在线| 1区2区3区国产精品| 国产亚洲精品中文字幕| 日韩欧美国产电影| 欧美肥胖老妇做爰| 欧洲精品视频在线观看| 99这里只有久久精品视频| 国产成人一级电影| 狠狠色丁香久久婷婷综合丁香| 午夜精品久久久久影视| 洋洋成人永久网站入口| 亚洲欧美色图小说| 国产精品久久久久久亚洲伦| 国产欧美一区二区三区在线老狼| 精品处破学生在线二十三| 欧美v亚洲v综合ⅴ国产v| 欧美精品丝袜中出| 欧美精品国产精品| 91精品国产综合久久国产大片| 欧美男人的天堂一二区| 欧美日韩黄色影视| 欧美狂野另类xxxxoooo| 欧美二区三区91| 69p69国产精品| 欧美一区二区三区免费观看视频| 欧美日韩亚洲综合一区二区三区| 欧美三日本三级三级在线播放| 欧美日韩视频在线一区二区| 精品视频一区二区三区免费| 欧美日韩免费不卡视频一区二区三区| 欧美在线观看一二区| 欧美日韩www| 91精品国产色综合久久不卡蜜臀| 欧美一区二区三区视频在线观看| 欧美一区二区三区免费观看视频 | 性感美女极品91精品| 日韩精品乱码av一区二区| 婷婷成人激情在线网| 日本不卡一区二区三区高清视频|