
418 SOF T WARE ENGINEERING AND TESTING
5. In the connection window give the user name SCHOOL in the username
box and the password student. Check the Allow saving password check box
and click the Test Connection button. A message box with the message Test
connection succeeded will appear. Click OK and then click OK again at the
bottom (see Figure 22.8).
FIGURE 22.9
6. Copy the string that comes in the Use Connection String box and click OK.
7. Go to MDI Form’s Form load event and paste the string.
Syntax
Set conn as New ADODB.Connection
Conn.open “<Paste the string>”
8. Delete the ADODC Control from the MDI form and save the project. ...