home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / docume1a / frmerror.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1999-08-13  |  2.5 KB  |  82 lines

  1. VERSION 5.00
  2. Begin VB.Form frmError 
  3.    Caption         =   "Form1"
  4.    ClientHeight    =   3930
  5.    ClientLeft      =   60
  6.    ClientTop       =   345
  7.    ClientWidth     =   7125
  8.    LinkTopic       =   "Form1"
  9.    MaxButton       =   0   'False
  10.    MinButton       =   0   'False
  11.    ScaleHeight     =   3930
  12.    ScaleWidth      =   7125
  13.    StartUpPosition =   3  'Windows Default
  14.    Begin VB.TextBox txtError 
  15.       Height          =   1695
  16.       Left            =   840
  17.       TabIndex        =   5
  18.       Top             =   1680
  19.       Visible         =   0   'False
  20.       Width           =   5535
  21.    End
  22.    Begin VB.CommandButton Command4 
  23.       Caption         =   "&Details..."
  24.       Height          =   495
  25.       Left            =   5160
  26.       TabIndex        =   4
  27.       Top             =   960
  28.       Width           =   1215
  29.    End
  30.    Begin VB.CommandButton Command3 
  31.       Caption         =   "&Help"
  32.       Height          =   495
  33.       Left            =   3720
  34.       TabIndex        =   3
  35.       Top             =   960
  36.       Width           =   1215
  37.    End
  38.    Begin VB.CommandButton Command2 
  39.       Caption         =   "&No"
  40.       Height          =   495
  41.       Left            =   2280
  42.       TabIndex        =   2
  43.       Top             =   960
  44.       Width           =   1215
  45.    End
  46.    Begin VB.CommandButton Command1 
  47.       Caption         =   "&Yes"
  48.       Height          =   495
  49.       Left            =   840
  50.       TabIndex        =   1
  51.       Top             =   960
  52.       Width           =   1215
  53.    End
  54.    Begin VB.Label Label1 
  55.       Caption         =   "An unexpected error was encountered in Document.  Do you wish to continue?"
  56.       BeginProperty Font 
  57.          Name            =   "MS Sans Serif"
  58.          Size            =   9.75
  59.          Charset         =   0
  60.          Weight          =   400
  61.          Underline       =   0   'False
  62.          Italic          =   0   'False
  63.          Strikethrough   =   0   'False
  64.       EndProperty
  65.       Height          =   600
  66.       Left            =   840
  67.       TabIndex        =   0
  68.       Top             =   120
  69.       Width           =   4815
  70.    End
  71. Attribute VB_Name = "frmError"
  72. Attribute VB_GlobalNameSpace = False
  73. Attribute VB_Creatable = False
  74. Attribute VB_PredeclaredId = True
  75. Attribute VB_Exposed = False
  76. Private Sub Command4_Click()
  77. txtError.Visible = True
  78. End Sub
  79. Private Sub Form_Load()
  80. txtError.Text = Error# + Str$(Err) + Chr(10) + Chr(13) + Chr(10) + Error$ + Chr(13) + Chr(10) + Chr(10)
  81. End Sub
  82.