Hi! I want to insert an image property to a custom ActiveX control that I'm building. I tried the folowing code,
Public Property Let Picture(s As Image)
varPicture = s
UserControl.Picture = varPicture.Picture
PropertyChanged ("Picture")
End Property
Public Property Get Picture() As Image
Picture = varPicture
End Property
but this doesn't appear to work. When I try to persist the values by using the 'UserControl_ReadProperties' and 'UserControl_WritePorperties' methods, vb gives me an error message.
I can use a String property to make the user type in the path of the picture but that's so unprofessional![]()
Please Help![]()
Thanks in Advance




