home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 4 Unleashed / Visual_Basic_4_Unleashed_SAMS_Publishing_1995.iso / source / chap16 / dlgrun1 / frmscaff.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1995-10-05  |  1003 b   |  38 lines

  1. VERSION 4.00
  2. Begin VB.Form frmScaffold 
  3.    Caption         =   "Form1"
  4.    ClientHeight    =   4140
  5.    ClientLeft      =   1140
  6.    ClientTop       =   1515
  7.    ClientWidth     =   6690
  8.    Height          =   4545
  9.    Left            =   1080
  10.    LinkTopic       =   "Form1"
  11.    ScaleHeight     =   4140
  12.    ScaleWidth      =   6690
  13.    Top             =   1170
  14.    Width           =   6810
  15.    Begin VB.CommandButton cmdRun 
  16.       Caption         =   "&Run"
  17.       Height          =   735
  18.       Left            =   480
  19.       TabIndex        =   0
  20.       Top             =   660
  21.       Width           =   1875
  22.    End
  23. Attribute VB_Name = "frmScaffold"
  24. Attribute VB_Creatable = False
  25. Attribute VB_Exposed = False
  26. Option Explicit
  27. Private Sub cmdRun_Click()
  28.     Dim dlg As New dlgRun
  29.     Dim success As Variant
  30.     success = dlg.Display()
  31.     MsgBox success
  32.     If success Then
  33.       MsgBox dlg.CommandLine
  34.       success = dlg.Execute
  35.       MsgBox success
  36.     End If
  37. End Sub
  38.