|
-
Oct 22nd, 2001, 07:32 PM
#1
Thread Starter
Fanatic Member
Browse the dir struct of a network client ??
Hi all Im writing a network admin tool I have everthing sorted except for 1 thing
I want my app to be run from anywhere on the network. So i am using MTS to publish my com compnents which are installed on the domains server. However 1 of the functions i need to perform is to create shared folders on the server...... Now to do this i need to be able to provide an absolute path for the folder to be shared.
Want i need to find out is
Is this possible to remotly browse a computer eg the server (the user will be logged in as administrator so access rights are not an issue) then use that path to remotly create a folder and share it??
If so How????
any help would be greatly appreciated
Thanks in advance
-
Oct 22nd, 2001, 10:13 PM
#2
Thread Starter
Fanatic Member
-
Oct 23rd, 2001, 02:55 PM
#3
Thread Starter
Fanatic Member
just refreshing this as I still have not found any solutions
-
Oct 23rd, 2001, 03:15 PM
#4
Black Cat
Is this possible to remotly browse a computer eg the server (the user will be logged in as administrator so access rights are not an issue) then use that path to remotly create a folder and share it??
If you're running NT/2000 look into NetShareAdd API call. I've posted code, search the forums. You will the the path on the remote computer to make the share to.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Oct 23rd, 2001, 03:35 PM
#5
Thread Starter
Fanatic Member
Thanks Josh
I think i wasnt very clear in my description (it was late and i was tired )
I can actually create the share no problem, What i cant do is bring up a window (using the common dialog api or control, or by creating my own) that displays the normal browse for folders drive structure on the server while executing the app from a network client.
The reason i want to do this is to allow the end user to be able to find the path they desire easily without having to either have knowledge already of the path required. Or having to go back to the server to find the true path.
I had created a routine which allowed me to do this but it only works with the unc paths not the true path.
And the create share api call needs the true path to work so you see my delema
Thanks for your suggestions though
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
|