>>>Hi,
>>>
>>>How can I create a class and set its properties programatically without hacking the VCX file?
>>>
>>>CREATE CLASS ... NOWAIT starts the class designer and continues with program execution, but I don't know how to get a reference to the object being created in order to set its properties as well as add other objects to it, and finally to close the design window.
>>>
>>See
DEFINE CLASS ...
>
>Thanks Sergey. I meant that the class be created programmatically, as part of a conversion project, but be saved in a VCX file so that further maintenance can be done visually, with a builder.
Sorry, I misread your message. You can create object using CREATEOBJECT or NEWOBJECT, add properties and other objects and save it using SaveAsClass method.
--sb--