home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 1_2002.ISO / Data / Zips / AddressBoo202555302001.psc / Address_Book2 / Form1.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  2001-05-25  |  34.0 KB  |  1,069 lines

  1. VERSION 5.00
  2. Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
  3. Begin VB.Form Form1 
  4.    BorderStyle     =   1  'Fixed Single
  5.    Caption         =   "Address Book"
  6.    ClientHeight    =   6915
  7.    ClientLeft      =   150
  8.    ClientTop       =   495
  9.    ClientWidth     =   8595
  10.    Icon            =   "Form1.frx":0000
  11.    LinkTopic       =   "Form1"
  12.    MaxButton       =   0   'False
  13.    ScaleHeight     =   6915
  14.    ScaleWidth      =   8595
  15.    StartUpPosition =   2  'CenterScreen
  16.    Begin VB.CommandButton cmdViewPic 
  17.       Caption         =   "View Pic"
  18.       Height          =   495
  19.       Left            =   4680
  20.       TabIndex        =   24
  21.       Top             =   5760
  22.       Width           =   855
  23.    End
  24.    Begin VB.CommandButton cmdSort2 
  25.       Caption         =   "Z TO A"
  26.       BeginProperty Font 
  27.          Name            =   "MS Sans Serif"
  28.          Size            =   8.25
  29.          Charset         =   0
  30.          Weight          =   700
  31.          Underline       =   0   'False
  32.          Italic          =   0   'False
  33.          Strikethrough   =   0   'False
  34.       EndProperty
  35.       Height          =   375
  36.       Left            =   5520
  37.       TabIndex        =   35
  38.       Top             =   2280
  39.       Width           =   855
  40.    End
  41.    Begin VB.CommandButton cmdClear 
  42.       Caption         =   "Clear Search List"
  43.       BeginProperty Font 
  44.          Name            =   "MS Sans Serif"
  45.          Size            =   8.25
  46.          Charset         =   0
  47.          Weight          =   700
  48.          Underline       =   0   'False
  49.          Italic          =   0   'False
  50.          Strikethrough   =   0   'False
  51.       EndProperty
  52.       Height          =   1095
  53.       Left            =   7080
  54.       Picture         =   "Form1.frx":030A
  55.       Style           =   1  'Graphical
  56.       TabIndex        =   28
  57.       Top             =   3600
  58.       Width           =   1095
  59.    End
  60.    Begin VB.ListBox List2 
  61.       Height          =   2595
  62.       Left            =   6720
  63.       TabIndex        =   27
  64.       Top             =   600
  65.       Width           =   1695
  66.    End
  67.    Begin VB.TextBox TxtPhoto 
  68.       BeginProperty Font 
  69.          Name            =   "Times New Roman"
  70.          Size            =   12
  71.          Charset         =   0
  72.          Weight          =   400
  73.          Underline       =   0   'False
  74.          Italic          =   0   'False
  75.          Strikethrough   =   0   'False
  76.       EndProperty
  77.       Height          =   375
  78.       Left            =   1680
  79.       MaxLength       =   100
  80.       TabIndex        =   25
  81.       Top             =   4440
  82.       Width           =   2295
  83.    End
  84.    Begin MSComctlLib.ImageList ImageList1 
  85.       Left            =   5280
  86.       Top             =   720
  87.       _ExtentX        =   1005
  88.       _ExtentY        =   1005
  89.       BackColor       =   -2147483643
  90.       ImageWidth      =   16
  91.       ImageHeight     =   16
  92.       MaskColor       =   12632256
  93.       _Version        =   393216
  94.       BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
  95.          NumListImages   =   11
  96.          BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  97.             Picture         =   "Form1.frx":074C
  98.             Key             =   ""
  99.          EndProperty
  100.          BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  101.             Picture         =   "Form1.frx":0BA0
  102.             Key             =   ""
  103.          EndProperty
  104.          BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  105.             Picture         =   "Form1.frx":0FF4
  106.             Key             =   ""
  107.          EndProperty
  108.          BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  109.             Picture         =   "Form1.frx":1448
  110.             Key             =   ""
  111.          EndProperty
  112.          BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  113.             Picture         =   "Form1.frx":15A4
  114.             Key             =   ""
  115.          EndProperty
  116.          BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  117.             Picture         =   "Form1.frx":19F8
  118.             Key             =   ""
  119.          EndProperty
  120.          BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  121.             Picture         =   "Form1.frx":1E4C
  122.             Key             =   ""
  123.          EndProperty
  124.          BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  125.             Picture         =   "Form1.frx":23E8
  126.             Key             =   ""
  127.          EndProperty
  128.          BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  129.             Picture         =   "Form1.frx":283C
  130.             Key             =   ""
  131.          EndProperty
  132.          BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  133.             Picture         =   "Form1.frx":2C90
  134.             Key             =   ""
  135.          EndProperty
  136.          BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628} 
  137.             Picture         =   "Form1.frx":30E4
  138.             Key             =   ""
  139.          EndProperty
  140.       EndProperty
  141.    End
  142.    Begin MSComctlLib.Toolbar Toolbar1 
  143.       Align           =   1  'Align Top
  144.       Height          =   360
  145.       Left            =   0
  146.       TabIndex        =   23
  147.       Top             =   0
  148.       Width           =   8595
  149.       _ExtentX        =   15161
  150.       _ExtentY        =   635
  151.       ButtonWidth     =   609
  152.       ButtonHeight    =   582
  153.       Appearance      =   1
  154.       Style           =   1
  155.       ImageList       =   "ImageList1"
  156.       _Version        =   393216
  157.       BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
  158.          NumButtons      =   9
  159.          BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  160.             Object.ToolTipText     =   "Back"
  161.             ImageIndex      =   1
  162.          EndProperty
  163.          BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  164.             Object.ToolTipText     =   "Forward"
  165.             ImageIndex      =   2
  166.          EndProperty
  167.          BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  168.             Object.ToolTipText     =   "Add Data"
  169.             ImageIndex      =   3
  170.          EndProperty
  171.          BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  172.             Object.ToolTipText     =   "Edit Data"
  173.             ImageIndex      =   4
  174.          EndProperty
  175.          BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  176.             Object.ToolTipText     =   "Remove Data"
  177.             ImageIndex      =   5
  178.          EndProperty
  179.          BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  180.             Object.ToolTipText     =   "Search"
  181.             ImageIndex      =   8
  182.          EndProperty
  183.          BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  184.             Object.ToolTipText     =   "Email"
  185.             ImageIndex      =   9
  186.          EndProperty
  187.          BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  188.             Object.ToolTipText     =   "Help"
  189.             ImageIndex      =   10
  190.          EndProperty
  191.          BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628} 
  192.             Object.ToolTipText     =   "Exit"
  193.             ImageIndex      =   11
  194.          EndProperty
  195.       EndProperty
  196.    End
  197.    Begin VB.Timer Timer1 
  198.       Interval        =   1000
  199.       Left            =   4680
  200.       Top             =   720
  201.    End
  202.    Begin MSComctlLib.StatusBar StatusBar1 
  203.       Align           =   2  'Align Bottom
  204.       Height          =   375
  205.       Left            =   0
  206.       TabIndex        =   21
  207.       Top             =   6540
  208.       Width           =   8595
  209.       _ExtentX        =   15161
  210.       _ExtentY        =   661
  211.       _Version        =   393216
  212.       BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628} 
  213.          NumPanels       =   3
  214.          BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
  215.             Alignment       =   1
  216.             Object.Width           =   2117
  217.             MinWidth        =   2117
  218.             Object.ToolTipText     =   "Time"
  219.          EndProperty
  220.          BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
  221.             AutoSize        =   1
  222.             Object.Width           =   10345
  223.             Text            =   "Click Edit Button to edit data "
  224.             TextSave        =   "Click Edit Button to edit data "
  225.             Object.ToolTipText     =   "Caption"
  226.          EndProperty
  227.          BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
  228.             Alignment       =   1
  229.             Object.Width           =   2593
  230.             MinWidth        =   2593
  231.             Picture         =   "Form1.frx":3538
  232.             Text            =   "Version 1.0"
  233.             TextSave        =   "Version 1.0"
  234.          EndProperty
  235.       EndProperty
  236.    End
  237.    Begin VB.CommandButton cmdSort 
  238.       Caption         =   "A TO Z"
  239.       BeginProperty Font 
  240.          Name            =   "MS Sans Serif"
  241.          Size            =   8.25
  242.          Charset         =   0
  243.          Weight          =   700
  244.          Underline       =   0   'False
  245.          Italic          =   0   'False
  246.          Strikethrough   =   0   'False
  247.       EndProperty
  248.       Height          =   375
  249.       Left            =   4560
  250.       TabIndex        =   0
  251.       Top             =   2280
  252.       Width           =   855
  253.    End
  254.    Begin VB.ListBox List1 
  255.       Height          =   1620
  256.       ItemData        =   "Form1.frx":398C
  257.       Left            =   4560
  258.       List            =   "Form1.frx":398E
  259.       TabIndex        =   15
  260.       Top             =   600
  261.       Width           =   1815
  262.    End
  263.    Begin VB.TextBox txtMobile 
  264.       BeginProperty Font 
  265.          Name            =   "Times New Roman"
  266.          Size            =   12
  267.          Charset         =   0
  268.          Weight          =   400
  269.          Underline       =   0   'False
  270.          Italic          =   0   'False
  271.          Strikethrough   =   0   'False
  272.       EndProperty
  273.       Height          =   375
  274.       Left            =   1680
  275.       MaxLength       =   20
  276.       TabIndex        =   14
  277.       Top             =   3840
  278.       Width           =   2295
  279.    End
  280.    Begin VB.TextBox txtPhone 
  281.       BeginProperty Font 
  282.          Name            =   "Times New Roman"
  283.          Size            =   12
  284.          Charset         =   0
  285.          Weight          =   400
  286.          Underline       =   0   'False
  287.          Italic          =   0   'False
  288.          Strikethrough   =   0   'False
  289.       EndProperty
  290.       Height          =   375
  291.       Left            =   1680
  292.       MaxLength       =   20
  293.       TabIndex        =   13
  294.       Top             =   3240
  295.       Width           =   2295
  296.    End
  297.    Begin VB.TextBox txtEmail 
  298.       BeginProperty Font 
  299.          Name            =   "Times New Roman"
  300.          Size            =   12
  301.          Charset         =   0
  302.          Weight          =   400
  303.          Underline       =   0   'False
  304.          Italic          =   0   'False
  305.          Strikethrough   =   0   'False
  306.       EndProperty
  307.       Height          =   375
  308.       Left            =   960
  309.       MaxLength       =   50
  310.       TabIndex        =   12
  311.       Top             =   2640
  312.       Width           =   3255
  313.    End
  314.    Begin VB.TextBox txtSex 
  315.       BeginProperty Font 
  316.          Name            =   "Times New Roman"
  317.          Size            =   11.25
  318.          Charset         =   0
  319.          Weight          =   400
  320.          Underline       =   0   'False
  321.          Italic          =   0   'False
  322.          Strikethrough   =   0   'False
  323.       EndProperty
  324.       Height          =   375
  325.       Left            =   3120
  326.       MaxLength       =   10
  327.       TabIndex        =   11
  328.       Top             =   2040
  329.       Width           =   1095
  330.    End
  331.    Begin VB.TextBox txtBirth 
  332.       BeginProperty Font 
  333.          Name            =   "Times New Roman"
  334.          Size            =   11.25
  335.          Charset         =   0
  336.          Weight          =   400
  337.          Underline       =   0   'False
  338.          Italic          =   0   'False
  339.          Strikethrough   =   0   'False
  340.       EndProperty
  341.       Height          =   375
  342.       Left            =   960
  343.       MaxLength       =   20
  344.       TabIndex        =   10
  345.       Top             =   2040
  346.       Width           =   1215
  347.    End
  348.    Begin VB.TextBox txtAddress 
  349.       BeginProperty Font 
  350.          Name            =   "Times New Roman"
  351.          Size            =   11.25
  352.          Charset         =   0
  353.          Weight          =   400
  354.          Underline       =   0   'False
  355.          Italic          =   0   'False
  356.          Strikethrough   =   0   'False
  357.       EndProperty
  358.       Height          =   735
  359.       Left            =   960
  360.       MaxLength       =   100
  361.       MultiLine       =   -1  'True
  362.       ScrollBars      =   2  'Vertical
  363.       TabIndex        =   9
  364.       Top             =   1080
  365.       Width           =   3255
  366.    End
  367.    Begin VB.TextBox txtName 
  368.       BeginProperty Font 
  369.          Name            =   "Times New Roman"
  370.          Size            =   12
  371.          Charset         =   0
  372.          Weight          =   400
  373.          Underline       =   0   'False
  374.          Italic          =   0   'False
  375.          Strikethrough   =   0   'False
  376.       EndProperty
  377.       Height          =   375
  378.       Left            =   960
  379.       MaxLength       =   50
  380.       TabIndex        =   8
  381.       Top             =   480
  382.       Width           =   3255
  383.    End
  384.    Begin VB.Frame Frame1 
  385.       Caption         =   "Data List"
  386.       Height          =   2415
  387.       Left            =   4440
  388.       TabIndex        =   20
  389.       Top             =   360
  390.       Width           =   2055
  391.    End
  392.    Begin VB.CommandButton cmdAdd 
  393.       Caption         =   "Add Data"
  394.       Height          =   495
  395.       Left            =   3840
  396.       TabIndex        =   17
  397.       Top             =   5760
  398.       Width           =   855
  399.    End
  400.    Begin VB.CommandButton cmdRemove 
  401.       Caption         =   "Remove Data"
  402.       Height          =   495
  403.       Left            =   3000
  404.       TabIndex        =   18
  405.       Top             =   5760
  406.       Width           =   855
  407.    End
  408.    Begin VB.CommandButton cmdfind 
  409.       Caption         =   "Search"
  410.       Height          =   495
  411.       Left            =   2280
  412.       TabIndex        =   19
  413.       Top             =   5760
  414.       Width           =   735
  415.    End
  416.    Begin VB.Frame Frame2 
  417.       Caption         =   "Search List"
  418.       Height          =   4575
  419.       Left            =   6600
  420.       TabIndex        =   29
  421.       Top             =   360
  422.       Width           =   1935
  423.    End
  424.    Begin VB.CommandButton cmdFirst 
  425.       Caption         =   "First"
  426.       Height          =   495
  427.       Left            =   1560
  428.       TabIndex        =   31
  429.       Top             =   5760
  430.       Width           =   735
  431.    End
  432.    Begin VB.CommandButton cmdNext 
  433.       Caption         =   "Forward"
  434.       Height          =   495
  435.       Left            =   840
  436.       TabIndex        =   16
  437.       Top             =   5760
  438.       Width           =   735
  439.    End
  440.    Begin VB.CommandButton cmdBack 
  441.       Caption         =   "Back"
  442.       Height          =   495
  443.       Left            =   120
  444.       TabIndex        =   22
  445.       Top             =   5760
  446.       Width           =   735
  447.    End
  448.    Begin VB.Label LabMailMe 
  449.       Caption         =   "zijiang11@hotmail.com"
  450.       BeginProperty Font 
  451.          Name            =   "Times New Roman"
  452.          Size            =   12
  453.          Charset         =   0
  454.          Weight          =   400
  455.          Underline       =   -1  'True
  456.          Italic          =   -1  'True
  457.          Strikethrough   =   0   'False
  458.       EndProperty
  459.       ForeColor       =   &H00FF0000&
  460.       Height          =   375
  461.       Left            =   3840
  462.       MouseIcon       =   "Form1.frx":3990
  463.       MousePointer    =   99  'Custom
  464.       TabIndex        =   32
  465.       Top             =   5040
  466.       Width           =   2415
  467.    End
  468.    Begin VB.Label Label12 
  469.       Caption         =   "Double click the address to email me :"
  470.       BeginProperty Font 
  471.          Name            =   "Times New Roman"
  472.          Size            =   12
  473.          Charset         =   0
  474.          Weight          =   400
  475.          Underline       =   0   'False
  476.          Italic          =   0   'False
  477.          Strikethrough   =   0   'False
  478.       EndProperty
  479.       ForeColor       =   &H00C0FFFF&
  480.       Height          =   375
  481.       Left            =   240
  482.       TabIndex        =   33
  483.       Top             =   5040
  484.       Width           =   3615
  485.    End
  486.    Begin VB.Label Label7 
  487.       Caption         =   "Mobile No."
  488.       BeginProperty Font 
  489.          Name            =   "Times New Roman"
  490.          Size            =   12
  491.          Charset         =   0
  492.          Weight          =   700
  493.          Underline       =   0   'False
  494.          Italic          =   0   'False
  495.          Strikethrough   =   0   'False
  496.       EndProperty
  497.       ForeColor       =   &H00C00000&
  498.       Height          =   375
  499.       Left            =   120
  500.       TabIndex        =   7
  501.       Top             =   3840
  502.       Width           =   1215
  503.    End
  504.    Begin VB.Label Label8 
  505.       Caption         =   "Picture Link "
  506.       BeginProperty Font 
  507.          Name            =   "Times New Roman"
  508.          Size            =   12
  509.          Charset         =   0
  510.          Weight          =   700
  511.          Underline       =   0   'False
  512.          Italic          =   0   'False
  513.          Strikethrough   =   0   'False
  514.       EndProperty
  515.       ForeColor       =   &H00C00000&
  516.       Height          =   375
  517.       Left            =   120
  518.       TabIndex        =   26
  519.       Top             =   4440
  520.       Width           =   1455
  521.    End
  522.    Begin VB.Image Image1 
  523.       Height          =   2055
  524.       Left            =   4440
  525.       MouseIcon       =   "Form1.frx":3DD2
  526.       Stretch         =   -1  'True
  527.       Top             =   2880
  528.       Width           =   2055
  529.    End
  530.    Begin VB.Label Label6 
  531.       Caption         =   "Telephone No."
  532.       BeginProperty Font 
  533.          Name            =   "Times New Roman"
  534.          Size            =   12
  535.          Charset         =   0
  536.          Weight          =   700
  537.          Underline       =   0   'False
  538.          Italic          =   0   'False
  539.          Strikethrough   =   0   'False
  540.       EndProperty
  541.       ForeColor       =   &H00C00000&
  542.       Height          =   375
  543.       Left            =   120
  544.       TabIndex        =   6
  545.       Top             =   3240
  546.       Width           =   1575
  547.    End
  548.    Begin VB.Label Label5 
  549.       Caption         =   "Email"
  550.       BeginProperty Font 
  551.          Name            =   "Times New Roman"
  552.          Size            =   12
  553.          Charset         =   0
  554.          Weight          =   700
  555.          Underline       =   0   'False
  556.          Italic          =   0   'False
  557.          Strikethrough   =   0   'False
  558.       EndProperty
  559.       ForeColor       =   &H00C00000&
  560.       Height          =   375
  561.       Left            =   120
  562.       TabIndex        =   5
  563.       Top             =   2640
  564.       Width           =   735
  565.    End
  566.    Begin VB.Label Label4 
  567.       Caption         =   "Gender"
  568.       BeginProperty Font 
  569.          Name            =   "Times New Roman"
  570.          Size            =   12
  571.          Charset         =   0
  572.          Weight          =   700
  573.          Underline       =   0   'False
  574.          Italic          =   0   'False
  575.          Strikethrough   =   0   'False
  576.       EndProperty
  577.       ForeColor       =   &H00C00000&
  578.       Height          =   375
  579.       Left            =   2280
  580.       TabIndex        =   4
  581.       Top             =   2040
  582.       Width           =   735
  583.    End
  584.    Begin VB.Label Label3 
  585.       Caption         =   "Date of Birth"
  586.       BeginProperty Font 
  587.          Name            =   "Times New Roman"
  588.          Size            =   12
  589.          Charset         =   0
  590.          Weight          =   700
  591.          Underline       =   0   'False
  592.          Italic          =   0   'False
  593.          Strikethrough   =   0   'False
  594.       EndProperty
  595.       ForeColor       =   &H00C00000&
  596.       Height          =   615
  597.       Left            =   120
  598.       TabIndex        =   3
  599.       Top             =   1920
  600.       Width           =   975
  601.    End
  602.    Begin VB.Label Label2 
  603.       Caption         =   "Address"
  604.       BeginProperty Font 
  605.          Name            =   "Times New Roman"
  606.          Size            =   12
  607.          Charset         =   0
  608.          Weight          =   700
  609.          Underline       =   0   'False
  610.          Italic          =   0   'False
  611.          Strikethrough   =   0   'False
  612.       EndProperty
  613.       ForeColor       =   &H00C00000&
  614.       Height          =   375
  615.       Left            =   120
  616.       TabIndex        =   2
  617.       Top             =   1080
  618.       Width           =   975
  619.    End
  620.    Begin VB.Label Label1 
  621.       Caption         =   "Name"
  622.       BeginProperty Font 
  623.          Name            =   "Times New Roman"
  624.          Size            =   12
  625.          Charset         =   0
  626.          Weight          =   700
  627.          Underline       =   0   'False
  628.          Italic          =   0   'False
  629.          Strikethrough   =   0   'False
  630.       EndProperty
  631.       ForeColor       =   &H00C00000&
  632.       Height          =   375
  633.       Left            =   120
  634.       TabIndex        =   1
  635.       Top             =   480
  636.       Width           =   735
  637.    End
  638.    Begin VB.Label Label9 
  639.       Alignment       =   2  'Center
  640.       Caption         =   "No Picture Insert"
  641.       BeginProperty Font 
  642.          Name            =   "MS Sans Serif"
  643.          Size            =   12
  644.          Charset         =   0
  645.          Weight          =   700
  646.          Underline       =   0   'False
  647.          Italic          =   0   'False
  648.          Strikethrough   =   0   'False
  649.       EndProperty
  650.       ForeColor       =   &H00C0FFFF&
  651.       Height          =   735
  652.       Left            =   4560
  653.       TabIndex        =   30
  654.       Top             =   3600
  655.       Width           =   1815
  656.    End
  657.    Begin VB.Label Label10 
  658.       BorderStyle     =   1  'Fixed Single
  659.       Height          =   2055
  660.       Left            =   4440
  661.       TabIndex        =   34
  662.       Top             =   2880
  663.       Width           =   2055
  664.    End
  665.    Begin VB.Menu mnuFile 
  666.       Caption         =   "&File"
  667.       Begin VB.Menu mnuEdit 
  668.          Caption         =   "&Edit Data"
  669.       End
  670.       Begin VB.Menu mnuAddData 
  671.          Caption         =   "&Add Data"
  672.       End
  673.       Begin VB.Menu mnuRemove 
  674.          Caption         =   "&Remove Data"
  675.       End
  676.       Begin VB.Menu mnuEmail 
  677.          Caption         =   "E&mail"
  678.       End
  679.       Begin VB.Menu Separator 
  680.          Caption         =   "-"
  681.       End
  682.       Begin VB.Menu mnuExit 
  683.          Caption         =   "&Exit"
  684.       End
  685.    End
  686.    Begin VB.Menu mnuTool 
  687.       Caption         =   "&Tool"
  688.       Begin VB.Menu mnuSearch 
  689.          Caption         =   "&Search"
  690.       End
  691.       Begin VB.Menu mnuDescending 
  692.          Caption         =   "Sort &Descending"
  693.       End
  694.       Begin VB.Menu mnuAscending 
  695.          Caption         =   "Sort &Ascending"
  696.       End
  697.    End
  698.    Begin VB.Menu mnuHelp 
  699.       Caption         =   "&Help"
  700.       Begin VB.Menu mnuAbout 
  701.          Caption         =   "&About"
  702.       End
  703.    End
  704. Attribute VB_Name = "Form1"
  705. Attribute VB_GlobalNameSpace = False
  706. Attribute VB_Creatable = False
  707. Attribute VB_PredeclaredId = True
  708. Attribute VB_Exposed = False
  709. Option Explicit
  710. Option Compare Text
  711. Dim MyData As Database
  712. Dim MyRecord As Recordset
  713. Dim SQL As String
  714. Private Sub cmdAdd_Click()
  715.     Form2.Show
  716.     Form1.Hide
  717.     Form2.txtName.SetFocus
  718. End Sub
  719. Private Sub cmdBack_Click()
  720.     If List1.ListIndex = 0 Then
  721.         List1.ListIndex = (List1.ListCount - 1)
  722.     Else
  723.         List1.ListIndex = (List1.ListIndex - 1)
  724.     End If
  725. End Sub
  726. Private Sub cmdClear_Click()
  727.     List2.Clear
  728.     Form1.Width = 6675
  729.     Call cmdFirst_Click
  730. End Sub
  731. Private Sub cmdEdit_Click()
  732. End Sub
  733. Private Sub cmdFirst_Click()
  734.     List1.ListIndex = 0
  735.     List1.ListIndex = 1
  736. End Sub
  737. Private Sub cmdInsert_Click()
  738. End Sub
  739. Private Sub cmdSort2_Click()
  740. Dim iCount As Integer
  741.  Dim i As Integer
  742.  Dim j As Integer
  743.  Dim temp As String
  744.  iCount = List1.ListCount
  745.  For j = 0 To iCount - 2
  746.    For i = 0 To iCount - 2
  747.      With List1
  748.         If .List(i) < .List(i + 1) Then
  749.             temp = .List(i + 1)
  750.             .List(i + 1) = .List(i)
  751.             .List(i) = temp
  752.         End If
  753.      End With
  754.     Next i
  755. Next j
  756. Call cmdFirst_Click
  757. End Sub
  758. Private Sub cmdSort2_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
  759. StatusBar1.Panels(2).Text = "Descending Order Z to A"
  760. End Sub
  761. Private Sub cmdViewPic_Click()
  762. Dim sExtension As String
  763.  sExtension = UCase(Right$(TxtPhoto, 3))
  764.  If Dir$(TxtPhoto) = "" Then
  765.     MsgBox "Invaild Path", vbExclamation, "Picture Link Field "
  766.     Exit Sub
  767.  End If
  768.  Select Case sExtension
  769.     Case "JPG", "GIF", "BMP"
  770.         Image1.Picture = LoadPicture(TxtPhoto.Text)
  771.     Case Else
  772.         MsgBox "Invaild Path", vbExclamation, "Link Field"
  773. End Select
  774. End Sub
  775. Private Sub cmdfind_Click()
  776. Set MyData = OpenDatabase(App.Path + "\Address.mdb")
  777. Dim LName As String
  778. Dim strFind As String
  779. List2.Clear
  780. strFind = Trim(InputBox("Enter Name for search.", "Search Box"))
  781. LName = Trim(UCase(strFind))
  782. Set MyRecord = MyData.OpenRecordset("SELECT Name " & "FROM AddressBook " & _
  783.                                     "WHERE Name Like '*" & LName & "*'")
  784. With MyRecord
  785.     If .EOF Then
  786.         MsgBox "No matching Name found, try again please", vbCritical, "Re,"nFoun3Bg NameBg  Italic      oF6_   try agaiirNQ4hnd))
  787. Set M0  Case "JPG", "GIF", "BMP"5 i nBMP"5 i nBMP"5 i nBMP""""""mse sExtension
  788. Caption  tiI0"l, "Re,"nFoun3Bg NameBg  Ita3ed As String
  789. List2.Clear
  790. se please", vbC
  791.     C A       List1.ListInde As6)Arim(UC)h      TabIndex        = frNQ4hnd))
  792. Set M0  Case "JPG", "GIF", "BCr1.ListIx      cmdfind_Cl  =   12
  793.         List1.Listo_Cl  6 3ia
  794. Set 2
  795.         List1.LissssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssN  "&Tool"
  796.       BeginRm#e search.", "Search Box6inRm#e sea     T2M0  Case "JPG", "GIF", "BMP"5 i nBMP"5 i nBMP"5 i nBMP""""""mse sExtension
  797. Caption  tiI0"l, "Re,"nFoun3Bg NameBg  Ita3ed As String
  798. List2.Clear
  799. se please", vbC
  800.     C A       List1.ListInde As6)Arim(UC)h      TabIndex        = frNQ4hnd))
  801. Set M0  Case "JPc5pon  tiI0"l,2  TabIn3"
  802.   Bn      Charset         =   0
  803.          Weight          =   700
  804.          Underline       =   0   'False
  805.          Italic          =   0   'False
  806.          Strikethrough   =   0   'False
  807.       EndProperty
  808.       ForeColor  _   try agaiirNQ4hnd))
  809. Set M0  Case "Jw      BeginRm#e search.", "Search Box6in6=  t1.Lissssssssssssssss A       List1.ListInde As6)Arim(UC)h         Heighteight          =   700
  810.       )cs6)Aru8tion Explicit
  811. O000&
  812.       Height          =   375
  813.       Left            =   120
  814.       TabIndex        =   2
  815.       Top             =   1080
  816.       Width           =   975
  817.    End
  818.    Begin VB.Label Label1 
  819.       Caption         =   "Name"
  820.       BeginProperty Font 
  821.   yo =   2
  822.       Top             =   1080VB.TextBox t)JPc5pote please", vbC
  823.     C A       List1.ListInde As6)Arim(UC)h      TEndPropertind_Clic"   7Arim(UC)h      TEndPropertind_Clic"   7Arim(UC)h      TEndPgde25S'alse
  824.     ls  "&EdinPropul Tabab3VB.CommandButt7, "GIF", "BMP"5 i ry agaiirNQ4hnd))
  825. Set M0  Case "Jw      BeginRm#e search.", "Search Box6in6=  t1.Lissssssssssssssss A       List1.ListInde As6)Arim(UC)h         Heighteight          =   700
  826.       )cs6)Aru8tion Explicit
  827. O000&
  828.       Height          =   375
  829.       Left   m(UC)h    "BMP45de As6)Arim(UC)h         Heighteight          =   700
  830.       )cs6)Aru8tion Explicit
  831. O000&
  832.       Height          =   375
  833.       Left   m(UC)h             B      Strik_0plic=txnoxtBox t)Explicit
  834. O000&3l"find_Cl  =   12
  835.         )cs6)Aru8tion icit
  836. O000&3l"find_Cl  =   12
  837.         )cs6)Aru8tion icit
  838. O00   "Name"
  839.         UnderFeTextBox t)JPccccccccccccind_lde As6)e As6   1       )cs6)Ar       =   735
  840.       
  841. "NetR(cs6)Aru8tion Explicit
  842. O000&
  843.       Height          =   375
  844.       Left   m(UC)h            5     CommandButt7, "GIF", "ndButt7, "GICustom
  845.       , "ndButt7, "GICustom
  846.      bu5oo     ,       UnderFeTextBox t)JPccccccccccccind_lde As6)e As6   1       )cs6)Ar       =   735
  847.      it
  848. O00 mo.e    )cs6)Ar       =   735
  849.  RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
  850.     5xl                 Picture  !    )cs6)Arutom
  851.     =   375
  852.       Left)1. s6)Arutom
  853.     =   375
  854.       Left)1. s6)Arutom
  855.     =   375
  856.       Le s6)Arutom
  857.     =   36h2"RBMP"5 i nBMP
  858.     =   36h2"RBMP"5 i nBMP
  859.     =   36sB'False
  860.          StrikethrougD
  861.     VB.CommandButto     Height          =   375
  862. 2lfind_Cl  =   12
  863.      Heig   List1.Lis
  864.       BeginPropkr       =  =   0   'FGlobal =   735
  865.       
  866. "NetR(cs6)Aru8tion Explicit
  867. r   ethrougD
  868.     VB.CommandButto     Height          =   375
  869. 2lfind_Cl  =   12
  870.      Heig   LisnRp    
  871.    12
  872.       "5 i nBMP"8
  873.     =   3       =   cw Roman"
  874.          Size            =   12
  875.          Charset         =   0
  876.     Ar2
  877.          Char   =  =   0   'FGlobal =   735
  878.       
  879. "NetR(cs6)Aru8tion Explicit
  880. r   ethrougD
  881.     VB.CommandButto     Height          =   375
  882. 2lfi  36h2"RBM
  883. Set M0  Case "Jw      BeginRm#e search.", "Search Box6in6=  t1.Lissssssssssssssss A       Light          =   375
  884. 2lfind_Cl  =   12
  885.      Heig   9  375
  886.       Le s6)Arutom
  887.     = oe =  =  44i375l s6)Arutom
  888. Explicit
  889. r   ethrougD
  890.     VB.CommandButto     Height       r,al =   735
  891.       
  892. "NetR(cs6)Aet         =   0
  893.     Ar2
  894.          Char   =  =   0   'FGlobal =   735
  895.       
  896. "NetR(cs6)Aru8tion Explicit
  897. r   ethrougD
  898.     VB.CommandButto     Height          =   375
  899. 2lfi  36h2"RBM
  900. Set M0  Case "Jw      BeginRm#e search.", "Search Box6in6=  t1.Lisssssss9
  901. r   ethro T?3.Lisssssss9
  902. r   etnhro T?3.Lisssssss9
  903. r   etnhroEn dn dn dn12
  904.       "5cF etnhroEn ds6)Aet         =   0     =   4560
  905.  'FGlobal =   ml"Search Box6in6=  t1.Lisssssss9
  906. r   ethro T?3.Lisssssss9
  907. r   etnhro T?3.Lisssssss9
  908. r   etnhroEn dn dn dn12
  909.       "5cF etnhroEn ds6)Aet         =   0     =   4560
  910.  'FGlobal =   ml"SethrougD
  911.  ethrougD
  912.  ethrougD
  913.  et fCh=   375
  914. 2lfi  36i_icture Link "
  915.       BeginProperty Font 
  916.          Nat = List1.ListCount
  917.  Fbal =    
  918.      3.Lisssssss9ight          =   375
  919. 2lfi  36   ml"SethrougD
  920.  ethrougD
  921.  ethrougD
  922.  et fCh=   375
  923. 2lfi  36i_icture Link "
  924.       BeginProperty Font 
  925.          Nat = List1.ListCount
  926.  Fbal =    
  927.      3.Lisssssss9ight          =   375
  928. 2lfi  36   ml"SethrougD
  929.  eth  3.Lisssssss9ight       F     =   c
  930.   x3tm1.frx":3DD2
  931. .9eru - 2
  932.      Wit"
  933.       BeginPrope
  934.     BeginPr4Rmc"NetR(cs6)Aet         =   0
  935.     Ar2
  936. .9erubp3cccccccind_lde As6)e As6   1   dn dn12
  937.    "g
  938. Set MyRec6R1   Next i
  939. Next j
  940. CutBox("Enter Name for search.", "Seb "36h2"RBMP"5 i nBMP
  941.     =   36h2"RBMP"5 i nBMP
  942.     =   36sB'False
  943.          StrikethrougD
  944.     VB.CommandButto     Height          =   375
  945. 2lfind_Cl  =   12
  946.      Heig   List1.Lis
  947.       BeginPropkr       =  =   0   'FGlobal =   735
  948.       
  949. "NetR(cs6)Aru8tion(T   Size            =   12
  950. a I  BeginPropkr       =  =   0   'FGlobal =   735
  951.       
  952. "NetR(cs6)Aru8tion(T   Size            =   12
  953. a I  BeginPropkr       =  =   0   'FGlobal =   735
  954.       
  955. "NetR(cs6)Aru8tion(T   Size            =   12
  956. a I      on(T  M 375
  957. 2lfi  36i_icture Link "
  958.       BeginPu8tion(T   Size            =   12
  959. F6i_icture LsY  36h'FGlobal =   735
  960.       
  961. "NetR(
  962.    2040
  963.    inP  List1.Lis
  964.       BeginPropkr       =  =   0   'FGlobal =   735s4u6ssssss9
  965. r   etnh"CREnd
  966. (ssss9
  967. r   etnhro T?3.Lisssssss9
  968. r   etnhroEn dn dn dn12
  969.       "5cF etnhroEn ds6)Aet         =   nlL
  970. m0 63e   =  "SethrougD
  971.  ethrougD
  972.  ethroDo9
  973. r   etnhro T?3.Lissd
  974. (ssss9
  975. r   etnhro sssN  "&Tool"
  976.       BeginRm#e search.", "Search Box6i     00
  977.       )cs6)Aru8tion ExplieAru6i     00
  978.    frNQ4hnd)8Di     00
  979.      tibQv 2040
  980.    inP  List1.Lis
  981.       B    tibQv 2040
  982.    inP  List1.
  983.     yO1.
  984.   0F3
  985. a=archtlkce = Fa0
  986.      tibQv s
  987.       B    tibQv 2040
  988.    inP  List1.
  989.     yT?3.Lisssssss9
  990. r   et)Aru8tl   tC    _n00
  991.       )cs6)Aru8tion Expl0
  992.    inP  Lit)lS?3.Lisssssss9
  993. r   et)Aru8tl   tC    _n00
  994.       )cs6)Aru8tion Expl0
  995.    inP  Lit)lS?3.Lisssssss9
  996. r   et)Aru8tl   tC    _n00
  997.       )cs6)Aru8ti6c   =9'alse
  998. 7=   4
  999. ?eeeeeeroEn ds  inP  Lit)lS?3.Lisssssss9
  1000. r   et)Aru8tl P4Aom
  1001. Explicit
  1002. r   ethreisssssss9
  1003. 5E2.5K eth"Mcs6)Aru8ssssss9
  1004. 5E2.5K eth"Mcs6)Aru8h           =   975
  1005.    End
  1006.    Begin VB.Label Label1 
  1007.       Caption         =   "Name"
  1008.       BeginProperty Font 
  1009.   yo =   2
  1010.       Top             =   1080VB.TextBox t)JPc5pote please", vbC
  1011.     C A       List1.ListIndl1 
  1012.       Caption        9ti6c"p   et)Aru8tl   tCHeiggt          =206  BeginProperty Font 
  1013.          Na=204000e   Begin VB.Nat = Lis
  1014. roEn d  inP  List1A icit
  1015. 4Wimhn VB.N8.60
  1016. roEn d  inP 0
  1017.    K etlse
  1018.          Strikethrough   "RBMP"uFsssss9
  1019. r   et)Aru8tl P4Aom
  1020. Explicit
  1021. r   ethreisssssss9
  1022. 5E2.5K eth"Mcs6)Aru8ssssss9
  1023. 5E2.5K eth"Mcs6)Ar265E2.5K eth"Mcs6)Aru8ssss   et Bhreisssssss9
  1024. 5E2.5K eth"Mcs6)Aru8ssssss9
  1025. 5E2.5K eth"Mcs6)Ar 1A icit
  1026. 4Wimhn VB.N8.60
  1027. roEn d6)Ar 1A ic   e0
  1028. roEnugD
  1029.  ethroDo9
  1030. r   etnh;C0D
  1031.   d  in5c   =9'alse
  1032. 7=   4
  1033. ?eeeeeeroE43r
  1034. 5 do"=  W =   0   'FGlobal =   7et)A2c
  1035. =  W =   0  ugD
  1036.     VB.CommandButto     Height       r,al =   735
  1037.       
  1038. "NetR(cs6)Aet         =   0
  1039.     Ar2
  1040.          Char   =  =   0   'FGlobal =   735
  1041.       
  1042. "NetR(cs6)Aru8tion Explicit
  1043. r   ethrougD
  1044.     VB.CommandButto     Height          =   375
  1045. 2lfi  36h2"RBM
  1046.          =   375
  1047. 2lfi  36h6SDandBFOB
  1048.          Strikethrou2o   Begin VB.Nat = Lis
  1049. ro d  inP 0  cmdfind_Cl  "NetR(cs6)Aru85nugD
  1050.  ethroDo9
  1051. r   etnh;C0D
  1052.   d  in5c   =9'alse
  1053. 7=   4
  1054. ?eeeeeeroE43r
  1055. 5 do"=  W =   0   'FG  375
  1056. XCtion Expliceu2o   Begi VB.CommandButto     Height       r,al =   735
  1057.       
  1058. "NetR(cs6)Aet         =   0
  1059.    gi VB.CommandB"F5oEn ds6)Aet         =   nlL
  1060. m0 63e   =kethrou2o   Begin VB.Nat = Lis
  1061. ro d  inP 0  cmdfind_Cl  "u2o   BegcCBegin VB.Label Label14p   Next i
  1062. Next j
  1063. CutBox("Enter Name for search.", "Seb "36h2"RBMP"5 i nBMP
  1064.     =   36h2"RBMP"5 i nBMP
  1065.     =   36sB'Fals9rou2o   Begin VB.Nat oBou2o   Beg9l(36sB'Fals9rou2o   Begin VB.Nat oBou2o   Beg9l(36sB'Fac  BpBeg
  1066.   d  in5c  2=e3840
  1067.       Wid26s15ri
  1068.          20F   72=e3840
  1069.