Once the data has been collected in the database, you can publish a newsletter. The newsletter is distributed by a Visual Basic application that can connect to both the datasource and the intranet mail server. This part of the project uses only Visual Basic.
The Visual Basic files used for this portion of the project, along with an executable called publish.exe, are available on the companion CD, in the project1 folder. Listing 6-2, starting on page 231, shows the complete code. The following steps show you how to create the Visual Basic application called Publish.