cannot display the shared folders of remote machine in Tree view

P

Pradeep Earla

Hi

I am having one windows application on my local machine and I want
to display the folders(shared folders) of remote machine in tree view
control of my win application. I haved added me as administartor in that
remote machine.
The following is my requirement.

1)The Application should show a tree view and a list view.
2) Tree view should show the folder structure and List view should list the
folder details just like your windows explorer.
3) Use File based APIs to browse a local file and upload to the server(other
machine).
4) All path related hardcodings like machinename\folder name should be from
a config file.
5) It should provide the option of Downloading the file as well locally via
the application.

if anybody knows the solution please let me know

Rgrds,
Syed
 
I

Ignacio Machin ( .NET/ C# MVP )

Hi

I am having one windows application on my local machine and I want
to display the folders(shared folders) of remote machine in tree view
control of my win application. I haved added me as administartor in that
remote machine.
The following is my requirement.

1)The Application should show a tree view and a list view.
2) Tree view should show the folder structure and List view should list the
folder details just like your windows explorer.
3) Use File based APIs to browse a local file and upload to the server(other
machine).
4) All path related hardcodings like machinename\folder name should be from
a config file.
5) It should provide the option of Downloading the file as well locally via
the application.

if anybody knows the solution please let me know

Rgrds,
Syed

I have never had a need for it, but I would try
Directory.GetFileSystemEntries( @"\\remotecomputer\");
 

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