VERSION 5.00 Begin VB.Form frmError BorderStyle = 1 'Fixed Single Caption = "An Error Has Occurred" ClientHeight = 4890 ClientLeft = 1050 ClientTop = 855 ClientWidth = 6945 BeginProperty Font Name = "MS Sans Serif" Size = 9.75 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty LinkTopic = "Form1" MaxButton = 0 'False MinButton = 0 'False ScaleHeight = 4890 ScaleWidth = 6945 Begin VB.CommandButton cmdPrint Caption = "&Print Form" Height = 495 Left = 4140 TabIndex = 12 Top = 3840 Width = 975 End Begin VB.CommandButton cmdOK Caption = "&OK" Height = 495 Left = 4140 TabIndex = 10 Top = 4380 Width = 975 End Begin VB.Label lblLotId BorderStyle = 1 'Fixed Single Height = 315 Left = 5280 TabIndex = 16 Top = 4380 Width = 1575 End Begin VB.Label lblProjId BorderStyle = 1 'Fixed Single Height = 315 Left = 5280 TabIndex = 15 Top = 3840 Width = 1575 End Begin VB.Label txtModule BorderStyle = 1 'Fixed Single Height = 615 Left = 1920 TabIndex = 14 Top = 2340 Width = 4935 WordWrap = -1 'True End Begin VB.Label lblModule Caption = "Form/Module" Height = 255 Left = 120 TabIndex = 13 Top = 2340 Width = 1575 End Begin VB.Label lblLabel Caption = "Please print this screen, write down what you were doing when this error happened then call Darv." Height = 780 Index = 5 Left = 60 TabIndex = 11 Top = 4140 Width = 3825 End Begin VB.Label lblVersion BorderStyle = 1 'Fixed Single Height = 255 Left = 1920 TabIndex = 9 Top = 3780 Width = 975 End Begin VB.Label lblAppName BorderStyle = 1 'Fixed Single Height = 255 Left = 1920 TabIndex = 8 Top = 3420 Width = 3195 End Begin VB.Label lblLabel AutoSize = -1 'True Caption = "Version" Height = 240 Index = 4 Left = 60 TabIndex = 7 Top = 3840 Width = 960 End Begin VB.Label lblLabel AutoSize = -1 'True Caption = "App. Name" Height = 240 Index = 3 Left = 60 TabIndex = 6 Top = 3480 Width = 1275 End Begin VB.Label lblDateTime BorderStyle = 1 'Fixed Single Height = 255 Left = 1920 TabIndex = 5 Top = 3060 Width = 3195 End Begin VB.Label lblLabel AutoSize = -1 'True Caption = "Date / Time" Height = 240 Index = 2 Left = 60 TabIndex = 4 Top = 3120 Width = 1410 End Begin VB.Label lblErrDesc BorderStyle = 1 'Fixed Single Height = 1935 Left = 1920 TabIndex = 3 Top = 360 Width = 4935 WordWrap = -1 'True End Begin VB.Label lblErrNumber BorderStyle = 1 'Fixed Single Height = 255 Left = 1920 TabIndex = 2 Top = 60 Width = 3195 End Begin VB.Label lblLabel AutoSize = -1 'True Caption = "Error Description" Height = 240 Index = 1 Left = 60 TabIndex = 1 Top = 420 Width = 1752 End Begin VB.Label lblLabel AutoSize = -1 'True Caption = "Error Number" Height = 240 Index = 0 Left = 60 TabIndex = 0 Top = 60 Width = 1368 End End Attribute VB_Name = "frmError" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Option Explicit Private moError As ErrObject Property Set ErrorObj(oErr As ErrObject) Set moError = oErr End Property Private Sub cmdOK_Click() Unload Me End Sub Private Sub cmdPrint_Click() Me.PrintForm End Sub Private Sub Form_Load() lblErrNumber.Caption = moError.Number lblErrDesc.Caption = moError.Description ' If moError.Number = -2147467259 Then ' lblErrDesc.Caption = "Duplicate Record - This will not be saved" ' End If txtModule.Caption = gstrMODULE lblLotId = gintLOTID lblProjId = gintPROJID lblDateTime.Caption = Now lblAppName.Caption = App.ProductName lblVersion.Caption = App.Major & "." & _ App.Minor & "." & _ App.Revision End Sub