Select AccessApliaction control on the Servers panel
then
AccessApplication1.NewcurrentDatabase ('d: /aaa.mdb');
AccessApplication1.closecurrentDatabase; // Create a must turn off, he is an exclusive way to open