Fred,
You are right. But what I would like to do is add the class definitionto the Visual Class Library directly. A few years ago, Tom Rettig started something like this with VFP3. It converted prg programs to vcx files. As far as I can remember it only worked with custom classes and had some serious limitations.
>>You are not supposed to be able to add a class definition to a visual class library from a VFP program, application or procedure file. I know you can do this by re-creating your class definiton within the Class Designer and manually copying text from the prg file methods and past it the Class Designer event or method window.
>>
>>I would love to avoid using the class designer. Is there an easier way?
>>
>>Chuck
>
>If you don't want to use the Class Designer, don't. But then you can't drop your class on a form visually, it can only be added through code via CREATEOBJECT/NEWOBJECT.
Life is like an orgasm...so make it the biggest and best you can