|
-
Apr 8th, 2005, 08:55 AM
#1
Thread Starter
Hyperactive Member
Making Folders (Resolved)
ok, one of my mates has requested this.
Would it be possible to load a list of words and for the program to make a folder called everyname on the list ?? In the same path as where the program is.
Last edited by Ricky1; Apr 8th, 2005 at 09:24 AM.
-
Apr 8th, 2005, 08:58 AM
#2
Re: Making Folders
That one is not going to get answered, as it could be construed as harmful.
Nobody would want that, and it would be a pita to get rid of.
Tell your friend to ask his own questions, so he can get banned.
-
Apr 8th, 2005, 09:01 AM
#3
Thread Starter
Hyperactive Member
Re: Making Folders
y is it harmful ? he wants it so he can load a list of all the albums, games and movies that he has download, (which is a hell of alot) and make separate folders for them. Save a hell of alot of time.
-
Apr 8th, 2005, 09:19 AM
#4
Re: Making Folders
Are you sure that it is on the up-and-up?
-
Apr 8th, 2005, 09:21 AM
#5
New Member
Re: Making Folders
Heres the mate here.....
Harmful???
"Could" be construed as harmful ??
Well if you didn't know, anything can be harmful... And as you say COULD, that doesn't mean WILL.
All hes asking is how you make a folder in VB, nothing special is it?
So email microsofts security department and tell them how making a folder can be harmful, if youre lucky they might even remove folders altogether in the next version of windows and stop all these security risks.
Afterall, microsoft are always looking for feedback
-
Apr 8th, 2005, 09:25 AM
#6
Re: Making Folders
Just don't load a dictionary into a listbox. 
VB Code:
Option Explicit
Private Sub Form_Load()
Dim x As Integer
List1.AddItem "test" ' You can add your own folder names here
List1.AddItem "lost"
List1.AddItem "trust" ' or load them from a file
ChDir App.Path ' "c:\temp" ' to test
For x = 0 To List1.ListCount - 1
MkDir List1.List(x)
Next x
MsgBox "Done!"
Unload Me
End Sub
Use it in good health.
-
Apr 8th, 2005, 09:30 AM
#7
New Member
Re: Making Folders (Resolved)
well thanks for helping out.
I wont use it harmfully
Even if i did, would it be your fault?
Ill have to start learning to program myself so i dont need to get rick to do it all
daz
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
|