I have made an ActiveX control based on the combobox that saves the current text to the registry, and populates the combobox with prior entries.

This is used for selecting files, and being able to drop down to see prior files selected.

This works fine when I have one of the new controls on the form, because I use the name of the control as the registry key.

What I want to do is allow multiple ActiveX controls of this type on the form, with each one writing to the registry with its own name as key.

So far when I try to get the usercontrol.name, I just get the name of the ActiveX control, not the new name that is assigned when the control is dropped on a standard exe form.

Any ideas? I think there must be some way to pass the name of the instantiated control back to the ActiveX code.