Hi,Thanks for your reply.
Yes, I understand how to set a connection progammatically, but, I was trying to create a BO using the BOM. In the IDE I added a new connection:
Set the Data Source to Microsoft Access Database
Browsed to the database on which to base the BO.
I logged into the database by supplying User Name Admin and the password.
When I closed the dialog, the structure of the database is displayed under the Server Explorere tree structure.
I then open the BOM to configure the BO and when I try to select the source I get the Not a valid password message.
This is where I found myself stuck.
I put a connection string explicity into the Connection String override box by adding the connection string from the Connection String dialog and appending the user id and password:
Provider=Microsoft.Jet.OLEDB.4.0;Data Source="E:\HLS Pro.Net Development\HLS Pro Databases\Config.mdb"; User Id = "Admin"; Password= "myPW"
When I Select again, I have Enumerating Tables displayed and the exception:
Cannot start you appliaction. The workgroup information file is missing or opened exclusively by another user.
Why do I need to supply a password again if I have a valid connection
Can these responses by the BOM be explained?
Many thanks.