I'm looking for feedback on how others store code and why they store it the way they do. As I see it the Advantages/Disadvantages of the various methods are:
VB Code:
A. Use a program such as CodeBook. Advantages 1. Code all in one place 2. Listbox is available for a sorted list 3. Search routine to look for code Disadvantages 1. Stored in a separate file (normally DB) so subject to corruption. 2. Code must be formatted according to CodeBook requirements 3. Lengthly code examples with multiple functions/subs are not easily handled. B. Store as a BAS Module. Advantages 1. Code all in one place (Module) 2. Listbox is available as built into VB 3. Search routine to look for code (VB) 4. Stored as text Disadvantages 1. Lengthly code examples with multiple functions/subs are not easily handled since they not kept together (eg. events) C. Stored as separate files on HardDisk Advantages 1. Code all in one place 2. Search routine to look for code (Explorer) 3. Can be Stored as text or zip or whatever format 4. Lengthy code examples can be kept together Disadvantages 1. Large number of small files which uses up a lot of HD space.




Reply With Quote