Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21839

Save Image automaticaly in a perticular file with name.

$
0
0
I want to save Save Image automaticaly in a perticular file with name and when restart the program it should not replace the previous saved files. I have a code for saving the image which assign name automatically but when i restart the program it replaces the previous saved files and start it count from beginning.


The Example of my Code is below


Private Sub Command2_Click()
counts = counts + 1

SavePicture Picture1.Picture, App.Path & "\Picture\" & counts & ")Student.jpg"

MsgBox "Check you picture inside the folder Picture", vbInformation
End Sub

Viewing all articles
Browse latest Browse all 21839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>