We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Rename, delete MD in Filelistbox and dirlistbox

ChristianJ
ChristianJ asked
on
Medium Priority
584 Views
Last Modified: 2012-05-04
I want to be able to Rename, Delete and Make Directory in the FileListBox and the DirListBox. Have do I do that?
Comment
Watch Question

Author

Commented:
Edited text of question

Author

Commented:
This will mean a lot to me. I have tried to solve this on my own for month, but I didn't make it.

Commented:
what do you mean with ...in the filelistbox?
when you want to rename, del or md files/dirs, then you
can use the vb commands for this

re

Commented:
You cannot do this from the FileListBox or DirListBox.  Use the VB commands:
'MkDir'  = Make directory
'RmDir'  = Remove (delete) directory
'Name oldpathname As newpathname' = rename/move a folder/file

Author

Commented:
In my program i have a filelistbox and when I mark a file I want to be able to rename it, or delete it.

Author

Commented:
If I change the filelist to a listview is it possible to use the commands RmDir, MkDir and delete (While runing the program)?
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.