-
I'm starting into making my own controls in VB6. From all of the good examples I've seen there is a commented line that says:
'MappingInfo=......
Does anybody know what that means? I can't seem to find answers on the net and MSDN searches don't reveal any information on it.
TIA,
Joel
-
One of the vb add-ins called "ActiveX Control Interface Wizard" helps programmers create ActiveX controls. One of the features of it is to map a property to a property in one of the controls inside the UserControl object. The add-in creates the MappingInfo lines to provide information to the add-in if you decide to change properties later with it.
Personally, I don't use ActiveX Control Interface Wizard because it is not as flexible as writing the properties by hand, but it does write all the code to correctly use the PropBag object.
BTW, If this message is hard to understand, is because I was up late at night to write it. I'll fix it tomarrow. Goodnight.
-
Stuff
I got a reply from a smart man named Andy Harris who stated that it could well be used only within the development environment. When you run your project there may be some need to do a temporary registration of the control (or something similar to this process).
This would make sence since a commented line wouldn't be compiled, and compilation results in a registered control to account for this.