|
-
Jul 10th, 2006, 02:02 PM
#1
Thread Starter
New Member
[RESOLVED] Saving file with date and time on the name
Hello!
I´ve been trying to save a file with date and time on the name, to be more specific:
I need to take a ScreenShot and then save it to an especific route with the current date and time, this is what I tried:
Private Sub Command2_Click()
Dim Name As String
Name = DateTime.Now
SavePicture Picture1.Picture, "c:\mypic " + Name + ".bmp"
'keybd_event 44, 1, 0&, 0&
End Sub
Any ideas?
Thanks in advance.
Etamayo
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|