Design an Application in Visual Basic, which display picture by visual studio

 

  1. Design an Application in Visual Basic, which display picture when 

  1. Command button with caption “Click Here” is clicked.

  2. 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

c program, Advance coding, c++ program, simple program, Advance language

online quiz Application project page MCA final year project

  Here we making a quiz application ppt presentation for college project so that our project idea will like to our professor and teacher  fi...