Vincent Choy said:
Is there any method to detect who connect to the database (Access) in
VB/Delphi/MFC?
Vincent
The [DBName].LDB file contains information on who is *currently* logged in
to the database, as well as other useful information. There are a couple of
articles on MSDN which describe the structure of the file. there is also a
utility (LDBView) which will display this information, and a DLL
(MSLDBUSR.DLL) which provides this functionality programatically. Here is a
link to an article describing the layout of the LDB file and usage examples
for the DLL. Unfortunately it is rather long so it will probably wrap:
http://msdn.microsoft.com/library/d...oftAccessUnderstandingMicrosoftJetLocking.asp