cannot display the shared folders of remote machine in Tree view

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?UHJhZGVlcCBFYXJsYQ==?=

    #1

    cannot display the shared folders of remote machine in Tree view


    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\fol der 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
  • Ignacio Machin ( .NET/ C# MVP )

    #2
    Re: cannot display the shared folders of remote machine in Tree view

    On Aug 7, 10:22 am, Pradeep Earla
    <PradeepEa...@d iscussions.micr osoft.comwrote:
    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\fol der 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.GetFi leSystemEntries ( @"\\remotecompu ter\");

    Comment

    Working...