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

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

?? misc.bas

?? 簡單、實用、特別。 有很多不足之處
?? BAS
?? 第 1 頁 / 共 2 頁
字號:
Attribute VB_Name = "Misc"

'--------------------------------------------------------------------------

Option Explicit

Public Declare Function WritePrivateProfileString Lib "kernel32" Alias "WritePrivateProfileStringA" (ByVal lpApplicationname As String, ByVal lpKeyName As Any, ByVal lsString As Any, ByVal lplFilename As String) As Long
Public Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationname As String, ByVal lpKeyName As String, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Long, ByVal lpFileName As String) As Long

Public Mails() As Mail

Public Type Attachments
    Name    As String
    Data()  As String
End Type

Public Type Mail
    Header           As String
    from             As String
    To               As String
    Date             As String
    Subject          As String
    Message          As String 'Plain Text Message
    HTMLMessage      As String 'HTML Message Part
    Size             As Long
    AttachedFiles    As Integer
    Attachments() As Attachments
End Type

Public strlines()          As String
Public strLine()           As String
Public tmpAttachmntStr     As String
Public AttachmentCounter   As Integer

'Declarations for very fast String Array Routines
Declare Sub CopyMemory Lib "kernel32" Alias _
        "RtlMoveMemory" (dest As Any, Source As Any, _
        ByVal numBytes As Long)
Declare Sub ZeroMemory Lib "kernel32" Alias _
        "RtlZeroMemory" (dest As Any, ByVal numBytes As Long)

'Base64 Class
Public pbBuffer1() As Byte
Public pbBuffer2() As Byte
Public ptSpan()    As String

'Class for the multi language support
Global cLanguage As New clsLanguagePack

'Prevent the showing of the right click Internet Explorer window
Public Declare Function SetWindowsHookEx Lib "user32" Alias "SetWindowsHookExA" (ByVal idHook As Long, ByVal lpfn As Long, ByVal hmod As Long, ByVal dwThreadId As Long) As Long
Public Declare Function UnhookWindowsHookEx Lib "user32" (ByVal hHook As Long) As Long
Public Declare Function CallNextHookEx Lib "user32" (ByVal hHook As Long, ByVal nCode As Long, ByVal wParam As Long, lParam As Any) As Long
Public Declare Function GetCurrentThreadId Lib "kernel32" () As Long
Public Declare Function GetClassName Lib "user32" Alias "GetClassNameA" (ByVal hwnd As Long, ByVal lpClassName As String, ByVal nMaxCount As Long) As Long
    
Public Const WM_RBUTTONUP = &H205
Public Const WH_MOUSE = 7

Public Type POINTAPI
    X As Long
    Y As Long
End Type

Public Type MOUSEHOOKSTRUCT
    pt As POINTAPI
    hwnd As Long
    wHitTestCode As Long
    dwExtraInfo As Long
End Type
    
Public gLngMouseHook As Long
    
Public Function MouseHookProc(ByVal nCode As Long, ByVal wParam As Long, mhs As MOUSEHOOKSTRUCT) As Long
Dim strBuffer As String
Dim strClassName As String
Dim lngResult As Long

If (nCode >= 0 And wParam = WM_RBUTTONUP) Then

        'Preinitialize string
        strBuffer = Space(255)
        
       ' lngBufferLen = Len(strBuffer)
        
        'This is the string that holds the class name that we are looking for
        strClassName = "Internet Explorer_Server"
        
        'Debug.Print strClassName
        
        'Get the classname for the Window that has been clicked, making sure something is returned
        'If the function returns 0, it has failed
        lngResult = GetClassName(mhs.hwnd, strBuffer, Len(strBuffer))
                
        'Debug.Print Left$(strBuffer, lngResult)
                
        If lngResult > 0 Then

            'Check to see if the class of the window we clicked on is the same as above
            If Left$(strBuffer, lngResult) = strClassName Then
                
                'Value is the same. Squash the command
                MouseHookProc = 1
                
                Exit Function
                
            End If
            
        End If

    End If

MouseHookProc = CallNextHookEx(gLngMouseHook, nCode, wParam, mhs)
End Function

Public Function CheckExistence(Pclist As ComboBox, Data As String) As Boolean
Dim Counter As Integer

For Counter = 0 To Pclist.ListCount
    If Pclist.List(Counter) = Data Then
        CheckExistence = True
        Exit Function
    End If
Next Counter

End Function

Function SaveIni(KeySection As String, strKey As String, KeyValue As String)

  Dim lngResult As Long
  Dim strFilename

    strFilename = App.Path & "\Pop3Popper.ini" 'Declare your ini file !
    lngResult = WritePrivateProfileString(KeySection, strKey, KeyValue, strFilename)

    SaveIni = lngResult

End Function

Function LoadIni(KeySection As String, strKey As String)
    
    Dim lngResult As Long
    Dim strFilename As String
    Dim strResult As String * 100
    Dim KeyValue As String
    
    strFilename = App.Path & "\Pop3Popper.ini" 'Declare your ini file !
    
    lngResult = GetPrivateProfileString(KeySection, _
                strKey, "", strResult, Len(strResult), _
                strFilename)
    
    If lngResult = 0 Then
        'An error has occurred
        LoadIni = ""
    Else
        KeyValue = Trim(strResult)
        KeyValue = Replace(KeyValue, Chr(0), "")
        LoadIni = KeyValue
    End If
    
End Function

'Glue several lines together that belong together
Public Function UnfoldArray(fromLine As Long, toLine As Long, ByRef FoldedArray() As String) As String()
Dim Counter As Integer, UCounter As Integer
Dim strHeader As String
Dim TempArray() As String

On Error GoTo error


'Extract only the Mime Headers
ReDim TempArray(toLine - fromLine)

For Counter = fromLine To toLine
    TempArray(UCounter) = FoldedArray(Counter)
    UCounter = UCounter + 1
Next

strHeader = Join(TempArray, vbCrLf)

'Hmm I try to unfold the Mail Header...
strHeader = Replace(strHeader, vbCrLf + Chr$(9), " ")
strHeader = Replace(strHeader, vbCrLf + Chr$(11), " ")
strHeader = Replace(strHeader, vbCrLf + Chr$(32), " ")
strHeader = Replace(strHeader, vbCrLf + Chr$(255), " ")

UnfoldArray = Split(strHeader, vbCrLf)

error:

End Function

'Returns the Line that contains a String (reversed for speed reasons)
Public Function RevfindEmptyLine(ByRef strLine() As String) As Long
Dim Counter As Long
Dim TmpLngt As Long
Dim TmpString As String

On Error GoTo error

TmpLngt = UBound(strLine)
Counter = TmpLngt


    Do
        Counter = Counter - 1
            
        TmpString = strLine(Counter + 1)
        
       
        
            If TmpString = "" Then
                RevfindEmptyLine = Counter + 1
                Exit Function
            
        End If
    
            
    Loop Until Counter = 0
    
error:
    RevfindEmptyLine = -1
End Function

'Finds a line that only contain one Crlf
Public Function findEmptyLine(intPosition As Long, ByRef strlines() As String) As Long

  Dim Counter As Long
  Dim TmpLngt As Long
  Dim strTemp As String

    On Error GoTo error

    If intPosition < 0 Then
        findEmptyLine = -1
        Exit Function
    End If

    TmpLngt = UBound(strlines)

    Do
        Counter = Counter + 1
        strTemp = strlines(intPosition + Counter - 1)
    Loop Until Counter = TmpLngt Or Len(strTemp) = 0

    If strlines(intPosition + Counter - 1) = "" Then
        findEmptyLine = intPosition + Counter - 1
      Else
error:
        findEmptyLine = -1
    End If

End Function

'Returns the Line of an array that contains a String
Public Function findLine(intPosition As Long, SearchStr As String, strlines() As String, Optional IgnoreInstrWord As Boolean) As Long

  Dim Counter As Long
  Dim TmpLngt As Long
  Dim TmpLngt2 As Long

    On Error GoTo error

    TmpLngt = UBound(strlines)
    Counter = Counter + intPosition

    If Counter >= TmpLngt Then
        GoTo error
    End If

    Do
        Counter = Counter + 1

        Select Case IgnoreInstrWord
            Case False
                TmpLngt2 = InStrWord(strlines(Counter - 1), SearchStr)
            Case True
                TmpLngt2 = InStr(strlines(Counter - 1), SearchStr)
        End Select
        

        If TmpLngt2 > 0 Then
            findLine = Counter - 1

            Exit Function
        End If

    Loop Until Counter = TmpLngt

error:
    findLine = -1

End Function

'Get the Value from an E-Mail Header
Public Function GetInfo(intPosition As Long, SearchStr As String, ByRef strlines() As String) As String

  Dim strTemp As String
  Dim strValue As String
  Dim Counter As Integer
  Dim StartPosi As Integer
  Dim Counter2 As Integer
  Dim strarray As String

    On Error GoTo error

    strarray = strlines(intPosition)
    StartPosi = InStr(LCase$(strarray), SearchStr) + Len(SearchStr)

    Do
        strValue = strValue + strTemp
        strTemp = Mid$(strarray, StartPosi + Counter, 1)
        Counter = Counter + 1
        Counter2 = Len(strarray)
    Loop Until strTemp = vbCrLf Or Counter = Counter2

    'Remove the ""
    If Left$(strValue, 1) = Chr$(34) Then strValue = Right$(strValue, Len(strValue) - 1)
    If Right$(strValue, 1) = Chr$(34) Then strValue = Left$(strValue, Len(strValue) - 1)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人激情小说乱人伦| 色综合咪咪久久| 夜夜嗨av一区二区三区| 精品免费日韩av| 久久麻豆一区二区| 欧美午夜精品久久久久久超碰| 国产高清在线观看免费不卡| 亚洲资源中文字幕| 中文字幕欧美国产| 欧美大尺度电影在线| 欧美无砖砖区免费| 成人高清在线视频| 国产乱码精品一区二区三区av| 午夜精品久久一牛影视| 亚洲视频在线观看一区| 国产亚洲精久久久久久| 日韩三级视频在线看| 欧美日韩高清在线播放| 日本道免费精品一区二区三区| 懂色一区二区三区免费观看| 麻豆国产欧美一区二区三区| 五月天中文字幕一区二区| 日韩理论电影院| 国产精品免费视频一区| 久久久久国产精品麻豆ai换脸| 日韩三级视频在线看| 91精品国产综合久久精品图片 | 国产精品进线69影院| 久久综合色鬼综合色| 日韩一区二区电影| 欧美精品欧美精品系列| 欧美高清视频一二三区 | 日产欧产美韩系列久久99| 亚洲一区二区三区在线| 亚洲老司机在线| 亚洲免费伊人电影| 亚洲欧美偷拍卡通变态| 亚洲欧美激情小说另类| 亚洲欧美视频在线观看视频| 伊人色综合久久天天人手人婷| 国产精品久久久久久户外露出| 国产欧美日韩不卡免费| 国产女同性恋一区二区| 亚洲国产精品传媒在线观看| 欧美国产乱子伦| 最近中文字幕一区二区三区| 最新国产成人在线观看| 亚洲美女一区二区三区| 亚洲高清在线精品| 视频一区视频二区中文字幕| 日韩主播视频在线| 久久成人免费电影| 国产成人av福利| 91免费观看在线| 欧美人体做爰大胆视频| 日韩视频一区在线观看| 亚洲18色成人| 精品一区二区三区在线播放视频| 国模无码大尺度一区二区三区| 国产麻豆精品在线观看| 99精品视频在线观看免费| 日本韩国一区二区三区| 88在线观看91蜜桃国自产| 久久影院视频免费| 亚洲免费在线观看视频| 日本午夜一区二区| 国产精品99精品久久免费| 91性感美女视频| 欧美日韩综合不卡| 色婷婷香蕉在线一区二区| 91黄色免费版| 日韩欧美电影在线| 欧美国产成人精品| 一区二区三区在线免费视频| 五月婷婷另类国产| 亚洲成人三级小说| 国产一区美女在线| 成年人国产精品| 欧美在线观看视频一区二区三区| 欧美日韩亚洲综合一区| 欧美一级艳片视频免费观看| 精品国免费一区二区三区| 欧美国产激情二区三区| 国产人成亚洲第一网站在线播放| 亚洲制服丝袜一区| 蜜臀av性久久久久蜜臀aⅴ四虎 | 国内外成人在线| 成人美女视频在线看| 欧美日韩一区成人| 精品剧情在线观看| 亚洲男同性视频| 日本91福利区| 成人深夜视频在线观看| 欧美一卡在线观看| 中文字幕av一区 二区| 亚洲国产成人av好男人在线观看| 久久99精品久久久久婷婷| 99精品视频在线播放观看| 日韩一级大片在线观看| 亚洲图片欧美激情| 一区二区免费在线| 奇米影视一区二区三区| 99久久精品国产观看| 欧美成人vr18sexvr| 亚洲国产高清在线观看视频| 麻豆成人91精品二区三区| 91婷婷韩国欧美一区二区| 日韩女优视频免费观看| 亚洲影视在线观看| 国产91丝袜在线观看| 制服丝袜日韩国产| 亚洲久本草在线中文字幕| 激情av综合网| 欧美色精品在线视频| 中文字幕国产一区| 久久精品999| 欧美日韩在线三级| 久久青草国产手机看片福利盒子 | 3d动漫精品啪啪一区二区竹菊| 国产精品欧美久久久久一区二区| 国产乱淫av一区二区三区 | 欧美—级在线免费片| 日韩精品1区2区3区| 成人激情校园春色| 久久久夜色精品亚洲| 日本欧美大码aⅴ在线播放| 日本精品一级二级| 国产喷白浆一区二区三区| 国产中文一区二区三区| 欧美浪妇xxxx高跟鞋交| 一区二区三区在线视频观看58| 成人免费看的视频| 久久先锋影音av| 蜜芽一区二区三区| 色狠狠色噜噜噜综合网| 一区二区三区不卡在线观看| 不卡电影一区二区三区| 国产欧美日韩不卡| 国产在线播放一区| 日韩免费视频一区二区| 日韩精品一区第一页| 一本高清dvd不卡在线观看| 亚洲乱码国产乱码精品精小说| 成人免费高清在线观看| 久久久久久久久99精品| 国产一区二区免费在线| 亚洲精品在线免费观看视频| 日本亚洲视频在线| 色噜噜久久综合| 丝袜亚洲另类丝袜在线| 欧美日韩大陆一区二区| 午夜一区二区三区视频| 欧美日韩一区二区电影| 丝袜亚洲另类丝袜在线| 欧美一区二区精品| 另类人妖一区二区av| 久久九九99视频| 成人毛片在线观看| 中文字幕一区二区三| av中文字幕不卡| 亚洲男人天堂一区| 91成人在线观看喷潮| 亚洲图片欧美综合| 欧美一区二区三区在线观看 | 国产精品一区二区三区网站| 久久婷婷综合激情| 成人av在线影院| 亚洲精品国久久99热| 欧美日韩免费电影| 国产在线不卡一区| 中文字幕在线一区二区三区| 93久久精品日日躁夜夜躁欧美| 亚洲精品国产一区二区精华液| 欧美日韩精品福利| 国产伦精品一区二区三区免费迷| 亚洲欧美日韩中文播放| 欧美日韩性生活| 麻豆精品久久精品色综合| 国产欧美日韩不卡免费| 91福利小视频| 亚洲成在线观看| 欧美一级在线免费| 丁香激情综合国产| 亚洲在线免费播放| 久久一区二区三区四区| 色综合久久99| 美女爽到高潮91| 国产综合一区二区| 中文字幕一区二区日韩精品绯色| 欧美在线一二三| 麻豆精品在线视频| 亚洲欧美色一区| 欧美精品一区二区三区在线播放 | 国产精品一区在线观看你懂的| 中文字幕欧美国产| 精品免费99久久| 色综合天天综合在线视频| 美女久久久精品| 亚洲特黄一级片| 欧美肥妇free|