form1.frm
来自「经验交流,从网上下载的好东西望大家分享」· FRM 代码 · 共 33 行
FRM
33 行
VERSION 5.00
Begin VB.Form Form1
AutoRedraw = -1 'True
Caption = "Form1"
ClientHeight = 2496
ClientLeft = 48
ClientTop = 336
ClientWidth = 3744
LinkTopic = "Form1"
ScaleHeight = 2496
ScaleWidth = 3744
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command1
Caption = "Command1"
Height = 372
Left = 1440
TabIndex = 0
Top = 1080
Width = 972
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("new:Component.InsideDCOM")
Set x = GetObject("new:10000002-0000-0000-0000-000000000001")
Print x.Sum(5, 3)
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?