fichier = "d:\capture_" & Format$(Date$, "ddmmyy_") & Format$(Time$, "hhmmss") & ".jpg"
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Dim capture As Bitmap capture = CapturerBureauWindows() Dim captur As Object captur = Format(Today, "ddmmyy") & Format(TimeOfDay, "hhmmss") capture.Save("d:" & captur & ".jpg") End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick static toto as integer toto = toto+1 Dim capture As Bitmap capture = CapturerBureauWindows() capture.Save("d:\capture" & cstr(toto) & ".jpg") End Sub
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionff = Freefile Open fichier For Output As #ff Print #ff, maCheckBox.Value Close #ff