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

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

?? formmain.frm

?? 一個51單片機網卡的IP地址設置界面程序
?? FRM
?? 第 1 頁 / 共 4 頁
字號:
      Top             =   960
      Visible         =   0   'False
      Width           =   315
   End
   Begin VB.Image Image9 
      Height          =   300
      Left            =   12720
      Picture         =   "Formmain.frx":2691FD
      Top             =   600
      Visible         =   0   'False
      Width           =   315
   End
   Begin VB.Image imgMinimize 
      Height          =   300
      Left            =   14640
      Picture         =   "Formmain.frx":269716
      Tag             =   "Minimize"
      ToolTipText     =   "Minimize"
      Top             =   0
      Width           =   315
   End
   Begin VB.Image imgClose 
      Height          =   315
      Left            =   15000
      Picture         =   "Formmain.frx":269C2F
      Tag             =   "Close"
      ToolTipText     =   "Close"
      Top             =   0
      Width           =   315
   End
End
Attribute VB_Name = "Formmain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Private Declare Sub Sleep Lib "kernel32" (ByVal dwmilliseconds As Long)
'Private Declare Function TIMERGETTIME Lib "WINMM.DLL " Alias "TIMEGETTIME" () As Long


Private Sub Form_Load()
Combo1.ListIndex = 3
'MSComm1.PortOpen = True
Label22.Caption = GetIPAddress()
End Sub
Function mynetsend(X As Byte)

    
sckclient.SendData Chr(255) & Chr(X)

End Function

Private Sub Image10_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image10.Picture = Image16.Picture
End If

End Sub

Private Sub Image10_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image10.Picture = Image15.Picture
End If
End Sub

Private Sub Image11_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image11.Picture = Image16.Picture
End If
End Sub

Private Sub Image11_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image11.Picture = Image15.Picture
End If
End Sub

Private Sub Image12_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image12.Picture = Image16.Picture
End If

End Sub

Private Sub Image12_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image12.Picture = Image15.Picture
End If

End Sub

Private Sub Image13_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image13.Picture = Image16.Picture
End If
End Sub

Private Sub Image13_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image13.Picture = Image15.Picture
End If
End Sub

Private Sub Image14_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image14.Picture = Image16.Picture
End If
End Sub

Private Sub Image14_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image14.Picture = Image15.Picture
End If

End Sub

Private Sub Image4_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image4.Picture = Image16.Picture
End If
End Sub






Private Sub Image4_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image4.Picture = Image15.Picture
End If

End Sub

Private Sub Image7_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image7.Picture = Image16.Picture
End If
End Sub

Private Sub Image7_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image7.Picture = Image15.Picture
End If
End Sub

Private Sub imgClose_Click()
If MSComm1.PortOpen = True Then

 MSComm1.PortOpen = False
 End If
Unload Me

End Sub

Private Sub imgClose_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    imgClose.Picture = Image5.Picture
End If

End Sub

Private Sub imgMinimize_Click()
On Error Resume Next
Me.WindowState = vbMinimized

End Sub

Private Sub imgMinimize_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    imgMinimize.Picture = Image6.Picture
End If
End Sub

Private Sub imgMinimize_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    imgMinimize.Picture = Image9.Picture
End If

End Sub

Private Sub Label11_Click()
 On Error GoTo sendErr
 
 If MSComm1.PortOpen = False Then
 
 MSComm1.PortOpen = True
 
End If
                 '避免程序運行錯誤,發生死機
Dim i
MSComm1.Output = Chr(255)
For i = 1 To 100000 Step 1
Next i
For i = 1 To 100000 Step 1
Next i
For i = 1 To 100000 Step 1
Next i
MSComm1.Output = Chr(127)
Exit Sub



sendErr:
   MsgBox Err.Description               '顯示錯誤信息

End Sub

Private Sub Label11_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image4.Picture = Image16.Picture
End If
End Sub

Private Sub Label11_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image4.Picture = Image15.Picture
End If

End Sub

Private Sub Label12_Click()
 On Error GoTo sendErr                 '避免程序運行錯誤,發生死機

   
    
    With sckclient
  .Close
    .RemoteHost = "192.168.0.7"
    .RemotePort = 7000                      '1024
    .LocalPort = 1234                           '1234
  
    
End With

Dim scom(27) As Byte
''------------------- THE FLLOWER CODE THE NETWORK CARD MAC ADDRESS----------------------'
scom(0) = "&h" + (Text1.Text)
scom(1) = "&h" + (Text2.Text)
scom(2) = "&h" + (Text3.Text)
scom(3) = "&h" + (Text4.Text)
scom(4) = "&h" + (Text5.Text)
scom(5) = "&h" + (Text6.Text)
''---------------  THE FLLOWER CODE IS  WILL CONFIG IP ADDRESS--------------------------
scom(6) = Val(Text7.Text)
scom(7) = Val(Text8.Text)
scom(8) = Val(Text9.Text)
scom(9) = Val(Text10.Text)

''---------------THE FLLOWER CODE IS WILL CONFIG THE LOCAL PORT (NO USE)--------------
scom(10) = &H40
scom(11) = &H0

''---------------THE FLOWER CODE IS REMOTE MANGER HOST COMPUTER IP ADDRESS------------
scom(12) = Val(Text19.Text)
scom(13) = Val(Text20.Text)
scom(14) = Val(Text21.Text)
scom(15) = Val(Text22.Text)

''----------------THE FLLOWER CODE IS WILL CONFIG THE REMOTE PORT--------------------
scom(16) = Val(Text23.Text) \ 256
scom(17) = Val(Text23.Text) Mod 256
''---------------the fllower code is netmask -----------------------------------
scom(18) = Val(Text11.Text)
scom(19) = Val(Text12.Text)
scom(20) = Val(Text13.Text)
scom(21) = Val(Text14.Text)
''---------------the fllower code is network gateway--------------------
scom(22) = Val(Text15.Text)
scom(23) = Val(Text16.Text)
scom(24) = Val(Text17.Text)
scom(25) = Val(Text18.Text)
''-------------------the fllowe code is network scress delay-----------

  Select Case Combo1.ListIndex
    Case 0
    scom(26) = Val(1)   '45
    Case 1
    scom(26) = Val(2)   '60
    Case 2
    scom(26) = Val(3)   '75
    Case 3
    scom(26) = Val(4)   '90
    Case 4
    scom(26) = Val(5)   '120
    Case 5
    scom(26) = Val(6)  ' 180
    Case 6
    scom(26) = Val(7)    '200
 End Select


scom(27) = &H7F


sckclient.SendData scom


Exit Sub
sendErr:
   MsgBox Err.Description               '顯示錯誤信息

End Sub

Private Sub Label12_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image7.Picture = Image16.Picture
End If

End Sub

Private Sub Label12_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image7.Picture = Image15.Picture
End If
End Sub

Private Sub Label13_Click()
If MSComm1.PortOpen = True Then

 MSComm1.PortOpen = False
 End If
 
Unload Me
End Sub

Private Sub Label13_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image10.Picture = Image16.Picture
End If

End Sub

Private Sub Label13_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image10.Picture = Image15.Picture
End If

End Sub

Private Sub Label14_Click()
Dim i, j



Dim strIP As String
  Dim varValues As Variant
  
  strIP = GetIPAddress()
  
  varValues = Split(strIP, ".")
  
 
  


  For i = varValues(3) To 254 Step 1
  
   varValues(3) = varValues(3) + 1
  
    strIP = Join(varValues, ".")
  
  
     With sckclient
    .Close
    .RemoteHost = strIP
    .RemotePort = 6000                      '1024
    .LocalPort = 6000                           '1234
      
    End With
   
  
  
  sckclient.SendData Chr(255)
   
  
  Next i
  

 
'call sleep(1000)                      為延時一秒
End Sub

Private Sub Label14_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image11.Picture = Image16.Picture
End If

End Sub

Private Sub Label14_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image11.Picture = Image15.Picture
End If
End Sub

Private Sub Label15_Click()
 On Error GoTo sendErr                 '避免程序運行錯誤,發生死機

   Dim XX

XX = Text24.Text & "." & Text25.Text & "." & Text26.Text & "." & Text27.Text

    
    With sckclient
  .Close
    .RemoteHost = XX
    .RemotePort = 7000                      '1024
    .LocalPort = 1234                           '1234
  
    
End With

Dim scom(27) As Byte
''------------------- THE FLLOWER CODE THE NETWORK CARD MAC ADDRESS----------------------'
scom(0) = "&h" + (Text1.Text)
scom(1) = "&h" + (Text2.Text)
scom(2) = "&h" + (Text3.Text)
scom(3) = "&h" + (Text4.Text)
scom(4) = "&h" + (Text5.Text)
scom(5) = "&h" + (Text6.Text)
''---------------  THE FLLOWER CODE IS  WILL CONFIG IP ADDRESS--------------------------
scom(6) = Val(Text7.Text)
scom(7) = Val(Text8.Text)
scom(8) = Val(Text9.Text)
scom(9) = Val(Text10.Text)

''---------------THE FLLOWER CODE IS WILL CONFIG THE LOCAL PORT (NO USE)--------------
scom(10) = &H40
scom(11) = &H0

''---------------THE FLOWER CODE IS REMOTE MANGER HOST COMPUTER IP ADDRESS------------
scom(12) = Val(Text19.Text)
scom(13) = Val(Text20.Text)
scom(14) = Val(Text21.Text)
scom(15) = Val(Text22.Text)

''----------------THE FLLOWER CODE IS WILL CONFIG THE REMOTE PORT--------------------
scom(16) = Val(Text23.Text) \ 256
scom(17) = Val(Text23.Text) Mod 256
''---------------the fllower code is netmask -----------------------------------
scom(18) = Val(Text11.Text)
scom(19) = Val(Text12.Text)
scom(20) = Val(Text13.Text)
scom(21) = Val(Text14.Text)
''---------------the fllower code is network gateway--------------------
scom(22) = Val(Text15.Text)
scom(23) = Val(Text16.Text)
scom(24) = Val(Text17.Text)
scom(25) = Val(Text18.Text)
''-------------------the fllowe code is network scress delay-----------

  Select Case Combo1.ListIndex
    Case 0
    scom(26) = Val(1)   '45
    Case 1
    scom(26) = Val(2)   '60
    Case 2
    scom(26) = Val(3)   '75
    Case 3
    scom(26) = Val(4)   '90
    Case 4
    scom(26) = Val(5)   '120
    Case 5
    scom(26) = Val(6)  ' 180
    Case 6
    scom(26) = Val(7)    '200
 End Select


scom(27) = &H7F


sckclient.SendData scom


Exit Sub
sendErr:
   MsgBox Err.Description               '顯示錯誤信息

End Sub

Private Sub Label15_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image12.Picture = Image16.Picture
End If

End Sub

Private Sub Label15_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image12.Picture = Image15.Picture
End If

End Sub

Private Sub Label17_Click()
 On Error GoTo sendErr                 '避免程序運行錯誤,發生死機

Dim XX

XX = Text24.Text & "." & Text25.Text & "." & Text26.Text & "." & Text27.Text
'Debug.Print XX

  With sckclient
  .Close
    .RemoteHost = XX
    .RemotePort = 6000                      '1024
    .LocalPort = 6000                           '1234
  
    
End With
'mynetsend (77)
sckclient.SendData Chr(255)

Exit Sub
sendErr:
   MsgBox Err.Description               '顯示錯誤信息

End Sub

Private Sub Label17_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image13.Picture = Image16.Picture
End If

End Sub

Private Sub Label17_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbLeftButton Then
    Image13.Picture = Image15.Picture
End If

End Sub

Private Sub Label18_Click()
On Error Resume Next

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产麻豆欧美日韩一区| 欧美视频在线观看一区二区| 色综合天天性综合| 欧美精品丝袜中出| 国产欧美日韩另类视频免费观看| 亚洲乱码国产乱码精品精可以看| 91精品国产麻豆| 蜜桃一区二区三区在线观看| 欧美日韩中文字幕精品| 欧美国产日产图区| 91视频免费观看| 欧美电影免费观看高清完整版在| 亚洲欧洲日韩av| 激情综合网天天干| 欧美日韩国产影片| 一区二区三区毛片| 99精品偷自拍| 国产精品国产三级国产普通话99| 极品美女销魂一区二区三区免费| 这里是久久伊人| 亚洲线精品一区二区三区| 成人午夜视频福利| 国产三级一区二区三区| 久久99久久99精品免视看婷婷 | 欧美日本一道本在线视频| 国产日韩欧美亚洲| 国产精品中文有码| 久久精品亚洲精品国产欧美| 免费观看一级特黄欧美大片| 91看片淫黄大片一级在线观看| 日韩你懂的在线播放| 欧美韩国日本一区| 久久成人18免费观看| 欧美在线看片a免费观看| 国产精品高清亚洲| 国产麻豆精品一区二区| 日韩一区二区精品| 亚洲国产wwwccc36天堂| 99精品久久99久久久久| 日韩免费电影网站| 日韩高清国产一区在线| 欧美亚洲一区二区在线观看| 亚洲人被黑人高潮完整版| 国产91精品一区二区| 日韩欧美电影一区| 捆绑紧缚一区二区三区视频| 欧美精品日日鲁夜夜添| 亚洲第一激情av| 99精品偷自拍| 亚洲一区欧美一区| 91同城在线观看| 亚洲精品国产高清久久伦理二区| 色婷婷av久久久久久久| 一区二区三区中文字幕| 99精品国产99久久久久久白柏| 国产日韩精品一区二区三区 | 亚洲欧美日韩一区二区三区在线观看| 国产专区欧美精品| 久久久久久久综合狠狠综合| 国产一区二区三区在线观看精品 | 国产美女精品一区二区三区| xnxx国产精品| 国产一区二区三区蝌蚪| 久久久99久久精品欧美| 国产成人免费视频网站 | 在线亚洲一区观看| 亚洲成人自拍一区| 欧美久久久影院| 美女一区二区三区在线观看| 亚洲精品在线免费播放| 国产99一区视频免费| 亚洲视频免费在线| 欧美日韩日日夜夜| 久久99这里只有精品| 日本一区二区三区dvd视频在线| 国产成人在线电影| 久久欧美中文字幕| 国产成人精品三级| 亚洲激情男女视频| 日韩午夜三级在线| 国产成人精品一区二区三区四区 | 欧美精品免费视频| 国产自产v一区二区三区c| 国产精品久久久久久久久果冻传媒 | 国产精品人妖ts系列视频| 99久久国产免费看| 亚洲国产中文字幕在线视频综合 | √…a在线天堂一区| 在线看不卡av| 老司机精品视频在线| 中文字幕永久在线不卡| 日韩一区二区在线观看视频播放| 国产成人精品www牛牛影视| 一区二区三区四区视频精品免费| 欧美一区二区三区电影| 99久久国产综合色|国产精品| 亚洲午夜在线观看视频在线| 日韩精品一区二区三区视频播放| 91影院在线免费观看| 久久99精品久久久久久动态图| 国产精品久久久久久久蜜臀| 欧美成人高清电影在线| 99re6这里只有精品视频在线观看| 肉色丝袜一区二区| 国产精品久久一卡二卡| 日韩欧美成人一区| 欧美伊人精品成人久久综合97 | 精品一区二区免费视频| 亚洲天堂av一区| 国产欧美日产一区| 91精品国产欧美一区二区18| 日本乱人伦aⅴ精品| 国产ts人妖一区二区| 精品中文字幕一区二区| 亚洲国产视频在线| 国产精品传媒入口麻豆| 欧美日韩国产免费一区二区| 91免费看`日韩一区二区| 国产精品1区2区3区在线观看| 午夜精品aaa| 日韩毛片高清在线播放| 国产精品美女久久久久久久久| 日韩久久精品一区| 日韩丝袜美女视频| 宅男噜噜噜66一区二区66| 欧美日韩一区高清| 一本一道综合狠狠老| 日本不卡一二三| 久久精品国产99久久6| 视频一区视频二区中文字幕| 亚洲国产综合视频在线观看| 亚洲一卡二卡三卡四卡| 亚洲精品少妇30p| 中文字幕综合网| 亚洲青青青在线视频| 亚洲欧洲另类国产综合| 日韩一区在线播放| 亚洲欧洲日韩在线| 亚洲视频免费看| 一区二区三区免费| 一区二区三区美女视频| 国产精品色呦呦| 久久五月婷婷丁香社区| 26uuu国产电影一区二区| 久久久亚洲国产美女国产盗摄| 日韩一区二区三区视频在线| 日韩欧美激情在线| 欧美v日韩v国产v| 国产午夜精品一区二区三区嫩草| 国产女主播在线一区二区| 国产精品久久久久久户外露出| 亚洲女子a中天字幕| 亚洲综合一二三区| 日韩二区三区在线观看| 久久国产麻豆精品| 粉嫩13p一区二区三区| 91女厕偷拍女厕偷拍高清| 欧美亚洲免费在线一区| 3d动漫精品啪啪1区2区免费| 欧美videofree性高清杂交| 91精品国产欧美日韩| 久久久蜜桃精品| 一区二区三区在线免费观看 | 国产日产欧美精品一区二区三区| 国产精品―色哟哟| 亚洲超碰97人人做人人爱| 久久99精品一区二区三区三区| 国产成a人无v码亚洲福利| 欧美主播一区二区三区| 欧美大片国产精品| 国产精品色噜噜| 五月天网站亚洲| 国产精一品亚洲二区在线视频| 九色综合狠狠综合久久| 91女厕偷拍女厕偷拍高清| 宅男在线国产精品| 国产精品久久久久久久久免费樱桃| 亚洲成人免费影院| 国产麻豆一精品一av一免费| 日本道精品一区二区三区| 日韩欧美国产一区在线观看| 中文字幕日韩精品一区| 免费观看91视频大全| 99re66热这里只有精品3直播| 欧美成人女星排名| 亚洲综合色视频| 成人一区二区三区视频| 欧美日韩你懂得| 久久免费美女视频| 久久电影国产免费久久电影 | 久久久国产一区二区三区四区小说 | 99久久精品免费| 26uuu精品一区二区| 一级做a爱片久久| k8久久久一区二区三区| 久久久不卡网国产精品二区| 伊人开心综合网| 蜜桃av一区二区三区电影| 欧美日韩一本到| 亚洲免费在线电影|