Code Library with Auto Add Feature

Posted On 2017-08-06 by dwirch
Tags: VB6 Complete Applications VB6 String Handling VB6 Databases Windows
Views: 67

Download Attachment

Way back in the days of yore, about thirteen years ago, I decided I needed a central repository for all my random bits of code. Not having the dollars at the time, I decided to build my own code repository.

This was before the time of now well-known repos such as GitHub and the like, so I was using a simple file system based method of storing my code. Being fresh into database programming, I figured it would be a simple matter to store my code in an Access database, so it would be searchable, etc.

I was strolling through another VB-related site, and I actually found the submission of an early version of the code library. I have attached the zip file of the project to this post. Commenting is a bit sparse inside the project; I was still learning the virtues of documentation back then. Sorry about that.


  • Code is organized by category
    Code Browser
  • Easy addition of single code entries
    Add Code
  • Editing of existing entries
    Edit Code
  • Auto-add of code. I was really proud of this! It scans the selected drive for Visual Basic files, and allows you to add individual or all items to the library.
    Auto Add Function

I actually used a newer version of this (which I can't find at the moment!) for quite awhile. I was able to pop this up in the IDE on my Windows 10 workstation with no problem. It runs equally well in the IDE and as a compiled program.

The project demonstrates:

  • drive/directory/file dialogs
  • recurse directories
  • file system processing
  • sequential file reading
  • read and writing from an MS Access database
  • string handling functions

If there is any interest, I wouldn't mind doing some updates to this. It will be free, as always.

About the Author

dwirch has posted a total of 181 articles.

You can find more information from dwirch by visiting

Comments On This Post

No comments on this post yet!

Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.

Your IP address is:

Before you can post, you need to prove you are human. If you log in, this test goes away.

Recent Forum Posts

Advanced search added
dwirch posted on September 23, 2017 at about 13:44 in Site News

Job Spammer: Gaurav Mehta - AgreeYa Solutions
dwirch posted on September 22, 2017 at about 10:35 in Spammers

Job Spammer: Prutha Siri - Javelin Systems
dwirch posted on September 10, 2017 at about 6:15 in Spammers

New security implemented
dwirch posted on September 7, 2017 at about 7:16 in Site News

Malicious IP Checker Companion Tool
dwirch posted on August 12, 2017 at about 20:24 in Site News

Job Spammer: Steve Adams
dwirch posted on August 8, 2017 at about 7:44 in Spammers