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

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

?? frmmain.frm

?? 串口調試VB一個不錯的源代碼 串口中非常有用
?? FRM
?? 第 1 頁 / 共 2 頁
字號:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form frmMain 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "Basic Communications"
   ClientHeight    =   1155
   ClientLeft      =   2370
   ClientTop       =   2925
   ClientWidth     =   8205
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1155
   ScaleWidth      =   8205
   StartUpPosition =   2  'CenterScreen
   Begin VB.CommandButton btnClear 
      Caption         =   "Clear"
      Height          =   285
      Index           =   2
      Left            =   7440
      TabIndex        =   7
      Top             =   480
      Width           =   615
   End
   Begin VB.CommandButton btnClear 
      Caption         =   "Clear"
      Height          =   285
      Index           =   1
      Left            =   7440
      TabIndex        =   6
      Top             =   120
      Width           =   615
   End
   Begin VB.TextBox txtResponse 
      Alignment       =   1  'Right Justify
      BeginProperty Font 
         Name            =   "Times New Roman"
         Size            =   9
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   285
      Left            =   960
      Locked          =   -1  'True
      ScrollBars      =   1  'Horizontal
      TabIndex        =   4
      Top             =   480
      Width           =   5655
   End
   Begin MSCommLib.MSComm MSComm1 
      Left            =   6720
      Top             =   720
      _ExtentX        =   1005
      _ExtentY        =   1005
      _Version        =   393216
      DTREnable       =   0   'False
      ParityReplace   =   65
      RThreshold      =   1
   End
   Begin VB.CommandButton btnSend 
      Caption         =   "Send"
      Height          =   285
      Index           =   1
      Left            =   6720
      TabIndex        =   2
      Top             =   120
      Width           =   615
   End
   Begin VB.TextBox txtTextOut 
      BeginProperty Font 
         Name            =   "Times New Roman"
         Size            =   9
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   285
      Left            =   960
      TabIndex        =   1
      Text            =   "Text1"
      Top             =   120
      Width           =   5655
   End
   Begin MSComctlLib.StatusBar StatusBar1 
      Align           =   2  'Align Bottom
      Height          =   255
      Left            =   0
      TabIndex        =   0
      Top             =   900
      Width           =   8205
      _ExtentX        =   14473
      _ExtentY        =   450
      ShowTips        =   0   'False
      _Version        =   393216
      BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628} 
         NumPanels       =   4
         BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Object.Width           =   2117
            MinWidth        =   2117
            Text            =   "Connected"
            TextSave        =   "Connected"
         EndProperty
         BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Object.Width           =   1270
            MinWidth        =   1270
            Text            =   "com1"
            TextSave        =   "com1"
         EndProperty
         BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Object.Width           =   2258
            MinWidth        =   2258
            Text            =   "9600 8N1"
            TextSave        =   "9600 8N1"
         EndProperty
         BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Object.Width           =   1235
            MinWidth        =   1235
            Text            =   "ASCII"
            TextSave        =   "ASCII"
         EndProperty
      EndProperty
   End
   Begin VB.Label Label3 
      Caption         =   "Response:"
      Height          =   255
      Left            =   120
      TabIndex        =   5
      Top             =   480
      Width           =   855
   End
   Begin VB.Label Label2 
      Caption         =   "Output:"
      Height          =   255
      Left            =   120
      TabIndex        =   3
      Top             =   120
      Width           =   615
   End
   Begin VB.Menu mnuSettings 
      Caption         =   "&Settings"
      Begin VB.Menu mnuPort 
         Caption         =   "&Port"
         Begin VB.Menu mnuCom 
            Caption         =   "Com &1"
            Checked         =   -1  'True
            Index           =   1
         End
         Begin VB.Menu mnuCom 
            Caption         =   "Com &2"
            Index           =   2
         End
         Begin VB.Menu mnuCom 
            Caption         =   "Com &3"
            Index           =   3
         End
         Begin VB.Menu mnuCom 
            Caption         =   "Com &4"
            Index           =   4
         End
      End
      Begin VB.Menu mnuSpeed 
         Caption         =   "&Speed"
         Begin VB.Menu mnuSpeedSel 
            Caption         =   "11&0"
            Index           =   0
         End
         Begin VB.Menu mnuSpeedSel 
            Caption         =   "&300"
            Index           =   1
         End
         Begin VB.Menu mnuSpeedSel 
            Caption         =   "&600"
            Index           =   2
         End
         Begin VB.Menu mnuSpeedSel 
            Caption         =   "&1,200"
            Index           =   3
         End
         Begin VB.Menu mnuSpeedSel 
            Caption         =   "&2,400"
            Index           =   4
         End
         Begin VB.Menu mnuSpeedSel 
            Caption         =   "&9,600"
            Checked         =   -1  'True
            Index           =   5
         End
         Begin VB.Menu mnuSpeedSel 
            Caption         =   "14,400"
            Index           =   6
         End
         Begin VB.Menu mnuSpeedSel 
            Caption         =   "19,200"
            Index           =   7
         End
         Begin VB.Menu mnuSpeedSel 
            Caption         =   "28,800"
            Index           =   8
         End
         Begin VB.Menu mnuSpeedSel 
            Caption         =   "3&8,400"
            Index           =   9
         End
         Begin VB.Menu mnuSpeedSel 
            Caption         =   "56,000"
            Index           =   10
         End
         Begin VB.Menu mnuSpeedSel 
            Caption         =   "128,000"
            Index           =   11
         End
         Begin VB.Menu mnuSpeedSel 
            Caption         =   "256,000"
            Index           =   12
         End
      End
      Begin VB.Menu mnuDataB 
         Caption         =   "&Data Bits"
         Begin VB.Menu mnuDataBSel 
            Caption         =   "&4"
            Index           =   4
         End
         Begin VB.Menu mnuDataBSel 
            Caption         =   "&5"
            Index           =   5
         End
         Begin VB.Menu mnuDataBSel 
            Caption         =   "&6"
            Index           =   6
         End
         Begin VB.Menu mnuDataBSel 
            Caption         =   "&7"
            Index           =   7
         End
         Begin VB.Menu mnuDataBSel 
            Caption         =   "&8"
            Checked         =   -1  'True
            Index           =   8
         End
      End
      Begin VB.Menu mnuParity 
         Caption         =   "&Parity"
         Begin VB.Menu mnuParitySel 
            Caption         =   "&Even"
            Index           =   0
         End
         Begin VB.Menu mnuParitySel 
            Caption         =   "&Mark"
            Index           =   1
         End
         Begin VB.Menu mnuParitySel 
            Caption         =   "&None"
            Checked         =   -1  'True
            Index           =   2
         End
         Begin VB.Menu mnuParitySel 
            Caption         =   "&Odd"
            Index           =   3
         End
         Begin VB.Menu mnuParitySel 
            Caption         =   "&Space"
            Index           =   4
         End
      End
      Begin VB.Menu mnuStop 
         Caption         =   "&Stop Bits"
         Begin VB.Menu mnuStopSel 
            Caption         =   "&1"
            Checked         =   -1  'True
            Index           =   0
         End
         Begin VB.Menu mnuStopSel 
            Caption         =   "1.&5"
            Index           =   1
         End
         Begin VB.Menu mnuStopSel 
            Caption         =   "&2"
            Index           =   2
         End
      End
   End
   Begin VB.Menu mnuView 
      Caption         =   "&View"
      Begin VB.Menu mnuViewSel 
         Caption         =   "&Ascii"
         Checked         =   -1  'True
         Index           =   0
      End
      Begin VB.Menu mnuViewSel 
         Caption         =   "&Hex"
         Index           =   1
      End
   End
   Begin VB.Menu mnuConnect 
      Caption         =   "&Connect"
   End
   Begin VB.Menu mnuHelp 
      Caption         =   "&Help"
      Begin VB.Menu mnuHelpSel 
         Caption         =   "&Basic Help"
         Index           =   0
      End
      Begin VB.Menu mnuHelpSel 
         Caption         =   "&About"
         Index           =   1
      End
   End
End
Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'Basic communications module
'Written by: M. Adam Davis
'Modified by Malcom Kemp 3/12/00
'
'This program will allow for the precise sending and receiving of characters
'to a communication port on the PC.  You can sellect which port to use, and also
'select a bit rate speed for the port.  You must "connect" from the menu to
'open the port.  Then you can select to send either an ascii string, or a string
'of up to 12 hex characters.  The characters are sent when the appropriate
'send button is pushed.
'
'The recieve string will escape non-pritable characters with the <x[x]>
'convention where xx represents the hex value of the character.

Option Explicit
Dim OutputAscii As Boolean
Dim InputString As String
Dim OutputString As String

Private Sub btnClear_Click(Index As Integer)
    Dim i As Integer
    
    Select Case Index
        Case 1:
            txtTextOut = ""
            OutputString = ""
        Case 2:
            txtResponse = ""
            InputString = ""
    End Select
    
End Sub

Private Sub btnSend_Click(Index As Integer)
   
    Select Case Index
        Case 1                      ' Send ascii string
          send OutputString
    End Select
    
 End Sub
Sub send(txtin As String)
    
    If MSComm1.PortOpen = True Then
        MSComm1.Output = txtin
    End If
    
End Sub

Function HexChar(strData As String) As Integer

    Select Case strData
        Case "0" To "9"
            HexChar = Val(strData) - Val("0")
        Case "a", "A"
            HexChar = 10
        Case "b", "B"
            HexChar = 11
        Case "c", "C"
            HexChar = 12
        Case "d", "D"
            HexChar = 13
        Case "e", "E"
            HexChar = 14
        Case "f", "F"
            HexChar = 15
        Case Else
            HexChar = 0
    End Select

End Function

Private Sub Form_Load()
    Dim i As Integer

    OutputAscii = True

    For i = 1 To 2                  ' Clear all input/output fields
        btnClear_Click (i)
    Next i
    If Not ValidatePort Then
        MsgBox "There are no available comm ports on this computer.", , "Commx"
        End
    End If
    UpdateStatus
End Sub

Private Sub Form_Unload(Cancel As Integer)

    If (MSComm1.PortOpen) Then
        MSComm1.PortOpen = False
    End If
    
End Sub

Private Sub mnuCom_Click(Index As Integer)
    Dim i As Integer
    Dim OldPort As Long
    
    On Error Resume Next
    With MSComm1
        OldPort = .CommPort
        If MSComm1.PortOpen Then
            .PortOpen = False
            .CommPort = Index
            .PortOpen = True
            If Err.Number <> 0 Then     ' This should not happen...
                MsgBox "Com" & Index & " is not available." & _
                            vbCrLf & Err.Description
                Err.Clear
                .CommPort = OldPort

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
av不卡在线播放| 成人午夜私人影院| 午夜影院久久久| 亚洲精品中文字幕乱码三区 | 乱一区二区av| 蜜桃一区二区三区在线观看| 青青草原综合久久大伊人精品优势 | 男女男精品视频| 日本亚洲视频在线| 国精产品一区一区三区mba桃花 | 成人性生交大片免费看在线播放| 国产精品888| 91一区二区在线| 欧美午夜不卡在线观看免费| 91九色02白丝porn| 777午夜精品视频在线播放| 欧美一级片在线看| 中日韩av电影| 亚洲永久免费av| 蜜芽一区二区三区| 国产黄色精品网站| 91黄色免费网站| 777精品伊人久久久久大香线蕉| 精品99一区二区| 国产精品国产自产拍在线| 亚洲成av人片一区二区梦乃| 久久99精品久久久久久动态图 | 日韩女优毛片在线| 中文字幕一区二区在线播放| 亚洲成在人线免费| 国产一区二区美女| 色八戒一区二区三区| 日韩欧美国产综合一区| 亚洲欧美一区二区在线观看| 日韩高清不卡一区二区三区| 春色校园综合激情亚洲| 在线播放日韩导航| 国产精品成人一区二区艾草| 日韩成人精品视频| 色域天天综合网| 久久伊人蜜桃av一区二区| 亚洲激情图片qvod| 国产精品一区二区久久精品爱涩| 在线一区二区视频| 国产精品久久99| 精品影院一区二区久久久| 9人人澡人人爽人人精品| 精品国产免费视频| 亚洲国产精品一区二区久久恐怖片| 国产麻豆精品theporn| 911精品产国品一二三产区| 国产精品久久福利| 国产伦精品一区二区三区视频青涩 | 亚洲一本大道在线| 成人教育av在线| 久久蜜桃香蕉精品一区二区三区| 亚洲一区视频在线| 99久久精品国产观看| 国产性色一区二区| 国产一区二区三区在线观看免费 | 亚洲天堂网中文字| 国产成人自拍在线| 久久久噜噜噜久久人人看| 老司机精品视频线观看86 | 在线观看一区二区视频| 欧美高清在线精品一区| 国产乱淫av一区二区三区| 91麻豆精品国产| 五月婷婷另类国产| 欧美日韩一二三| 午夜欧美在线一二页| 在线观看亚洲精品| 亚洲一区影音先锋| 欧洲精品一区二区三区在线观看| 亚洲另类在线制服丝袜| 在线观看亚洲专区| 五月天网站亚洲| 51精品视频一区二区三区| 午夜激情综合网| 日韩一区国产二区欧美三区| 免费成人美女在线观看.| 日韩视频一区二区| 久久99精品国产麻豆不卡| 精品国内二区三区| 精品在线免费视频| 欧美国产禁国产网站cc| 色综合网色综合| 亚洲成人777| 日韩欧美国产午夜精品| 精品一区二区影视| 国产日韩欧美麻豆| 97精品久久久午夜一区二区三区| 亚洲黄色片在线观看| 欧美日韩第一区日日骚| 久久超级碰视频| 国产女人18毛片水真多成人如厕 | 成人高清免费在线播放| 亚洲日本丝袜连裤袜办公室| 欧美性一二三区| 极品少妇xxxx精品少妇偷拍| 国产精品免费视频观看| 欧美综合视频在线观看| 久久se这里有精品| 亚洲丝袜自拍清纯另类| 91精品国产手机| 国产jizzjizz一区二区| 亚洲福利视频导航| 久久久不卡网国产精品一区| 在线免费观看日韩欧美| 国产精品一区二区三区网站| 亚洲在线视频网站| 国产清纯在线一区二区www| 欧美综合色免费| 国产91清纯白嫩初高中在线观看| 亚洲国产成人porn| 亚洲国产精品av| 欧美α欧美αv大片| 欧美性生活久久| 风间由美一区二区三区在线观看| 性做久久久久久久免费看| 国产精品免费免费| 精品国产成人系列| 欧美日韩一区二区三区在线看| 国产乱子伦视频一区二区三区 | 久久青草欧美一区二区三区| 欧美在线一二三| 成人白浆超碰人人人人| 国产一区美女在线| 亚洲v中文字幕| 一区二区三区四区蜜桃| 国产精品天干天干在观线| 7777精品伊人久久久大香线蕉完整版 | 欧美亚洲动漫制服丝袜| 成人av网站在线| 国产成人免费视频网站高清观看视频| 亚洲va欧美va国产va天堂影院| 国产精品美女一区二区三区| 久久久久久久久久久久久久久99| 91精品婷婷国产综合久久性色| 色婷婷综合久久久久中文| 成人动漫一区二区三区| 从欧美一区二区三区| 国产在线精品免费| 韩国av一区二区三区| 久久99久久99精品免视看婷婷 | 免费看日韩精品| 日本不卡的三区四区五区| 午夜精品久久久久久久久| 一区二区三区久久| 亚洲一区二区三区爽爽爽爽爽 | 亚洲国产综合人成综合网站| 亚洲精品国产a| 亚洲一区免费视频| 亚洲国产成人91porn| 日韩一区欧美二区| 另类小说视频一区二区| 蜜桃av噜噜一区二区三区小说| 日本成人在线一区| 久久97超碰国产精品超碰| av电影在线观看一区| av不卡在线观看| 在线观看免费视频综合| 欧美精品一级二级三级| 欧美日韩大陆一区二区| 日韩一级二级三级精品视频| 欧美mv日韩mv国产网站app| 久久蜜桃一区二区| 1区2区3区欧美| 丝袜美腿亚洲一区| 久久国产精品免费| 国产不卡在线一区| 欧美性生活大片视频| 久久奇米777| 亚洲另类色综合网站| 日韩主播视频在线| 国产精品一区二区在线观看不卡| 成人av电影免费观看| 欧美在线观看视频一区二区| 欧美一区二区三区免费大片| 国产视频一区二区三区在线观看| 日韩一区中文字幕| 男男成人高潮片免费网站| 丁香亚洲综合激情啪啪综合| 欧美综合欧美视频| 国产无一区二区| 亚洲国产精品麻豆| 成人一区二区视频| 91麻豆精品国产91久久久使用方法 | 美女www一区二区| eeuss鲁一区二区三区| 91精品免费在线| 中文字幕一区二区在线播放 | youjizz国产精品| 日韩欧美黄色影院| 亚洲精选视频免费看| 国产在线乱码一区二区三区| 欧美在线短视频| 国产精品久久久久久久久久久免费看 | 久久久国产精华| 日本aⅴ精品一区二区三区|