I have an imagelist and winsock control located on the MDI parent form which I want to access from the child forms.
the MDI parent is named frmMain...
However when I try to access the imagelist for example via
' In child form
Set imgWebsite.Picture = frmMain.ImageList1.ListImages("website_0").Picture
It's trying to create a new MDI form and gives me the "Only one MDI Form Allowed" error.
I don't want more than one opened, I'm not declaring it to open. I've had a similar problem before but can't remember how I got around it.