Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

Hi guys. Am making a library management system which so far works well using a Microsoft Access database. The only problem is that it works only in a closed setup whereby the database resides on the PC. It has come to a point where I need the library system to work in a networked environment of say 5 computers ATMOST since large libraries serve many people simultaneously.
I've never programmed an app for a networked environment (ok, so am just a noob but hey, everyone starts off as one) so I'd appreciate any help on how to setup a small network of at most 5 PCs including any additional hardware that may be required. Its easy accessing a database on your harddrive but how do you specify its path if its located on another computer? Am familiar with connection strings,the oleDB classes which i've actually been using so any code will be highly welcomed. I know you may discourage using MS Access but its all i've got plus it handles multiple connections nicely if they aren't too many, just like my case.
Posted
Comments
Perry Bruins 14-Apr-11 15:53pm    
You could consider having one machine running IIS and host a WCF service on that machine that handles access to your access database. It is then not so hard to convert your client program to include a service reference to that WCF service and thus get its data remotely.

I am not sure if this answers your question though, I am not sure if you are asking how to setup the network with hardware or are seeking for an application architecture.
Mwanzia_M 14-Apr-11 16:02pm    
I suppose it aint that clear. The application architecture will do just fine coz all I need is a network hub to connect the PCs, right? About IIs and WCF, could you please tell me more about it coz I really dont know such advanced stuff.

1 solution

You can use access with external rdbms' like Microsoft SQL Server Express[^].

There are tools provided that allows you to upgrade your access solution to MS SQL Server.

(The reason many of us frown on Access, isn't that we like to look down our noses at access developers, it's based on the number of times we've run into serious trouble with the product)

Regards
Espen Harlinn
 
Share this answer
 
Comments
Sandeep Mewara 15-Apr-11 9:11am    
My 5!
Espen Harlinn 15-Apr-11 12:11pm    
Thanks Sandeep!
Albin Abel 15-Apr-11 9:12am    
Good suggestion. Access has its problems. my 5
Espen Harlinn 15-Apr-11 12:11pm    
Thank you, Albin!
Sergey Alexandrovich Kryukov 15-Apr-11 13:23pm    
Agree, a 5.
--SA

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