Determine Which and How many Users are Connected to a Database
Version Compatibility: Visual Basic 6
I think this may work on SQL but I have not tried it. It definitely works on JET4.0 As always the code is FREE. If you want support you pay. Enjoy
Instructions: Copy the declarations and code below and paste directly into your VB project.