Re: Howto findout Ado not connected



I think only one metod is to try to get the exclusive access to file and
handle the error if any.

--
With best regards, Mike Shkolnik
E-mail: mshkolnik@xxxxxxxxxxxxx
WEB: http://www.scalabium.com

"Verstrepen" <e.verstrepen@xxxxxxxxxxxxx> wrote in message
news:Xns983DA7398C8CB3771@xxxxxxxxxxxxxxxx
Hi there,

I like to know if it is possible to find out if there is someone connected
to an Acces database.
I have a few users on an Acces database. When i want to compact and repair
the database then everyone has to be disconnected.

( Delphi 7 & ADO & Acces )

Best regards,
Eric Verstrepen


.



Relevant Pages

  • Re: knowing when file has been totally transferred
    ... Michel Posseth [MCP] ... wait in a loop untill we can get exclusive access to the file ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Scalabium?
    ... PS: better to post such messages to our newsgroups or mailing list:-) ... With best regards, Mike Shkolnik ... >> With best regards, Mike Shkolnik ... >>> Ole ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: looking for a normal enhanced grid control !
    ... For standard TStringGrid I personally draw everything what I need in custom ... With best regards, Mike Shkolnik ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: TDbPathImage
    ... Just use the OnGetText/OnSetText events for TField and load/save image from ... With best regards, Mike Shkolnik ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: DB Grids choice
    ... But anyway check our freeware TSMDBGrid: ... With best regards, Mike Shkolnik ... > especially on data navigation and DB event management. ...
    (borland.public.delphi.thirdpartytools.general)