Re: How many workstations are connected to Access DB?
From: Phil Hunt (phung_at_ktintl.com)
Date: 02/05/04
- Next message: Douglas J. Steele: "Re: Run-time error '3027': "Cannot update. Database or object is read-only"
- Previous message: PierreCampe: "Re: How many workstations are connected to Access DB?"
- In reply to: PierreCampe: "Re: How many workstations are connected to Access DB?"
- Next in thread: david epsom dot com dot au: "Re: How many workstations are connected to Access DB?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 5 Feb 2004 09:23:04 -0500
In other word, compact it anyway, if it fails, it fails.
"PierreCampe" <Pierre.Campe@pandora.be> wrote in message
news:%23F%23$Yj96DHA.2996@tk2msftngp13.phx.gbl...
> >I'd like to run DBEngine.CompactDatabase when the
> >last user closing VB application.
> if the VB application is closing you close the database(i suppose)
> if after closing the database you open it for exclusive access, and if
that
> succeeds then you are the only user of that db, and hence the last
>
>
> "Vlad" <vovan.c@verizon.net> wrote in message
> news:OdoIuvy6DHA.4012@tk2msftngp13.phx.gbl...
> > Is there any way to find out how many users are connected to Access 2000
> > (DAO) from VB6 program. I'd like to run DBEngine.CompactDatabase when
the
> > last user closing VB application. If there is at least one more user I
> would
> > prefer even not to call CompactDatabase method.
> > Thank you
> > Vlad
> >
> >
>
>
- Next message: Douglas J. Steele: "Re: Run-time error '3027': "Cannot update. Database or object is read-only"
- Previous message: PierreCampe: "Re: How many workstations are connected to Access DB?"
- In reply to: PierreCampe: "Re: How many workstations are connected to Access DB?"
- Next in thread: david epsom dot com dot au: "Re: How many workstations are connected to Access DB?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|