Creating an SMTP Server - Setting the database connections
(Page 2 of 5 )
Click on adoconnection1 and go to the object inspector's properties tab. Then click on the ellipses button next to ConnectionString property. A dialog box should pop up (see below).

Make sure that "Use Connection String" is selected and click on build. Another dialog box should pop up (see below).

Select the "Microsoft.Jet.OLEDB.4.0" option and click next. A dialog box like the one below should appear:

The only thing you change on this dialog box is question number 1. Click on the ellipses button and go to where you've downloaded the database that I've included in this tutorial. DO NOT CHANGE ANYTHING ELSE IN THIS DIALOG BOX!
Click OK and OK again. On adoconnection1's properties tab, go to the "loginPrompt" and select "False." That's it!
Next, click on ado1's "connection" property in the object inspector and select "ADOConnection1." Do the same for q2 and we are done with the database set up!
Next: Optional >>
More Delphi-Kylix Articles
More By Leidago