|
-
Jun 23rd, 2002, 09:51 PM
#1
Thread Starter
Fanatic Member
Directory Listbox Question
This should be an easy one. What I want to do is on the
Dir1 click event I want to create a text file. This I can do. However, want the created file to be named after the folder that was clicked in the Dir1. So Say I click the "ROCK" folder, I want a textfile to be created that is called "Rock.txt". The trouble I'm having is it just creates a folder named "dir1.txt" no matter what folder is clicked. I hope this makes sense. So I guess I don't really want the textfile named: Dir1.name
Is there a way to create a file based on the name of the selected folder in the Directory Listbox? Any help is appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|