VERSION 5.00
Begin VB.Form Form1 
   BackColor       =   &H00C0FFFF&
   Caption         =   "Коды символов"
   ClientHeight    =   2496
   ClientLeft      =   48
   ClientTop       =   336
   ClientWidth     =   3744
   LinkTopic       =   "Form1"
   ScaleHeight     =   2496
   ScaleWidth      =   3744
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton cmdT 
      Caption         =   "Кодировочная таблица"
      Height          =   492
      Left            =   2160
      TabIndex        =   3
      Top             =   1800
      Width           =   1452
   End
   Begin VB.CommandButton cmdS 
      Caption         =   "Код символа"
      Height          =   492
      Left            =   2400
      TabIndex        =   2
      Top             =   600
      Width           =   972
   End
   Begin VB.TextBox txtN 
      Alignment       =   1  'Right Justify
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   372
      Left            =   2400
      TabIndex        =   1
      Top             =   1200
      Width           =   972
   End
   Begin VB.TextBox txtS 
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   372
      Left            =   2400
      TabIndex        =   0
      Top             =   120
      Width           =   972
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim strA As String, N As Integer
Sub cmdS_Click()
txtN.Text = Asc(txtS.Text)
End Sub
Sub cmdT_Click()
For N = 255 To 0 Step -1
strA = Chr(N)
Print "Числовой код"; N; "   -   "; strA
Next N
End Sub


