Thanks. that worked like charm!
I really thank a lot you because you give your time to me to solve my problem.
I think it is clear that Attach a database to an existing database do not work and tell the database exist!A solution would be to let the user select an already existing database and attach your database to it.