Form1.frm

 VERSION 5.00
Begin VB.Form Form1
   Caption         =   "Form1"
   ClientHeight    =   3165
   ClientLeft      =   60
   ClientTop       =   375
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   3165
   ScaleWidth      =   4680
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command1
      Caption         =   "&Convert"
      Height          =   495
      Left            =   2760
      TabIndex        =   2
      Top             =   2400
      Width           =   1215
   End
   Begin VB.TextBox Text2
      BeginProperty Font
         Name            =   "Arial"
         Size            =   14.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FF0000&
      Height          =   1695
      Left            =   600
      MultiLine       =   -1  'True
      TabIndex        =   1
      Top             =   600
      Width           =   3375
   End
   Begin VB.TextBox Text1
      Height          =   405
      Left            =   600
      TabIndex        =   0
      ToolTipText     =   "Write the numeral to be converted here"
      Top             =   120
      Width           =   3375
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Dim convert As CNumConvert

Private Sub Command1_Click()

    Text2 = convert.ToWords(Text1.Text)

End Sub

Private Sub Form_Load()

    Set convert = New CNumConvert

End Sub

Private Sub Form_Resize()
'In case you resize the form
With Command1
    .Top = Form1.Height - 1200
    .Left = Form1.Width - 2040
End With
Text1.Width = Form1.Width - 1425
With Text2
    .Height = Form1.Height - 1905
    .Width = Form1.Width - 1425
End With

End Sub

Project Homepage: