Urgent Help required - API's

K

Kathy

Hi All

I have a problem - I have an visual basic application that I am currently
converting to .Net - I have a very necessary function that disconnects users
from files on a specific network drive
I was using the following API's

NetFileEnum (enumerates through the files so that I can find the session of
the specific file I want to disconnect)
NetApiBufferFree
CopyMemory
NetFileClose (disconnects the file session)

However the problem is they have changed the server and the new server has
Windows Server 2003 installed - these api's don't seem to be supported
because it generates no error and connects to the server but cannot seem to
see any files connected - am I wrong or could it be something to do with the
security - is there a way to do this in .Net rather???

This is very urgent please - any help would be appreciated

Regards
K
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top