📄 vbclient.frm
字号:
VERSION 5.00
Begin VB.Form Form1
AutoRedraw = -1 'True
Caption = "Form1"
ClientHeight = 3060
ClientLeft = 48
ClientTop = 324
ClientWidth = 3936
LinkTopic = "Form1"
ScaleHeight = 3060
ScaleWidth = 3936
StartUpPosition = 3 'Windows Default
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Click()
Dim myPrimeFactory As IPrimeFactory
Dim myPrime As IPrime
' Call MkParseDisplayName
' Replace hostname with name of machine on which component is registered
Set myPrimeFactory = GetObject("host:hostname!clsid:10000013-0000-0000-0000-000000000001")
' Call IPrimeFactory::CreatePrime
Set myPrime = myPrimeFactory.CreatePrime(7)
Dim Count As Integer
For Count = 0 To 10
' Call IPrime::GetNextPrime
Print myPrime.GetNextPrime
Next
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -