VB program to show working of Picture box and radio\option button

Show working of Picture box and radio\option button

Sample :

I can't show you complete code Directly so download full code from below .


Private Sub cmdshowdetails_Click()   
    If optkeyboard.Value Then
        MsgBox ("This is a Keyboard")
    End If
    If optmouse.Value Then
        MsgBox ("This is a Mouse")
    End If
    If optmonitor.Value Then
        MsgBox ("This is a Monitor")
    End If
    If optprinter.Value Then
        MsgBox ("This is a Printer")
    End If
End Sub



Private Sub optkeyboard_Click()
    Picture1.Picture = LoadPicture("Keyboard.jpg")
End Sub



Private Sub optmonitor_Click()
    Picture1.Picture = LoadPicture("Monitor.jpg")
End Sub


Private Sub optmouse_Click()
    Picture1.Picture = LoadPicture("Mouse.jpg")
End Sub


Private Sub optprinter_Click()
    Picture1.Picture = LoadPicture("Printer.jpg")
End Sub



 Full Code :
Output(Pictureoption.exe)

Full code(Pictureoption.doc)

Full project(Pictureoption.zip)

*Note Full project require Visual Basic 6.0