-
August 9th, 2009, 11:50 AM
#1
VB6 with MS Access
Hi,
I'm new to VB6. I'm using VB6 and MS Access as database. Is it possible for multi user to access my MS Access table (mdb) and open/edit/update simotaniously at one time. If yes, how and what is the example code.
Please advice me. Thank you.
-
August 9th, 2009, 12:02 PM
#2
Re: VB6 with MS Access
Yes it is possible to use MS Access database in a multi-user environment. You will have to put your access DB in a shared location where all the client's (VB programs) can access it.
Also read this for a better understanding of how MS-Access can be shared
http://msdn.microsoft.com/en-us/libr...ffice.11).aspx
-
August 10th, 2009, 05:57 AM
#3
Re: VB6 with MS Access
Thanks Shuja Ali.
Another thing want to know, is it posible for more than one user to open the same Access (mdb) table at the same time? because i was thinking of developing a small programme where two workstation can open (and manipulate) the same Access table at the same time.
Please advice.
Thank you.
-
August 10th, 2009, 06:37 AM
#4
Re: VB6 with MS Access
Yes so long as it is not being open for exclusive access
-
August 10th, 2009, 08:35 AM
#5
Re: VB6 with MS Access
And access has a limited number of connections at the same time.
Theoretical is is 255, but in practice it is a lot lower.
-
August 10th, 2009, 11:38 AM
#6
Re: VB6 with MS Access
Wrong. Access can handle 3-5 concurrent transactions at a time, and no more. If you have more users, then you need a middle tier to hit the db, and send it to the other tier (users)
Otherwise, use SQL Express, which is free
-
August 11th, 2009, 09:05 AM
#7
Re: VB6 with MS Access
Thank you for the answers.
Got any sample code (partial would be just fine) on how to share Access db?
-
August 11th, 2009, 09:52 PM
#8
-
August 11th, 2009, 10:44 PM
#9
Re: VB6 with MS Access
The link in my signature.
As far as 255 concurrent users, I wouldn't like to DBA that mess.
http://en.allexperts.com/q/Using-MS-...imum-Users.htm
-
August 11th, 2009, 10:45 PM
#10
Re: VB6 with MS Access
The link in my signature.
As far as 255 concurrent users, I wouldn't like to DBA that mess.
http://en.allexperts.com/q/Using-MS-...imum-Users.htm
-
August 12th, 2009, 05:40 AM
#11
Re: VB6 with MS Access
Thank you so much for all the answers.
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|