home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form Reader
- Caption = "Read Message"
- ClientHeight = 4905
- ClientLeft = 1140
- ClientTop = 1515
- ClientWidth = 6690
- Height = 5310
- Left = 1080
- LinkTopic = "Form2"
- ScaleHeight = 4905
- ScaleWidth = 6690
- Top = 1170
- Width = 6810
- Begin VB.CommandButton Command1
- Caption = "&Close"
- Height = 300
- Left = 5340
- TabIndex = 2
- Top = 4440
- Width = 1200
- End
- Begin VB.TextBox Text1
- Height = 3075
- Left = 120
- MultiLine = -1 'True
- ScrollBars = 2 'Vertical
- TabIndex = 0
- Text = "vbu2503b.frx":0000
- Top = 1200
- Width = 6435
- End
- Begin VB.Label Label1
- BorderStyle = 1 'Fixed Single
- Caption = "Label1"
- BeginProperty Font
- name = "MS LineDraw"
- charset = 2
- weight = 400
- size = 9.75
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 1035
- Left = 120
- TabIndex = 1
- Top = 180
- Width = 6435
- End
- Attribute VB_Name = "Reader"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub Command1_Click()
- Unload Me
- End Sub
- Private Sub Form_Load()
- '
- ' load message into form
- '
- On Error GoTo FormLoadErr
- '
- Label1 = "Date: " + Main.MAPIMessages1.MsgDateReceived + Chr(13)
- Label1 = Label1 + "From: " + Main.MAPIMessages1.MsgOrigDisplayName + Chr(13)
- Label1 = Label1 + "Subject: " + Main.MAPIMessages1.MsgSubject + Chr(13)
- '
- Text1 = Main.MAPIMessages1.MsgNoteText
- '
- Exit Sub
- '
- FormLoadErr:
- MsgBox Error$, vbCritical, "Error Code: " + Str(Err)
- Unload Me
- End Sub
- Private Sub Text1_KeyPress(KeyAscii As Integer)
- KeyAscii = 0 ' ignore all keys
- End Sub
-