I'm using a VB6 library in my VB.NET application.
This library has a function that retrieves report records (as structures).
One of the structures in this library contains 105 public Boolean members that indicate to the function which "types" of records should be included while running a report.
The report record structures retrieved by the function contain this report type structure in order to indicate the"type" of record retrieved. You are able to tell which type of record it is by finding the single Boolean member is set to True in the record type structure.
Is there a way to loop through the VB6 Structure members?
Please note that the 105 Booleans are not Properties...th ey are simply publicly exposed Booleans. (So the System.Reflecti on PropertyInfo won't work)
Thanks for your time,
-Frinny
This library has a function that retrieves report records (as structures).
One of the structures in this library contains 105 public Boolean members that indicate to the function which "types" of records should be included while running a report.
The report record structures retrieved by the function contain this report type structure in order to indicate the"type" of record retrieved. You are able to tell which type of record it is by finding the single Boolean member is set to True in the record type structure.
Is there a way to loop through the VB6 Structure members?
Please note that the 105 Booleans are not Properties...th ey are simply publicly exposed Booleans. (So the System.Reflecti on PropertyInfo won't work)
Thanks for your time,
-Frinny
Comment