VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Visual Basic creates 10000 folders in 13 Seconds

by Bhuwan Chand Joshi (69 Submissions)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 3rd June 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Visual Basic creates 10000 folders in 13 Seconds

API Declarations


Dim dblStart as double
Dim dblEnd as double

Rate Visual Basic creates 10000 folders in 13 Seconds




On error goto Err_Handler

dblStart=Timer

set Obj=CreateObject("Scripting.FileSystemObject")

For X=0 to 9999

Obj.CreateFolder App.Path & "\" & X

Next X

dblEnd=Timer

Msgbox dblEnd-dblStart,vbInformation

Err_Handler:
      msgbox err.description

End Sub

Download this snippet    Add to My Saved Code

Visual Basic creates 10000 folders in 13 Seconds Comments

No comments have been posted about Visual Basic creates 10000 folders in 13 Seconds. Why not be the first to post a comment about Visual Basic creates 10000 folders in 13 Seconds.

Post your comment

Subject:
Message:
0/1000 characters