vb client.frm
上传用户:bjlvip
上传日期:2010-02-08
资源大小:744k
文件大小:1k
- VERSION 5.00
- Begin VB.Form Form1
- Caption = "Form1"
- ClientHeight = 2508
- ClientLeft = 48
- ClientTop = 324
- ClientWidth = 3744
- LinkTopic = "Form1"
- ScaleHeight = 2508
- ScaleWidth = 3744
- StartUpPosition = 3 'Windows Default
- Begin VB.CommandButton Command1
- Caption = "Command1"
- Height = 612
- Left = 1080
- TabIndex = 0
- Top = 720
- Width = 1452
- 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 myRef As New InsideCOM
- Dim myarray(3) As MYTYPE
- myarray(0).a = 1
- myarray(0).b = 5
- myarray(1).a = 2
- myarray(1).b = 4
- myarray(2).a = 3
- myarray(2).b = 3
- myRef.Sum 3, myarray(0) ' myarray(0) makes arrays work!
- End Sub