| 1 |
VERSION 5.00 |
| 2 |
Begin VB.Form frmAddIn |
| 3 |
BorderStyle = 3 'Fixed Dialog |
| 4 |
Caption = "My Add In" |
| 5 |
ClientHeight = 3195 |
| 6 |
ClientLeft = 2175 |
| 7 |
ClientTop = 1935 |
| 8 |
ClientWidth = 6030 |
| 9 |
LinkTopic = "Form1" |
| 10 |
MaxButton = 0 'False |
| 11 |
MinButton = 0 'False |
| 12 |
ScaleHeight = 3195 |
| 13 |
ScaleWidth = 6030 |
| 14 |
ShowInTaskbar = 0 'False |
| 15 |
StartUpPosition = 2 'CenterScreen |
| 16 |
Begin VB.CommandButton CancelButton |
| 17 |
Caption = "Cancel" |
| 18 |
Height = 375 |
| 19 |
Left = 4680 |
| 20 |
TabIndex = 1 |
| 21 |
Top = 600 |
| 22 |
Width = 1215 |
| 23 |
End |
| 24 |
Begin VB.CommandButton OKButton |
| 25 |
Caption = "OK" |
| 26 |
Height = 375 |
| 27 |
Left = 4680 |
| 28 |
TabIndex = 0 |
| 29 |
Top = 120 |
| 30 |
Width = 1215 |
| 31 |
End |
| 32 |
End |
| 33 |
Attribute VB_Name = "frmAddIn" |
| 34 |
Attribute VB_GlobalNameSpace = False |
| 35 |
Attribute VB_Creatable = False |
| 36 |
Attribute VB_PredeclaredId = True |
| 37 |
Attribute VB_Exposed = False |
| 38 |
Public VBInstance As VBIDE.VBE |
| 39 |
Public Connect As Connect |
| 40 |
|
| 41 |
Option Explicit |
| 42 |
|
| 43 |
Private Sub CancelButton_Click() |
| 44 |
'Connect.Hide |
| 45 |
End Sub |
| 46 |
|
| 47 |
Private Sub OKButton_Click() |
| 48 |
'MsgBox "AddIn operation on: " & VBInstance.FullName |
| 49 |
MsgBox "Ok" |
| 50 |
End Sub |