by FortyPoundHead (1 Submission)
Category: Miscellaneous
Compatability: VB Script
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (7 Votes)
About a year ago, I submitted a code library, which was pretty basic. My first submission, etc.
One of the comments I received was the wish for an automatic code addition function. I have finally found the time to make that addition.
This version of my code library has a much different interface, supports attachments as well as snippets, and also includes AUTOMATIC ADDITION OF SNIPPETS on your hard drive.
The program searches for .BAS files on the specified drive, then looks in each .BAS file it finds for Functions and Subs, which are added to the back-end Access database.
Further, snippets can be added singly, by clicking the 'Add Snip From File' button on the Add New form (frmAddNew).
Be forewarned - this code is not yet complete; I've yet to work the GUI, and commenting is sparse. And no, I am not an expert programmer. This is just a hobby for me!
Inputs
N/A
Assumes
N/A
Code Returns
N/A
Side Effects
UPDATE: I've added to the AutoAdd function. It now grabs the declarations for that module. I haven't got it down to grabbing the required modules. Rather, it grabs them all, and stores them with the snip.
Also, since vbcoders.com has been having problems with ZIP downloading (due to the hurricane), I've placed the ZIP file on my test server: http://derekw.dynu.net/codelib.zip
Thanks for the ratings, everyone. Wasn't expecting to get any response!
Download UPDATED: Code Library with Auto Add Feature (84 KB)