📄 frm_sent_msg.frm
字号:
VERSION 5.00
Object = "{899348F9-A53A-4D9E-9438-F97F0E81E2DB}#1.0#0"; "LVbuttons.ocx"
Begin VB.Form frm_sent_msg
BackColor = &H00FFFFFF&
BorderStyle = 1 'Fixed Single
Caption = "Send Message to other Computer ..."
ClientHeight = 2775
ClientLeft = 45
ClientTop = 435
ClientWidth = 5010
Icon = "frm_sent_msg.frx":0000
LinkTopic = "Form2"
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
ScaleHeight = 2775
ScaleWidth = 5010
Begin LVbuttons.LaVolpeButton LaVolpeButton1
Height = 375
Left = 3360
TabIndex = 3
Top = 2280
Width = 1575
_ExtentX = 2778
_ExtentY = 661
BTYPE = 3
TX = "&Send Message"
ENAB = -1 'True
BeginProperty FONT {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Verdana"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
COLTYPE = 1
BCOL = 14215660
FCOL = 0
FCOLO = 0
EMBOSSM = 12632256
EMBOSSS = 16777215
MPTR = 0
MICON = "frm_sent_msg.frx":0E42
ALIGN = 1
IMGLST = "(None)"
IMGICON = "(None)"
ICONAlign = 0
ORIENT = 0
STYLE = 0
IconSize = 2
SHOWF = -1 'True
BSTYLE = 0
End
Begin VB.TextBox Text2
Appearance = 0 'Flat
BeginProperty Font
Name = "Verdana"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1485
Left = 1920
MultiLine = -1 'True
ScrollBars = 3 'Both
TabIndex = 2
Top = 720
Width = 3015
End
Begin VB.TextBox Text1
Appearance = 0 'Flat
BeginProperty Font
Name = "Verdana"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 1920
TabIndex = 1
Top = 360
Width = 2175
End
Begin VB.Label Label1
BackColor = &H00FFFFFF&
Caption = "Enter Message"
BeginProperty Font
Name = "Verdana"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 1
Left = 240
TabIndex = 4
Top = 720
Width = 1575
End
Begin VB.Label Label1
BackColor = &H00FFFFFF&
Caption = "Computer Name"
BeginProperty Font
Name = "Verdana"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 0
Left = 240
TabIndex = 0
Top = 360
Width = 1575
End
End
Attribute VB_Name = "frm_sent_msg"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = 27 Then
Unload Me
End If
End Sub
Private Sub Form_Load()
KeyPreview = True
Me.Left = 0
Me.Top = 0
End Sub
Private Sub LaVolpeButton1_Click()
If Len(Text1.Text) = 0 Then
MsgBox "Enter Computer name ...", vbCritical
Exit Sub
End If
If Len(Text2.Text) = 0 Then
MsgBox "Enter your message ...", vbCritical
Exit Sub
End If
Shell "net send " & Text1.Text & " " & Text2.Text & vbCrLf & vbCrLf & "[ Message Sent using Browse MIS System 1.0.0 ( Developed By Divyen patel ) ]"
MsgBox "Your message sent to " & Text1.Text, vbInformation
Text2.Text = Clear
End Sub
Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = 13 Then
SendKeys "{TAB}"
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -