vbclient.frm
来自「经验交流,从网上下载的好东西望大家分享」· FRM 代码 · 共 47 行
FRM
47 行
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 1224
ClientLeft = 48
ClientTop = 336
ClientWidth = 9276
LinkTopic = "Form1"
ScaleHeight = 1224
ScaleWidth = 9276
StartUpPosition = 3 'Windows Default
Begin VB.TextBox Text1
Height = 372
Left = 120
TabIndex = 2
Top = 720
Width = 9012
End
Begin VB.CommandButton Command1
Caption = "Go!"
Default = -1 'True
Height = 372
Left = 4320
TabIndex = 0
Top = 120
Width = 972
End
Begin VB.Label Label1
Caption = "objref:"
Height = 252
Left = 120
TabIndex = 1
Top = 360
Width = 1572
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim x As Component.InsideCOM
Set x = GetObject("objref:" & Text1.Text)
MsgBox x.GetSum
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?