VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Creation of Folders like 'My Folder' 'My Folder(1)' etc.

by Ananda (1 Submission)
Category: Files/File Controls/Input/Output
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 25th August 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Creation of Folders like 'My Folder' 'My Folder(1)' etc.

API Declarations


Dim i As Integer


Rate Creation of Folders like 'My Folder' 'My Folder(1)' etc.



'Put your own name to the directory here I have given 'My Foler' You can choose
'any name.

If FP.FolderExists("d:\ana\My Folder") = False Then
    FP.CreateFolder ("d:\ana\My Folder")
Else
    i = i + 1
    FP.CreateFolder ("d:\ana\My Folder" & " " & "(" & i & ")")

End If


Download this snippet    Add to My Saved Code

Creation of Folders like 'My Folder' 'My Folder(1)' etc. Comments

No comments have been posted about Creation of Folders like 'My Folder' 'My Folder(1)' etc.. Why not be the first to post a comment about Creation of Folders like 'My Folder' 'My Folder(1)' etc..

Post your comment

Subject:
Message:
0/1000 characters