home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Toolbox / Visual Basic Toolbox (P.I.E.)(1996).ISO / patchfix / dbpatch / mainform.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1995-05-16  |  5.4 KB  |  188 lines

  1. VERSION 2.00
  2. Begin Form MainForm 
  3.    BackColor       =   &H8000000F&
  4.    Caption         =   "IPS MDB Database Patch"
  5.    ClientHeight    =   2865
  6.    ClientLeft      =   1740
  7.    ClientTop       =   3300
  8.    ClientWidth     =   7305
  9.    Height          =   3240
  10.    Icon            =   MAINFORM.FRX:0000
  11.    Left            =   1695
  12.    LinkTopic       =   "Form2"
  13.    ScaleHeight     =   2865
  14.    ScaleWidth      =   7305
  15.    Top             =   2970
  16.    Width           =   7395
  17.    Begin ListBox PatchModules 
  18.       Height          =   1200
  19.       Left            =   75
  20.       TabIndex        =   18
  21.       Top             =   9180
  22.       Width           =   2970
  23.    End
  24.    Begin ListBox PatchMacros 
  25.       Height          =   1200
  26.       Left            =   75
  27.       TabIndex        =   17
  28.       Top             =   7935
  29.       Width           =   2970
  30.    End
  31.    Begin ListBox PatchReports 
  32.       Height          =   1200
  33.       Left            =   75
  34.       TabIndex        =   16
  35.       Top             =   6690
  36.       Width           =   2970
  37.    End
  38.    Begin ListBox PatchForms 
  39.       Height          =   1200
  40.       Left            =   75
  41.       TabIndex        =   15
  42.       Top             =   5430
  43.       Width           =   2970
  44.    End
  45.    Begin ListBox PatchQueries 
  46.       Height          =   1200
  47.       Left            =   75
  48.       TabIndex        =   14
  49.       Top             =   4185
  50.       Width           =   2970
  51.    End
  52.    Begin ListBox PatchTables 
  53.       Height          =   1200
  54.       Left            =   75
  55.       TabIndex        =   13
  56.       Top             =   2925
  57.       Width           =   2970
  58.    End
  59.    Begin ListBox InputModules 
  60.       Height          =   1200
  61.       Left            =   4275
  62.       TabIndex        =   12
  63.       Top             =   9180
  64.       Width           =   2970
  65.    End
  66.    Begin ListBox InputMacros 
  67.       Height          =   1200
  68.       Left            =   4275
  69.       TabIndex        =   11
  70.       Top             =   7935
  71.       Width           =   2970
  72.    End
  73.    Begin ListBox InputReports 
  74.       Height          =   1200
  75.       Left            =   4275
  76.       TabIndex        =   10
  77.       Top             =   6690
  78.       Width           =   2970
  79.    End
  80.    Begin ListBox InputForms 
  81.       Height          =   1200
  82.       Left            =   4275
  83.       TabIndex        =   9
  84.       Top             =   5445
  85.       Width           =   2970
  86.    End
  87.    Begin ListBox InputQueries 
  88.       Height          =   1200
  89.       Left            =   4275
  90.       TabIndex        =   8
  91.       Top             =   4185
  92.       Width           =   2970
  93.    End
  94.    Begin ListBox InputTables 
  95.       Height          =   1200
  96.       Left            =   4275
  97.       TabIndex        =   7
  98.       Top             =   2925
  99.       Width           =   2970
  100.    End
  101.    Begin SSPanel MainFormBak 
  102.       Align           =   1  'Align Top
  103.       BackColor       =   &H8000000F&
  104.       BevelWidth      =   2
  105.       Font3D          =   0  'None
  106.       Height          =   2880
  107.       Left            =   0
  108.       TabIndex        =   0
  109.       Top             =   0
  110.       Width           =   7305
  111.       Begin TextBox InputLink 
  112.          Height          =   1170
  113.          Left            =   4260
  114.          MultiLine       =   -1  'True
  115.          ScrollBars      =   2  'Vertical
  116.          TabIndex        =   4
  117.          Text            =   "Text1"
  118.          Top             =   1635
  119.          Visible         =   0   'False
  120.          Width           =   2955
  121.       End
  122.       Begin TextBox PatchLink 
  123.          Height          =   1170
  124.          Left            =   60
  125.          MultiLine       =   -1  'True
  126.          ScrollBars      =   2  'Vertical
  127.          TabIndex        =   6
  128.          Text            =   "Text1"
  129.          Top             =   1635
  130.          Visible         =   0   'False
  131.          Width           =   2895
  132.       End
  133.       Begin CommandButton ExitButton 
  134.          Caption         =   "E&xit"
  135.          Height          =   405
  136.          Left            =   3045
  137.          TabIndex        =   2
  138.          Top             =   2205
  139.          Width           =   1140
  140.       End
  141.       Begin SSCommand PatchButton 
  142.          Caption         =   "&Patch DB"
  143.          Font3D          =   0  'None
  144.          Height          =   1365
  145.          Left            =   210
  146.          Picture         =   MAINFORM.FRX:0302
  147.          TabIndex        =   1
  148.          Top             =   225
  149.          Width           =   1305
  150.       End
  151.       Begin Label Label2 
  152.          BackStyle       =   0  'Transparent
  153.          Caption         =   "You will be prompted for the location of the database file to be patched."
  154.          Height          =   465
  155.          Left            =   1965
  156.          TabIndex        =   5
  157.          Top             =   1035
  158.          Width           =   3315
  159.       End
  160.       Begin Label Label1 
  161.          BackStyle       =   0  'Transparent
  162.          Caption         =   "Click on the button at left to begin the Database Patch Process."
  163.          Height          =   465
  164.          Left            =   2010
  165.          TabIndex        =   3
  166.          Top             =   360
  167.          Width           =   3315
  168.       End
  169.    End
  170. Option Explicit
  171. Sub ExitButton_Click ()
  172.    DBClose
  173.    End
  174. End Sub
  175. Sub Form_Load ()
  176.    CenterForm Me
  177.    InputDBOpen = False
  178.    PatchDBOpen = False
  179. End Sub
  180. Sub Form_Unload (Cancel As Integer)
  181.    DBClose
  182.    Set MainForm = Nothing
  183.    End
  184. End Sub
  185. Sub PatchButton_Click ()
  186.    Call PatchDatabase
  187. End Sub
  188.