Is there a way in vb2005 to:
passtrough the name of a control to an other sub? I have 5 pictureboxes.
I want to do some action in the other sub, depending on what control has been clicked on.
Private sub Picture1_Click()
dim objControlName as Picturebox
objControlname = Picturebox1
Private sub ActionOnClick(objControlName)
if objControlName.image=("C:\.........\image1.bmp) then
I can't figure out how to handle this one...