Link to home
Start Free TrialLog in
Avatar of ChristianJ
ChristianJ

asked on

Rename, delete MD in Filelistbox and dirlistbox

I want to be able to Rename, Delete and Make Directory in the FileListBox and the DirListBox. Have do I do that?
Avatar of ChristianJ
ChristianJ

ASKER

Edited text of question
This will mean a lot to me. I have tried to solve this on my own for month, but I didn't make it.
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
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
In my program i have a filelistbox and when I mark a file I want to be able to rename it, or delete it.
If I change the filelist to a listview is it possible to use the commands RmDir, MkDir and delete (While runing the program)?
ASKER CERTIFIED SOLUTION
Avatar of AllenC_Jr
AllenC_Jr

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial