Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB.NET Database Sharing

Status
Not open for further replies.

aviles1973

Programmer
May 19, 2002
25
US
I have a small network in my home with two computers and I have a small Database program written in VB.Net using ADO.Net connected to an Access(.mdb) database. The program has all the usual functions such as: Delete, New, Update, Refresh, Etc.

I have tried to share the database in My Network Places in its own folder then run the program on both machines connected to the same database. It seems that the connection to the database still resides on the main computers hard drive example....(c:\customers\database\customers.mdb) instead of as a shared database example..... (//mynetwork/sharedfolder/database/customer.mdb)

Should I share the program (can it work like that?)

What is the correct way to put the database on the Network to be shared by the program installed on each computer.
 
I forgot to ask one more question.......
I created the program as a windows app. Should I have created it as an asp.net app?
 
I did change the connection but that is one of my problems as well. I point to the database on MY NETWORK PLACES but the connection still shows that it points to c:\whatever\database.whatever.mdb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top