0

I would like to know how to do the code for creating a new Folder that the user can rename it instantely after being created. Like in Windows Explorer: PICTURE!

When user clicks on "Make New Folder" it creates inside already selected folder and it colors blue (focus is on entering letters), so the user can now enter folder`s name.
I would like how to do?

This is how I can programaticlly do a directory:

string currentFolderPath = treeView1.SelectedNode.FullPath;
            string MynewFolder = System.IO.Path.Combine(currentFolderPath, "New Folder");
            System.IO.Directory.CreateDirectory(MynewFolder);

But I would like that a user can do its own folder with the folder`s name he wants.

Edited by Mitja Bonca: n/a

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by ddanbe
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.