Saving automaticly by VB.
-
I have a button in my VB program that responsible to save a file. When I press on this button a dialog box is opened and I have to select the folder and the name of the file. I wonder how I can cause to the file to be save in running name ( the first file will be saved in the name Img000, the next file will be automatic saved at the name Img001, etc.). Thank you !! Ahuva Penkar
-
I have a button in my VB program that responsible to save a file. When I press on this button a dialog box is opened and I have to select the folder and the name of the file. I wonder how I can cause to the file to be save in running name ( the first file will be saved in the name Img000, the next file will be automatic saved at the name Img001, etc.). Thank you !! Ahuva Penkar
Create a global variable that has the current name of the file, then everytime the user creates a new file, give the file the current name. Then increment the name of the variable.
Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!