|
-
Dec 14th, 2001, 02:28 PM
#1
Thread Starter
Lively Member
OpenRemoteBaseKey - HELP!
I am opening a registry key on a remote server via OpenRemoteBaseKey. The key opens fine, I gather the data I need, and then the user closes the windows form. I am connecting to this server via "NET USE" using the IPC$ share with a domain administrator user name and password. After I have gathered the data and try to disconnect from the server using "NET USE \\SERVER /D" I get this message:
There are open files and/or incomplete directory searches pending on the
connection to \\SERVER\IPC$.
Is it OK to continue disconnecting and force them closed? (Y/N) [N]:
What can I do to completely break the connection to the server when I get done grabbing the registry data. After the form window is closed I would expect that the connection used to gather the remote registry data would be broken. This is apparently not the case. Somehow I need to close the open connection made to the server in code but nothing appears to work. Any ideas?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|