VERSION 5.00
Begin VB.Form smtfrm 
   Caption         =   "Form1"
   ClientHeight    =   3195
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   8550
   LinkTopic       =   "Form1"
   ScaleHeight     =   3195
   ScaleWidth      =   8550
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command3 
      Caption         =   "Quit"
      Height          =   375
      Left            =   3120
      TabIndex        =   6
      Top             =   1440
      Width           =   1575
   End
   Begin VB.CommandButton Command2 
      Caption         =   "Toggle Visibility"
      Height          =   375
      Left            =   360
      TabIndex        =   5
      Top             =   1440
      Width           =   1695
   End
   Begin VB.TextBox Text2 
      Height          =   375
      Left            =   960
      TabIndex        =   2
      Top             =   720
      Width           =   3975
   End
   Begin VB.TextBox Text1 
      Height          =   375
      Left            =   960
      TabIndex        =   1
      Top             =   240
      Width           =   3975
   End
   Begin VB.CommandButton Command1 
      Caption         =   "Execute"
      Height          =   375
      Left            =   5640
      TabIndex        =   0
      Top             =   480
      Width           =   1095
   End
   Begin VB.Label Label3 
      Height          =   375
      Left            =   360
      TabIndex        =   7
      Top             =   2160
      Width           =   6495
   End
   Begin VB.Label Label2 
      Caption         =   "Keys"
      Height          =   255
      Left            =   120
      TabIndex        =   4
      Top             =   720
      Width           =   615
   End
   Begin VB.Label Label1 
      Caption         =   "Command"
      Height          =   255
      Left            =   120
      TabIndex        =   3
      Top             =   240
      Width           =   855
   End
End
Attribute VB_Name = "smtfrm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Dim o As New SmartWare.Application

Private Sub Command1_Click()
    Label3.Caption = o.Execute(Text1.Text, Text2.Text)
End Sub

Private Sub Command2_Click()
    If (o.Visible) Then
        o.Visible = False
    Else
        o.Visible = True
    End If
    
End Sub

Private Sub Command3_Click()
    o.Quit
End Sub

