I have created an activeX control that acts like a kind of calculator. When a user uses my control on his form, I want him to be able to select a property, for instance, form color and have the background color of the control change.

I decided that I could do this using the SetProperty procedure and having a color dialog box come up for a selection to be made. Unfortunately, this doesn't seem to be working. I don't think that you can declare a common dialog control instance from code without first placing it on the form. Any other ideas out there on how I could do this?

I am very new to activeX so I need all the help I can get.

Thanks

Tesita