home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 March / pcp161b.iso / handson / archive / Issue159 / files / copyvbwk.exe / Form1.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1999-10-02  |  2.6 KB  |  94 lines

  1. VERSION 5.00
  2. Begin VB.Form MainForm 
  3.    Caption         =   "PC Plus Mailing List"
  4.    ClientHeight    =   4395
  5.    ClientLeft      =   165
  6.    ClientTop       =   735
  7.    ClientWidth     =   6135
  8.    LinkTopic       =   "Form1"
  9.    ScaleHeight     =   4395
  10.    ScaleWidth      =   6135
  11.    StartUpPosition =   3  'Windows Default
  12.    Begin VB.Data Data2 
  13.       Caption         =   "Data2"
  14.       Connect         =   "Access"
  15.       DatabaseName    =   "C:\pcplus\vbwkshp\issue159\newslist.mdb"
  16.       DefaultCursorType=   0  'DefaultCursor
  17.       DefaultType     =   2  'UseODBC
  18.       Exclusive       =   0   'False
  19.       Height          =   495
  20.       Left            =   3120
  21.       Options         =   0
  22.       ReadOnly        =   0   'False
  23.       RecordsetType   =   1  'Dynaset
  24.       RecordSource    =   "MailingDate"
  25.       Top             =   2640
  26.       Visible         =   0   'False
  27.       Width           =   1815
  28.    End
  29.    Begin VB.Data Data1 
  30.       Caption         =   "Data1"
  31.       Connect         =   "Access"
  32.       DatabaseName    =   "C:\pcplus\vbwkshp\issue159\newslist.mdb"
  33.       DefaultCursorType=   0  'DefaultCursor
  34.       DefaultType     =   2  'UseODBC
  35.       Exclusive       =   0   'False
  36.       Height          =   495
  37.       Left            =   3120
  38.       Options         =   0
  39.       ReadOnly        =   0   'False
  40.       RecordsetType   =   1  'Dynaset
  41.       RecordSource    =   "Recipients"
  42.       Top             =   3480
  43.       Visible         =   0   'False
  44.       Width           =   1815
  45.    End
  46.    Begin VB.Menu Add 
  47.       Caption         =   "Add"
  48.    End
  49.    Begin VB.Menu Edit 
  50.       Caption         =   "Edit"
  51.    End
  52.    Begin VB.Menu Delete 
  53.       Caption         =   "Delete"
  54.    End
  55.    Begin VB.Menu Send 
  56.       Caption         =   "Send"
  57.    End
  58.    Begin VB.Menu SendAll 
  59.       Caption         =   "Send All"
  60.    End
  61.    Begin VB.Menu Report 
  62.       Caption         =   "Report"
  63.    End
  64.    Begin VB.Menu Quit 
  65.       Caption         =   "Quit"
  66.    End
  67. Attribute VB_Name = "MainForm"
  68. Attribute VB_GlobalNameSpace = False
  69. Attribute VB_Creatable = False
  70. Attribute VB_PredeclaredId = True
  71. Attribute VB_Exposed = False
  72. Option Explicit
  73. Private Sub Add_Click()
  74. AddRecipient.Show vbModal
  75. End Sub
  76. Private Sub Delete_Click()
  77. DeleteRecipient.Show vbModal
  78. End Sub
  79. Private Sub Edit_Click()
  80. EditRecipient.Show vbModal
  81. End Sub
  82. Private Sub Quit_Click()
  83. Unload Me
  84. End Sub
  85. Private Sub Report_Click()
  86. Reports.Show vbModal
  87. End Sub
  88. Private Sub Send_Click()
  89. SendToRecipient.Show vbModal
  90. End Sub
  91. Private Sub SendAll_Click()
  92. Call SendAllMail
  93. End Sub
  94.