the problem I'm having is putting a progressbar in my application. alot of people have there own way of doing this to there applications. but when it comes to figuring out how to..and when to... is a whole lot different. for instance i have this code can you tell me where and what I need to do to put it in.
Private Sub cmdCopy_Click() Dim fso As New Scripting.FileSystemObject Dim fld As Folder cmdCopy.Caption = "Copying Folder!" Set fld = fso.GetFolder(txtSourceOfFolder) fld.Copy (txtDestinationOfFile) cmdCopy.Caption = "Finished Copying" End Sub
i have tried alot of ways but never worked so i have deleted them. now im back to square one again. i don't know how. or understand how to do any kind of "loops". when i looked at your example i didn't know where to put my code at. because i am still learning visual basic. so i have made the cmdbutton tell me whats going on.
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Visual Basic Forum.