Design an Application in Visual Basic, which display picture when
Command button with caption “Click Here” is clicked.
After Delay time 100ms (by using timer control)
Form Design:
Coding:
Private Sub Command1_Click ()
Picture1.Picture = Load Picture ("C:\Users\RohanKhante\Desktop\Capture.jpg")
End Sub
Private Sub Timer1_Timer ()
If Timer1.Interval = 100 Then
Picture2.Picture = Load Picture("C:\Users\RohanKhante\Desktop\Capture.jpg")
End If
End Sub
Output:
No comments:
Post a Comment
This Blog helps you to learn basics to high level programming coding and practicals.
conceptual understanding