[dba-VB] Getting TextReader from strings...

Drew Wutka DWUTKA at Marlow.com
Fri Jun 27 11:17:30 CDT 2008


Oh, certainly.  I have a LOT of classes that are identical in structure,
I call them Object/Collection classes.

One class is an object, such as an Employee.  It has properties and
functions for an Employee (including reading and writing data to a
database).  The second class would be Employees, which would contain a
collection of all the employees.  I actually have an Add-in I wrote that
builds these classes automatically, as soon as I give it a table or
query to build it from.  (The properties are then based off of field
names).  

But if one of these classes needs some special features, then I put in
comments.

Drew

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte
Foust
Sent: Friday, June 27, 2008 10:18 AM
To: Discussion concerning Visual Basic and related programming issues.
Subject: Re: [dba-VB] Getting TextReader from strings...

Class modules, absolutely, when they're pure classes.  But when you are
working with WinForms, comments help a lot.  And if you want anyone
else, including yourself a year down the line, to remember WHY you did
it that way, even in a class module, comments are still valuable!!

Charlotte Foust
 

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Drew Wutka
Sent: Friday, June 27, 2008 7:54 AM
To: Discussion concerning Visual Basic and related programming issues.
Subject: Re: [dba-VB] Getting TextReader from strings...

I also agree.  Class modules can almost be completely self explanatory.

Drew

The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited.





More information about the dba-VB mailing list