Code Library with Auto Add Feature

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

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.

Features

  • 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 188 articles.


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:54.163.39.19

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




Code Links