📄 excmain.frm
字号:
VERSION 5.00
Begin VB.Form ExcMain
BorderStyle = 1 'Fixed Single
Caption = "Com组件测试"
ClientHeight = 3780
ClientLeft = 45
ClientTop = 450
ClientWidth = 4815
Icon = "ExcMain.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3780
ScaleWidth = 4815
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton ComTest
Caption = "组件测试"
Height = 495
Left = 1800
TabIndex = 0
Top = 1680
Width = 1215
End
End
Attribute VB_Name = "ExcMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub ComTest_Click()
Dim ErrInfo As String
Dim ComObj As Object
Set ComObj = CreateObject("InCommon.BaseLib")
ComObj.setUserID = 1
ComObj.setItemID = 39
Call ComObj.mShow(ErrInfo, 1)
MsgBox ComObj.getItemID & "::" & ComObj.getItemName
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -