home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{FAE1731F-430A-11D4-B183-D1B9690DF016}#22.0#0"; "FORMINDIVIDUAL.OCX"
- Object = "{56034C77-7369-44EE-828E-D0C208D19BDF}#8.0#0"; "GOLD BUTTON.OCX"
- Begin VB.Form Main
- BackColor = &H80000004&
- BorderStyle = 0 'None
- Caption = " Personal Organiser 3.0"
- ClientHeight = 3720
- ClientLeft = 0
- ClientTop = 0
- ClientWidth = 3720
- Icon = "movefrmfrm.frx":0000
- LinkTopic = "Form1"
- Picture = "movefrmfrm.frx":1272
- ScaleHeight = 3720
- ScaleWidth = 3720
- ShowInTaskbar = 0 'False
- StartUpPosition = 2 'CenterScreen
- Begin VB.PictureBox Picture5
- AutoSize = -1 'True
- BackColor = &H8000000D&
- BorderStyle = 0 'None
- Height = 360
- Left = 2000
- Picture = "movefrmfrm.frx":2E374
- ScaleHeight = 360
- ScaleWidth = 450
- TabIndex = 8
- Top = 960
- Width = 450
- End
- Begin VB.PictureBox Picture4
- AutoSize = -1 'True
- BackColor = &H8000000D&
- BorderStyle = 0 'None
- Height = 360
- Left = 2000
- Picture = "movefrmfrm.frx":2EC56
- ScaleHeight = 360
- ScaleWidth = 450
- TabIndex = 6
- Top = 1320
- Width = 450
- End
- Begin VB.PictureBox Picture3
- AutoSize = -1 'True
- BackColor = &H8000000D&
- BorderStyle = 0 'None
- Height = 360
- Left = 98
- Picture = "movefrmfrm.frx":2F538
- ScaleHeight = 360
- ScaleWidth = 450
- TabIndex = 5
- Top = 1340
- Width = 450
- End
- Begin VB.PictureBox Picture2
- AutoSize = -1 'True
- BackColor = &H8000000D&
- BorderStyle = 0 'None
- Height = 360
- Left = 109
- Picture = "movefrmfrm.frx":2FE1A
- ScaleHeight = 360
- ScaleWidth = 450
- TabIndex = 3
- Top = 960
- Width = 450
- End
- Begin VB.PictureBox Picture1
- BackColor = &H00FFFFFF&
- BorderStyle = 0 'None
- Height = 232
- Left = 3000
- ScaleHeight = 225
- ScaleWidth = 30
- TabIndex = 0
- Top = 480
- Width = 30
- End
- Begin FormIndividual.IndForm IndForm1
- Left = 4320
- Top = 4560
- _ExtentX = 873
- _ExtentY = 873
- End
- Begin pOCX.GoldButton cmdPt
- Height = 375
- Left = 1305
- TabIndex = 12
- Top = 3110
- Width = 495
- _ExtentX = 873
- _ExtentY = 661
- Caption = "."
- Alignment = 2
- ForeColor = -2147483630
- DownColor = 255
- SkinDisabledText= -2147483632
- SkinHighlight = -2147483628
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 13.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- OnDown = 2
- End
- Begin pOCX.GoldButton cmdEQ
- Height = 855
- Left = 3050
- TabIndex = 13
- Top = 2630
- Width = 495
- _ExtentX = 873
- _ExtentY = 1508
- Caption = "="
- Alignment = 2
- ForeColor = -2147483630
- DownColor = 255
- SkinDisabledText= -2147483632
- SkinHighlight = -2147483628
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- OnDown = 2
- End
- Begin pOCX.GoldButton cmdOp
- Height = 375
- Index = 0
- Left = 1905
- TabIndex = 14
- Top = 3110
- Width = 495
- _ExtentX = 873
- _ExtentY = 661
- Caption = "+"
- Alignment = 2
- ForeColor = -2147483630
- DownColor = 255
- SkinDisabledText= -2147483632
- SkinHighlight = -2147483628
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- OnDown = 2
- End
- Begin pOCX.GoldButton cmdNum
- Height = 375
- Index = 0
- Left = 740
- TabIndex = 15
- Top = 3110
- Width = 495
- _ExtentX = 873
- _ExtentY = 661
- Caption = "0"
- Alignment = 2
- ForeColor = -2147483630
- DownColor = 255
- SkinDisabledText= -2147483632
- SkinHighlight = -2147483628
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- OnDown = 2
- End
- Begin pOCX.GoldButton cmdNum
- Height = 375
- Index = 1
- Left = 160
- TabIndex = 16
- Top = 2630
- Width = 495
- _ExtentX = 873
- _ExtentY = 661
- Caption = "1"
- Alignment = 2
- ForeColor = -2147483630
- DownColor = 255
- SkinDisabledText= -2147483632
- SkinHighlight = -2147483628
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- OnDown = 2
- End
- Begin pOCX.GoldButton cmdNum
- Height = 375
- Index = 2
- Left = 740
- TabIndex = 17
- Top = 2630
- Width = 495
- _ExtentX = 873
- _ExtentY = 661
- Caption = "2"
- Alignment = 2
- ForeColor = -2147483630
- DownColor = 255
- SkinDisabledText= -2147483632
- SkinHighlight = -2147483628
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- OnDown = 2
- End
- Begin pOCX.GoldButton cmdNum
- Height = 375
- Index = 3
- Left = 1305
- TabIndex = 18
- Top = 2630
- Width = 495
- _ExtentX = 873
- _ExtentY = 661
- Caption = "3"
- Alignment = 2
- ForeColor = -2147483630
- DownColor = 255
- SkinDisabledText= -2147483632
- SkinHighlight = -2147483628
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- OnDown = 2
- End
- Begin pOCX.GoldButton cmdNum
- Height = 375
- Index = 4
- Left = 175
- TabIndex = 19
- Top = 2150
- Width = 480
- _ExtentX = 847
- _ExtentY = 661
- Caption = "4"
- Alignment = 2
- ForeColor = -2147483630
- DownColor = 255
- SkinDisabledText= -2147483632
- SkinHighlight = -2147483628
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- OnDown = 2
- End
- Begin pOCX.GoldButton cmdNum
- Height = 375
- Index = 5
- Left = 740
- TabIndex = 20
- Top = 2150
- Width = 495
- _ExtentX = 873
- _ExtentY = 661
- Caption = "5"
- Alignment = 2
- ForeColor = -2147483630
- DownColor = 255
- SkinDisabledText= -2147483632
- SkinHighlight = -2147483628
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- OnDown = 2
- End
- Begin pOCX.GoldButton cmdNum
- Height = 375
- Index = 6
- Left = 1305
- TabIndex = 21
- Top = 2150
- Width = 495
- _ExtentX = 873
- _ExtentY = 661
- Caption = "6"
- Alignment = 2
- ForeColor = -2147483630
- DownColor = 255
- SkinDisabledText= -2147483632
- SkinHighlight = -2147483628
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- OnDown = 2
- End
- Begin pOCX.GoldButton cmdNum
- Height = 375
- Index = 7
- Left = 1907
- TabIndex = 22
- Top = 2150
- Width = 495
- _ExtentX = 873
- _ExtentY = 661
- Caption = "7"
- Alignment = 2
- ForeColor = -2147483630
- DownColor = 255
- SkinDisabledText= -2147483632
- SkinHighlight = -2147483628
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- OnDown = 2
- End
- Begin pOCX.GoldButton cmdNum
- Height = 375
- Index = 8
- Left = 2475
- TabIndex = 23
- Top = 2150
- Width = 495
- _ExtentX = 873
- _ExtentY = 661
- Caption = "8"
- Alignment = 2
- ForeColor = -2147483630
- DownColor = 255
- SkinDisabledText= -2147483632
- SkinHighlight = -2147483628
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- OnDown = 2
- End
- Begin pOCX.GoldButton cmdNum
- Height = 375
- Index = 9
- Left = 3050
- TabIndex = 24
- Top = 2150
- Width = 495
- _ExtentX = 873
- _ExtentY = 661
- Caption = "9"
- Alignment = 2
- ForeColor = -2147483630
- DownColor = 255
- SkinDisabledText= -2147483632
- SkinHighlight = -2147483628
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- OnDown = 2
- End
- Begin pOCX.GoldButton cmdOp
- Height = 375
- Index = 1
- Left = 2475
- TabIndex = 25
- Top = 3110
- Width = 495
- _ExtentX = 873
- _ExtentY = 661
- Caption = "-"
- Alignment = 2
- ForeColor = -2147483630
- DownColor = 255
- SkinDisabledText= -2147483632
- SkinHighlight = -2147483628
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 12
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- OnDown = 2
- End
- Begin pOCX.GoldButton cmdOp
- Height = 375
- Index = 2
- Left = 1905
- TabIndex = 26
- Top = 2630
- Width = 495
- _ExtentX = 873
- _ExtentY = 661
- Caption = "x"
- Alignment = 2
- ForeColor = -2147483630
- DownColor = 255
- SkinDisabledText= -2147483632
- SkinHighlight = -2147483628
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- OnDown = 2
- End
- Begin pOCX.GoldButton cmdOp
- Height = 375
- Index = 3
- Left = 2475
- TabIndex = 27
- Top = 2630
- Width = 495
- _ExtentX = 873
- _ExtentY = 661
- Caption = "
- Alignment = 2
- ForeColor = -2147483630
- DownColor = 255
- SkinDisabledText= -2147483632
- SkinHighlight = -2147483628
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Symbol"
- Size = 12
- Charset = 2
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- OnDown = 2
- End
- Begin pOCX.GoldButton cmdAC
- Height = 375
- Left = 160
- TabIndex = 28
- Top = 3110
- Width = 495
- _ExtentX = 873
- _ExtentY = 661
- Caption = "AC"
- Alignment = 2
- ForeColor = -2147483630
- DownColor = 255
- SkinDisabledText= -2147483632
- SkinHighlight = -2147483628
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- OnDown = 2
- End
- Begin VB.Label End
- AutoSize = -1 'True
- BackColor = &H8000000E&
- BackStyle = 0 'Transparent
- Caption = "X"
- BeginProperty Font
- Name = "Tahoma"
- Size = 6.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 165
- Left = 3455
- TabIndex = 11
- Top = 40
- Width = 105
- End
- Begin VB.Shape Shape2
- Height = 410
- Left = 624
- Shape = 4 'Rounded Rectangle
- Top = 385
- Width = 2495
- End
- Begin VB.Label Title
- Alignment = 2 'Center
- BackColor = &H8000000E&
- BackStyle = 0 'Transparent
- Caption = "Personal Organiser 3.0"
- BeginProperty Font
- Name = "Tahoma"
- Size = 6.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 165
- Left = 640
- TabIndex = 10
- Top = 135
- Width = 2475
- End
- Begin VB.Label Calculator
- AutoSize = -1 'True
- BackColor = &H8000000E&
- BackStyle = 0 'Transparent
- Caption = "Calculator"
- BeginProperty Font
- Name = "Tahoma"
- Size = 6.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H000000C0&
- Height = 165
- Left = 2520
- TabIndex = 9
- Top = 1080
- Width = 765
- End
- Begin VB.Label Address
- AutoSize = -1 'True
- BackColor = &H8000000E&
- BackStyle = 0 'Transparent
- Caption = "Address Book"
- BeginProperty Font
- Name = "Tahoma"
- Size = 6.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 165
- Left = 2485
- TabIndex = 7
- Top = 1440
- Width = 1035
- End
- Begin VB.Shape Shape1
- Height = 250
- Left = 710
- Shape = 4 'Rounded Rectangle
- Top = 470
- Width = 2335
- End
- Begin VB.Label Dialer
- AutoSize = -1 'True
- BackColor = &H8000000E&
- BackStyle = 0 'Transparent
- Caption = "Telephone Dialer"
- BeginProperty Font
- Name = "Tahoma"
- Size = 6.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 165
- Left = 550
- TabIndex = 4
- Top = 1440
- Width = 1275
- End
- Begin VB.Label Email
- AutoSize = -1 'True
- BackColor = &H8000000E&
- BackStyle = 0 'Transparent
- Caption = "Compose E-Mail"
- BeginProperty Font
- Name = "Tahoma"
- Size = 6.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H8000000E&
- Height = 165
- Left = 555
- TabIndex = 2
- Top = 1080
- Width = 1185
- End
- Begin VB.Label txtDisp
- Alignment = 1 'Right Justify
- Appearance = 0 'Flat
- BackColor = &H00FFFFFF&
- Caption = "0"
- BeginProperty Font
- Name = "Arial"
- Size = 9
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H80000008&
- Height = 225
- Left = 720
- TabIndex = 1
- Top = 480
- Width = 2295
- End
- Begin VB.Image Image1
- Height = 3720
- Left = 0
- Picture = "movefrmfrm.frx":306FC
- Top = 0
- Width = 3705
- End
- Attribute VB_Name = "main"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Dim x As String
- Dim y As String
- Dim op As String
- Dim chk As Integer
- Private Sub Address_Click()
- Me.Hide
- Contacts.Show
- End Sub
- Private Sub cmdAC_Click()
- x = ""
- y = ""
- op = ""
- txtDisp.Caption = "0"
- End Sub
- Private Sub cmdNum_Click(Index As Integer)
- On Error GoTo eh2
- If chk = 1 Then
- x = ""
- y = ""
- op = ""
- chk = 0
- End If
- If op = "" Then
- x = Str(Val(x & Str(Index)))
- txtDisp.Caption = x
- y = Str(Val(y & Str(Index)))
- txtDisp.Caption = y
- End If
- Exit Sub
- txtDisp.Caption = "-E-"
- x = ""
- y = ""
- op = ""
- End Sub
- Private Sub cmdOp_Click(Index As Integer)
- On Error GoTo eh3
- Select Case op
- Case "+"
- x = Str(Val(x) + Val(y))
- y = ""
- Case "-"
- x = Str(Val(x) - Val(y))
- y = ""
- Case "*"
- x = Str(Val(x) * Val(y))
- y = ""
- Case "/"
- x = Str(Val(x) / Val(y))
- y = ""
- End Select
- txtDisp.Caption = x
- op = ""
- chk = 0
- Select Case Index
- Case 0
- op = "+"
- Case 1
- op = "-"
- Case 2
- op = "*"
- Case 3
- op = "/"
- End Select
- Exit Sub
- txtDisp.Caption = "-E-"
- x = ""
- y = ""
- op = ""
- End Sub
- Private Sub cmdPt_Click()
- If op = "" Then
- x = x & "."
- txtDisp.Caption = x
- y = y & "."
- txtDisp.Caption = y
- End If
- End Sub
- Private Sub Dialer_Click()
- MsgBox "Under Construction !", vbOKOnly, " Construction"
- End Sub
- Private Sub Email_Click()
- MsgBox "Under Construction !", vbOKOnly, " Construction"
- End Sub
- Private Sub End_Click()
- Dim exitcon As Variant
- exitcon = MsgBox(" Are you sure you want to Exit ?", vbYesNo, " Personal Organiser 3.0")
- If exitcon = vbYes Then
- Unload Me
- Cancel = 1
- End If
- On Error GoTo err:
- End Sub
- Private Sub Form_Unload(Cancel As Integer)
- Unload Me
- End Sub
- Private Sub Form_Load()
- chk = 0
- x = ""
- y = ""
- op = ""
- txtDisp.Caption = "0"
- formen = IndForm1.Bitmap2Form(Me.Picture, vbBlack)
- End Sub
- Private Sub Form_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
- FormDrag Me
- End Sub
- Private Sub Label1_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
- FormDrag Me
- End Sub
- Private Sub Image1_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
- FormDrag Me
- End Sub
- Private Sub cmdEQ_Click()
- On Error GoTo eh1
- Select Case op
- Case "+"
- x = Str(Val(x) + Val(y))
- y = ""
- Case "-"
- x = Str(Val(x) - Val(y))
- y = ""
- Case "*"
- x = Str(Val(x) * Val(y))
- y = ""
- Case "/"
- x = Str(Val(x) / Val(y))
- y = ""
- End Select
- txtDisp.Caption = x
- op = ""
- chk = 1
- Exit Sub
- txtDisp.Caption = "-E-"
- x = ""
- y = ""
- op = ""
- End Sub
-