Results 1 to 15 of 15

Thread: [RESOLVED] How to open *.mdb file(Access 2000 aplication) with VB6 code?

Hybrid View

  1. #1
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    6,734

    Re: How to open *.mdb file(Access 2000 aplication) with VB6 code?

    Do you want to automate MS-Access, or do you want to access a MDB?

  2. #2

    Thread Starter
    Addicted Member kutlesh's Avatar
    Join Date
    Jun 2018
    Location
    Skopje, Macedonia
    Posts
    211

    Re: How to open *.mdb file(Access 2000 aplication) with VB6 code?

    Hmm, open the mdb and enable other users edit data in tables.

    Also I might want run a macro.

    Is there mixing the the approaches in the given code?

  3. #3
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,206

    Re: How to open *.mdb file(Access 2000 aplication) with VB6 code?

    Quote Originally Posted by kutlesh View Post
    Hmm, open the mdb and enable other users edit data in tables.

    Also I might want run a macro.

    Is there mixing the the approaches in the given code?
    Rather than opening an mdb which would be done via ADO with no need for any references to Access that you are trying to automate Access and have it open the mdb.

    Your error message seems pretty clear either the mdb is already opened for exclusive access or it is not at the location the program is looking.
    Make sure there are no copies of access running that may have the db locked, make sure that the db is where the program is looking for it.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width