home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form frmScaffold
- Caption = "Form1"
- ClientHeight = 4140
- ClientLeft = 1140
- ClientTop = 1515
- ClientWidth = 6690
- Height = 4545
- Left = 1080
- LinkTopic = "Form1"
- ScaleHeight = 4140
- ScaleWidth = 6690
- Top = 1170
- Width = 6810
- Begin VB.CommandButton cmdUnload
- Caption = "Command1"
- Height = 795
- Left = 420
- TabIndex = 1
- Top = 1680
- Width = 2055
- End
- Begin VB.CommandButton cmdRun
- Caption = "&Run"
- Height = 735
- Left = 480
- TabIndex = 0
- Top = 660
- Width = 1875
- End
- Attribute VB_Name = "frmScaffold"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Option Explicit
- Dim obj As New RunClass
- Private Sub cmdRun_Click()
- Dim success As Variant
- success = obj.Run
- MsgBox obj.CommandLine
- success = obj.Execute
- End Sub
- Private Sub cmdUnload_Click()
- Unload Me
- End Sub
- Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
- Set obj = Nothing
- End Sub
-