hi all,

I want to create a very minimal explorer(no treeview) that only shows the contents of a specific folder.
i made a drawing of what i want to achieve:

b9c3b63541f7b73ceb44e2d87eae4b6a

in the above picture, the red box represents a very minimal file explorer (square shaped) that opens only 1 folder (c:\myfolder)

i dont want to embed an instance of the inbuilt windows file explorer (explorer.exe)

please guide me how should i proceed.

If all you want to display is the files in the folder then call Directory.GetFiles() method. You don't need a tree to do that, unless what you really want is a list of folders that you can select then display the files within the selected folder, like FileExplorer does.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.