2 Attachment(s)
usercontrol compiling problem
hello guys, may i ask for your help again.
i got an error with this line when compiling the usercontrol.
CODE]Public Property Let ImageList(ByVal zImageList As ImageList)
Set zImg = zImageList
End Property[[/CODE]
please check the source code below to see the error. i just can't explain it.
attached below is the ocx and usage of the ocx. thanks in advance.
Re: usercontrol compiling problem
Um... Should it be
Public Property LetImageList or
Public Property GetImageList?
Re: usercontrol compiling problem
The Let should be a Set.
Public Property Set ...
-tg
Re: usercontrol compiling problem
And if techgnome's suggestion doesn't fix it, what exactly is the error message/text?
P.S. Not everyone here uses WinRar; may want to zip it
Re: usercontrol compiling problem
thanks for the replies but i still got error when loading the imagelist in form.
Code:
ACPRibbon1.ImageList = ImageList1
@lavolpe - next time i will zip it.
thanks
Re: usercontrol compiling problem
Quote:
Originally Posted by
LaVolpe
And if techgnome's suggestion doesn't fix it, what exactly is the error message/text?
P.S. Not everyone here uses WinRar; may want to zip it
You seriously use an archiver that doesn't support unrar? :eek2:
-
@Kizslegs, again you're missing Set ACPRibbon1.ImageList = ImageList1
You're setting an object reference. Not just an equality.