i have been trying to add a progressbar to my project but don't know how and the last post i have posted one person answered it but never came back to help me with how?
so i am asking again because this is something alot of people probably would want to know how to do it
so i am placing a code down and hopefullly some one could post the steps on how this could and can be done. not just with my project but others too. so please have a heart and show us who don't know how, but want to learn to do it
here is the code i am wanting to have a progressbar in it to show things happening
as you can see from this code i have the button caption change when i click on it to say "Copying Folder!" and a label to say when it's done. this is great and all but a progressbar would look so much nicer and professional.
lee123
so i am asking again because this is something alot of people probably would want to know how to do it
so i am placing a code down and hopefullly some one could post the steps on how this could and can be done. not just with my project but others too. so please have a heart and show us who don't know how, but want to learn to do it
here is the code i am wanting to have a progressbar in it to show things happening
Code:
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) Label1.Caption = "Copying Folder Is Completed!" Beep txtSourceOfFolder.Text = "" txtDestinationOfFile.Text = "" cmdExit.Enabled = True End Sub
lee123
Comment