Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Samir Ibrahim
  Where is Samir Ibrahim?
 Chekka
 Lebanon
 Samir Ibrahim
 To: venkata krishnan
  Where is venkata krishnan?
 Chennai
 India
 venkata krishnan
 Tags
Subject: RE: How do I get the properties of a class
Thread ID: 188294 Message ID: 189089 # Views: 2 # Ratings: 0
Version: Visual FoxPro 9 Category: Classes and Objects
Date: Wednesday, August 13, 2008 11:08:46 AM         
   


> Hi...
>
> I have a situation wherein I need to find the properties of a class and the objects contained within it without instantiating it.
>
> I need to get all the properties (including the Default ones)
>
> If I read the VCX file directly, I am able to retrieve only the Non-Default properties ones... But I need to have the entire list of properties... And if an object is sub-classed from a parent, then I should be able to read the properties of the parent class as well..
>
> Is there any way to find these out WITHOUT instantiating the class?
>
>
> Thanks in advance
> Venkat

Hi,
cClassPath = "c:\MyclassPath"
cProjectName = "c:\Myproject.pjx"
BUILD DLL cClassPath FROM cProjectName
DO (_OBJECTBROWSER)
_oobjectbrowser.loadtypelib(cDllFullPathName)


I reach to that level, I don't know if someone else can complete it and read from the object browser programatically?


Samir R. Ibrahim
Good things Take time, Great things happend all at once.

My WebLog
My Website: www.cdcity.org

ENTIRE THREAD

How do I get the properties of a class Posted by venkata krishnan @ 8/8/2008 4:59:45 PM
RE: How do I get the properties of a class Posted by Anders Altberg @ 8/8/2008 5:05:43 PM
RE: How do I get the properties of a class Posted by Yousfi Benameur @ 8/8/2008 5:07:02 PM
RE: How do I get the properties of a class Posted by Andy Kramek @ 8/8/2008 9:42:22 PM
RE: How do I get the properties of a class Posted by venkata krishnan @ 8/12/2008 12:02:42 PM
RE: How do I get the properties of a class Posted by Andy Kramek @ 8/12/2008 12:34:13 PM
RE: How do I get the properties of a class Posted by venkata krishnan @ 8/13/2008 9:19:12 AM
RE: How do I get the properties of a class Posted by ho me @ 8/13/2008 9:56:07 AM
RE: How do I get the properties of a class Posted by Anders Altberg @ 8/12/2008 2:52:26 PM
RE: How do I get the properties of a class Posted by tushar @ 8/13/2008 5:32:27 AM
RE: How do I get the properties of a class Posted by Samir Ibrahim @ 8/13/2008 11:08:46 AM
RE: How do I get the properties of a class Posted by Yousfi Benameur @ 8/18/2008 2:26:56 AM