Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I am using access2003 database(.mdb) and i want to share it so that other developer can add,delete and update tables of my database.four of us want to work on different form independently. so plz provide solution....
Posted

Hi,

Although i have never try this before but just give it a try.

1) Share Folder of your Access database on one computer.
2) Create short cut on all your four computer that pointing to Shared Access database.
3) Change your application configuration file to use short cut of your access database.

I also found this[^] link for sharing your Access database with different ways.

Thanks
-Amit Gajjar
 
Share this answer
 
Comments
uspatel 22-Aug-12 1:05am    
5+
AmitGajjar 22-Aug-12 1:11am    
Thank you :)
Member 8233601 22-Aug-12 1:07am    
and what if i want to share my application so that everyone of us work on independent form...
AmitGajjar 22-Aug-12 1:11am    
you can try with similar way that i have just explain for database sharing. create shared folder for your application and create shortcut in all computers. but that's not preferable.
Amit's answer works.
let me explain.

Make a share folder.
Put mdb file in share folder.
Now change your connection string on all systems like
C#
<add key="ConnectionString" value="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=\\10.11.1.1\FileInventory\FileInventory.accdb;Jet OLEDB:Database Password=omaxe" />

Now bulit your application and run............
 
Share this answer
 
v2
Comments
Member 8233601 23-Aug-12 0:31am    
my connectionstring is:
OleDbConnection con = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|/furnituredb.mdb");
I put it in bin of my project. now if i give the connection string as you mention
will it work...
uspatel 23-Aug-12 0:51am    
It works but on your system only.
when you want to share mdb file then why do you have put in bin folder.
Member 8233601 25-Aug-12 5:57am    
i am using acess 2003 database so provide me connction string for that..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900