This is my 4th code and it's a mixture of Image Box,Label Box and 4 option buttons. I have written the code but i'm getting a error as "Object Required". My code is as Follows:

The Question is choose a Option of your pet and with that the required image will also be displayed!


Private Sub OptDog_Click()
Image1.Picture = LoadPicture("C:\Users\PC\Desktop\germanshepherd.jpg")
End Sub
Private Sub OptCat_Click()
Image2.Picture = LoadPicture("C:\Users\PC\Desktop\lacykittens.jpg")
End Sub
Private Sub OptParrot_Click()
Image3.Picture = LoadPicture("C:\Users\PC\Desktop\parrotcracker.jpg")
End Sub
Private Sub OptGuinneaPig_Click()
Image4.Picture = LoadPicture("C:\Users\PC\Desktop\guineapig.jpg")
End Sub