VERSION 5.00
Begin VB.Form frm1 
   BackColor       =   &H00C0C000&
   Caption         =   "Строковый калькулятор"
   ClientHeight    =   2172
   ClientLeft      =   3240
   ClientTop       =   3516
   ClientWidth     =   5988
   LinkTopic       =   "Form1"
   ScaleHeight     =   2172
   ScaleWidth      =   5988
   Begin VB.CommandButton cmdAsc 
      Caption         =   "Asc"
      Height          =   375
      Left            =   2640
      TabIndex        =   8
      Top             =   1560
      Visible         =   0   'False
      Width           =   855
   End
   Begin VB.CommandButton cmdLen 
      Caption         =   "Len"
      Height          =   375
      Left            =   240
      TabIndex        =   7
      Top             =   1560
      Visible         =   0   'False
      Width           =   855
   End
   Begin VB.TextBox txt2Mid 
      Height          =   375
      Left            =   4080
      TabIndex        =   6
      Top             =   960
      Width           =   375
   End
   Begin VB.TextBox txt1Mid 
      Height          =   375
      Left            =   3600
      TabIndex        =   5
      Top             =   960
      Width           =   375
   End
   Begin VB.CommandButton cmdMid 
      Caption         =   "Mid$"
      Height          =   375
      Left            =   2640
      TabIndex        =   4
      Top             =   960
      Width           =   855
   End
   Begin VB.CommandButton cmdCon 
      Caption         =   "Конкатенация"
      Height          =   375
      Left            =   240
      TabIndex        =   3
      Top             =   960
      Width           =   1815
   End
   Begin VB.TextBox txt3 
      BeginProperty Font 
         Name            =   "Times New Roman"
         Size            =   12
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   3720
      TabIndex        =   2
      Top             =   360
      Width           =   2055
   End
   Begin VB.TextBox txt2 
      BeginProperty Font 
         Name            =   "Times New Roman"
         Size            =   12
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   1920
      TabIndex        =   1
      Top             =   360
      Width           =   1575
   End
   Begin VB.TextBox txt1 
      BeginProperty Font 
         Name            =   "Times New Roman"
         Size            =   12
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   120
      TabIndex        =   0
      Top             =   360
      Width           =   1575
   End
End
Attribute VB_Name = "frm1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdCon_Click()
txt3.Text = txt1.Text + txt2.Text
End Sub
Private Sub cmdMid_Click()
txt3.Text = Mid$(txt1.Text, Val(txt1Mid.Text), Val(txt2Mid.Text))
End Sub
Private Sub cmdLen_Click()
txt3.Text = Len(txt1.Text)
End Sub
Private Sub cmdAsc_Click()
txt3.Text = Asc(txt1.Text)
End Sub

