Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Anders Altberg
  Where is Anders Altberg?
 Uppsala
 Sweden
 Anders Altberg
 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: 188905 # Views: 2 # Ratings: 0
Version: Visual FoxPro 9 Category: Classes and Objects
Date: Tuesday, August 12, 2008 2:52:26 PM         
   


> I have this unique situation wherein I need to read the VCX file directly and find out all the properties (Non-default and otherwise) and dump them in a text file, for further evaluation.
>
> And I can't instantiate the Class, because there are a whole lot of global variables being referred to in the INIT methods of the objects of class (which leads to Fatal while instantiating)
>
> So, I am on the lookout of a way to get the ENTIRE property list without instantiating...
>
> Please help...


Open the VCX in the Class Browser and use the button to write the entire code as a program. The program is a pseudo code version and won't likely be runnable, but everythings there.

A VCX is really a DBF table with a different name extension, so it can be opened and browsed with
USE mylibrary.vcx
BROWSE 

-Anders

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