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

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

?? frmmain.frm

?? 串口通訊程序
?? FRM
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
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

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一本色道久久综合精品竹菊| 欧美性视频一区二区三区| 亚洲三级在线播放| 日韩一区二区三区视频在线观看 | 国产精品久久久久影视| 欧美色国产精品| 成人app软件下载大全免费| 日本va欧美va精品| 一区二区三区四区不卡在线| 久久精品人人做人人综合| 7878成人国产在线观看| 91网上在线视频| 丁香啪啪综合成人亚洲小说| 美腿丝袜亚洲色图| 亚洲成人av电影| 亚洲欧洲另类国产综合| 肉肉av福利一精品导航| 国产精品成人免费精品自在线观看| 91精品欧美一区二区三区综合在| 91国产免费看| 成人高清免费观看| 国产精品自拍在线| 久久aⅴ国产欧美74aaa| 亚欧色一区w666天堂| 亚洲精品国久久99热| 国产精品第一页第二页第三页| 精品国产一区二区三区四区四| 欧美精品日韩精品| 欧美日韩国产美女| 欧洲亚洲精品在线| 91国产免费观看| 色猫猫国产区一区二在线视频| 成人av在线一区二区| 懂色av一区二区在线播放| 国产麻豆精品95视频| 国产资源精品在线观看| 久久成人久久爱| 九九国产精品视频| 国内精品免费**视频| 精品在线观看视频| 韩国视频一区二区| 国产乱对白刺激视频不卡| 国产乱淫av一区二区三区| 国产美女精品人人做人人爽| 激情小说欧美图片| 国产盗摄视频一区二区三区| 国产福利一区在线| 成人高清视频免费观看| 色综合色综合色综合| 在线观看亚洲一区| 欧美日韩高清影院| 欧美一级艳片视频免费观看| 日韩久久精品一区| 日本一区二区综合亚洲| **网站欧美大片在线观看| 亚洲精品国产一区二区三区四区在线| 亚洲欧洲日产国码二区| 亚洲精品福利视频网站| 天涯成人国产亚洲精品一区av| 日韩国产精品大片| 激情六月婷婷综合| 成人高清免费在线播放| 日本高清无吗v一区| 欧美一区二区三区四区久久| 精品国产乱码久久久久久1区2区| 久久久精品免费免费| 国产精品国产三级国产aⅴ无密码| 亚洲精品一二三四区| 午夜精品在线视频一区| 国产一区二区在线观看视频| 99精品在线免费| 欧美夫妻性生活| 国产日韩欧美电影| 亚洲综合色自拍一区| 免费观看一级欧美片| 成人一级黄色片| 欧美群妇大交群中文字幕| 久久久综合精品| 亚洲猫色日本管| 精品综合久久久久久8888| 99视频在线精品| 日韩欧美中文字幕制服| 国产精品不卡一区二区三区| 日韩不卡在线观看日韩不卡视频| 国产精品1区2区| 91成人免费在线| 久久久亚洲高清| 亚洲成人在线免费| 国产高清不卡二三区| 欧美日韩高清影院| 国产精品护士白丝一区av| 日韩成人免费电影| 色网站国产精品| 国产网站一区二区| 日韩高清中文字幕一区| 91亚洲精品乱码久久久久久蜜桃| 日韩一区二区三区免费观看| 亚洲欧美一区二区视频| 精品一二线国产| 欧美三级在线看| 中文字幕亚洲一区二区va在线| 欧美aaa在线| 在线亚洲一区观看| 国产精品三级电影| 久热成人在线视频| 欧美日韩国产高清一区二区三区| 欧美国产在线观看| 极品少妇xxxx偷拍精品少妇| 欧美日精品一区视频| 亚洲欧洲日韩av| 国产99久久久国产精品免费看| 91精品国产综合久久福利| 亚洲乱码国产乱码精品精小说| 国产精品亚洲专一区二区三区 | 国产午夜精品久久久久久免费视 | 成人手机在线视频| 日韩精品中午字幕| 日韩黄色免费电影| 欧美日韩国产欧美日美国产精品| 亚洲免费色视频| 97aⅴ精品视频一二三区| 国产日韩欧美不卡| 国产在线一区二区综合免费视频| 欧美一区二区三区思思人| 午夜精品123| 欧美视频在线观看一区| 亚洲精品日日夜夜| 99国产精品久久久久久久久久 | 97久久精品人人爽人人爽蜜臀| 久久久久久久久久久久久女国产乱 | 久久久久久久久97黄色工厂| 精品一区二区三区视频| 欧美成人激情免费网| 麻豆精品视频在线观看免费| 91精品国产综合久久久蜜臀粉嫩| 亚洲成人激情av| 欧美丰满嫩嫩电影| 免费高清成人在线| 亚洲一区二区三区四区在线观看| 91免费观看国产| 亚洲卡通欧美制服中文| 在线观看视频一区二区欧美日韩| 亚洲色欲色欲www| 色婷婷av一区二区三区大白胸 | 亚洲综合一区二区三区| 欧美在线视频日韩| 亚洲h在线观看| 日韩一区二区在线播放| 裸体一区二区三区| 日韩免费成人网| 国产精品一区二区你懂的| 中文天堂在线一区| 91黄色小视频| 天天av天天翘天天综合网| 日韩欧美久久一区| 国产成人99久久亚洲综合精品| 国产精品国产成人国产三级| 色欧美日韩亚洲| 天天综合日日夜夜精品| 亚洲精品一区二区在线观看| 国产成人免费视频精品含羞草妖精| 中文字幕一区二区三区乱码在线| 日本道精品一区二区三区| 日韩高清不卡一区| 久久精品视频一区二区| 99re在线精品| 日韩国产一区二| 欧美国产精品v| 欧美午夜宅男影院| 韩国欧美国产1区| 中文字幕色av一区二区三区| 精品婷婷伊人一区三区三| 韩国v欧美v亚洲v日本v| 中文字幕色av一区二区三区| 4438x亚洲最大成人网| 国产风韵犹存在线视精品| 亚洲精品日韩专区silk| 欧美tk丨vk视频| 色综合天天天天做夜夜夜夜做| 日本少妇一区二区| 国产精品久久久久一区二区三区 | 亚洲色图都市小说| 欧美一区二区网站| eeuss鲁片一区二区三区在线看| 亚洲mv在线观看| 中文字幕av一区二区三区高| 欧美二区乱c少妇| proumb性欧美在线观看| 蜜臀久久99精品久久久画质超高清| 国产精品美女久久久久av爽李琼| 欧美人妖巨大在线| 97se亚洲国产综合在线| 国内一区二区视频| 亚洲成人激情自拍| 国产精品久久久久久久久免费樱桃 | 亚洲电影在线播放| 中文在线一区二区| 欧美成人午夜电影| 欧美日韩你懂得| 一本一本大道香蕉久在线精品|