Solved

Who's got the resource open?

Posted on 2001-08-06
7
240 Views
Last Modified: 2006-11-17
I want to find the username and ,if possible, the machine name of the user who has a particular file open on a particular server (NT4 Server).In Admin Tools /Service Manager I can find this out, but can I get at this from a client?
0
Comment
Question by:philjh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 1

Accepted Solution

by:
Neal Hartman earned 100 total points
ID: 6356108
Try Microsoft's WMI SDK (Windows Management Instruction).
If not Mabry or Desaware sell NT tools.
0
 
LVL 1

Expert Comment

by:Vinda
ID: 6356217
You can definitely do that using WMI, but then the NT4 server and your local machine both should have WMI core components installed.

I have done that using WMI.
0
 

Author Comment

by:philjh
ID: 6363396
I've had a look at WMI and it seems like a big overhead to achieve something relatively simple. I there not a network API call I could make to get this information?
I've increased the points a bit.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Expert Comment

by:Vinda
ID: 6363826
I could send u WMI code to do this. Its very simple and would just take 20 lines of code to achieve this.

0
 

Author Comment

by:philjh
ID: 6367077
Vinda that would be very useful.Thanks
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7198505
Hi philjh,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept rmcquade's comment(s) as an answer.

philjh, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 5

Expert Comment

by:Netminder
ID: 7213252
Per recommendation, force-accepted.

Netminder
CS Moderator
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question