Results 1 to 6 of 6

Thread: [RESOLVED] Access Database Shared on the server

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2009
    Location
    Manila, Phillippines
    Posts
    54

    Resolved [RESOLVED] Access Database Shared on the server

    Hello experts,


    I have no idea on how to connect access database shared on the server in vb6.0 application,..I just want, Map it and browse it in my program to connect,and 3 users can access it.
    Can anyone help in my problem.


    Thank You,

  2. #2
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Access Database Shared on the server

    You just have to specify the path where the database is located, something like this.
    Code:
    "Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source=\\computer1\SharedFolder\db1.Mdb"
    computer1 is the name of the computer, SharedFolder is the shared folder where d1.mdb is located.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  3. #3
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: Access Database Shared on the server

    Remember the users need: update,write and delete premissions on the remote folder.
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  4. #4

    Thread Starter
    Member
    Join Date
    Nov 2009
    Location
    Manila, Phillippines
    Posts
    54

    Re: Access Database Shared on the server

    Quote Originally Posted by GaryMazzone View Post
    Remember the users need: update,write and delete premissions on the remote folder.
    Thanks for reply,


    But I am using DAO,


    Thanks,

  5. #5

    Thread Starter
    Member
    Join Date
    Nov 2009
    Location
    Manila, Phillippines
    Posts
    54

    Re: Access Database Shared on the server

    Quote Originally Posted by dee-u View Post
    You just have to specify the path where the database is located, something like this.
    Code:
    "Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source=\\computer1\SharedFolder\db1.Mdb"
    computer1 is the name of the computer, SharedFolder is the shared folder where d1.mdb is located.
    Thanks for reply,

    It helps me...Thanks a lot both of you
    Last edited by ryanbesitulo; Nov 20th, 2009 at 05:48 AM.

  6. #6
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: [RESOLVED] Access Database Shared on the server

    DAO or not when using MS Access the ldb file needs to be written to the folder that the database resides in. To perform this write you need write permission on the folder, once created every one else joining while open need to be able to modify the file. When the last person exits the database the ldb file needs to be deleted so delete permission is also needed.
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

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