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