I have a problem, when i am creating an access application using the CreateOleObject('Access.Application') no modal warning messages are shown - like when you are creating a table with no primary key and you are trying to save the table. Normally in access this causes a warning message that no primary key is selected but when i am trying this from Delphi no message appears. I searched the whole thing and the problem is when i am using the CreateOleObject method. If i am trying to use the ShellExecute to execute the original MsAccess exe file all the messages appears. Do you know how i can solve this problem? I cannot use the shellexecute method because i must use the class name.