📄 form1.ebf
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 6420
ClientLeft = 60
ClientTop = 345
ClientWidth = 9390
ScaleHeight = 6420
ScaleWidth = 9390
Begin VB.TextBox Text1
Height = 615
Left = 1920
TabIndex = 1
Text = "Text1"
Top = 360
Width = 5775
End
Begin VB.CommandButton Command1
Caption = "Command1"
Height = 1575
Left = 2520
TabIndex = 0
Top = 1680
Width = 4215
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
Dim foo As Object
Dim valler As Variant
Set foo = CreateObject("PCDMDLL.PCDMAccessReg")
foo.WriteRegistryKey "HKLM\Software\MyCompany\Name", "CompanyName"
valler = foo.ReadRegistryKey("HKLM\Ident\Name")
Text1.Text = valler
Set foo = Nothing
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -