Paul, you got it wrong. And you should have noticed it by your own: Intellisense doesn't show a native Addproperty Method inside of _vfp. AddProperty is a regular Function:
ADDPROPERTY(_vfp, "test", 2) This will work, but as I mentioned before: _VFP a score engine doesn't expect to get messed with, therefor the _VFP intellisense doesn't show that new member, but it stil is accessible. wOOdy -----Ursprüngliche Nachricht----- Von: ProFox [mailto:profox-boun...@leafe.com] Im Auftrag von Paul Newton Gesendet: Dienstag, 5. Dezember 2017 09:35 An: profox@leafe.com Betreff: RE: Adding an object to the _VFP.Objects collection Eric I think you must be mistaken ... I tried that with _VFP.AddProperty("Test",2) and got an OLE error code 0x80020006 Unknown name Paul _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/002701d36da5$bc191c30$344b5490$@wondzinski.de ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.