CreateOleObject for MSAccess Error

Discussion in 'AutoCAD' started by MariaF, Sep 13, 2005.

  1. MariaF

    MariaF Guest

    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.
     
    MariaF, Sep 13, 2005
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.