1个回答
展开全部
一个TIMER,一个PICTUREBOX.
Private Sub Form_Load()
Timer1.Interval = 1000
Dir "C:\....\*.jpg" '放有JPG图片的文件夹地址
End Sub
Private Sub Timer1_Timer()
On Error GoTo err
err: If err.Number <> 0 Then Dir "C:\....\*.jpg"
Picture1.Picture = LoadPicture("C:\....\" & Dir())
End Sub
Private Sub Form_Load()
Timer1.Interval = 1000
Dir "C:\....\*.jpg" '放有JPG图片的文件夹地址
End Sub
Private Sub Timer1_Timer()
On Error GoTo err
err: If err.Number <> 0 Then Dir "C:\....\*.jpg"
Picture1.Picture = LoadPicture("C:\....\" & Dir())
End Sub
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询