Find Out Who is Connected to an Access Database

Find Out Who is Connected to an Access Database

If you’re creating a Jet-based multiuser database system, you’ll sometimes need to know who is currently connected to the shared database. To get this information in situations where you don’t want to integrate a full Access security system, you have two choices. First, you can code in your own “connected users” table and require users to log on with a simple form on startup. Second, and better, you can use the simple msldbusr.dll. This is probably the best “power toy” ever created for multiuser Jet developers. It tells you the computer names connected by accessing the LDB of the database file. You can rename the MDB with any extension, but the LDB is what counts and it works fine.

Once you get the data from the DLL, you can integrate it with Mauro Mariz’s tip, “Send Messages to WinPopUp from Your Application” [101 Tech Tips for VB Developers, Supplement to the February 1998 issue of VBPJ, page 18] to tell the remote user to finish up and shut down the remote app so you can perform maintenance with an exclusive connection.

If you want to integrate your own security system based on connected users without forcing manual logons, you can let the remote apps connect, then run the connections against a list of allowed computer names and take action before allowing them full access. Although this DLL is listed as “currently unsupported,” it does only what it’s supposed to. You can get it, along with a few other Jet locking utilities, at

Share the Post:
Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular

XDR solutions

The Benefits of Using XDR Solutions

Cybercriminals constantly adapt their strategies, developing newer, more powerful, and intelligent ways to attack your network. Since security professionals must innovate as well, more conventional endpoint detection solutions have evolved

AI is revolutionizing fraud detection

How AI is Revolutionizing Fraud Detection

Artificial intelligence – commonly known as AI – means a form of technology with multiple uses. As a result, it has become extremely valuable to a number of businesses across

AI innovation

Companies Leading AI Innovation in 2023

Artificial intelligence (AI) has been transforming industries and revolutionizing business operations. AI’s potential to enhance efficiency and productivity has become crucial to many businesses. As we move into 2023, several