: I am writing an accounting program and I need to create directories(folders)to store files. Could somebody tell me what is the shortest and fastest way to do that(to create a directory using Visual Basic Code).
:
: Thanks a lot.
:
I'm at a computer, which doesn't have VB installed (oh, the pain, THE PAIN!), so I can't check to see if my answer really works... But I believe, that the easiest way to create folders is this:
MkDir(Path As String)
At least, I seem to remember, that it's called MkDir (Make Directory)
An example (Yay, we love examples, don't we?!):
MkDir "C:\myNewlyCreatedFolderWhichHasAVeryLongName"
Once again, I can't check up on it, but I hope it'll work for ya
Good luck, and happy programmin'.