Rick's Codebank

I received an advertisement in the mail one day for a VB code repository program. It looked great but they wanted $400 for it! Being a cheapskate and in possesion of a lot of unorganized code snippets, I decided to create my own code bank program with VB4 32-bit. The program, VB Code bank, is the result. I have released it into the public domain, complete with source code and database.

VB Code bank is a simple application which, I believe, would be a good learning tool for beginners. When I was first starting out with VB it was nearly impossible to find a complete working project to learn from. Books and manuals talk all around a subject but never really show you how to do anything practical. They give you a few snippets of code, but never a project complete enough to give you the big picture.

There's a lot of practical coding in this project for beginners, including:

I hope you learn as much from the project as I did.

If you make any improvement to the program (I know it's not perfect), I'd appreciate your passing the code back to me, rtharp@ccp.com.


Screenshot

VB Code bank main screen

Download

Click below to download a zip of the program, database, and source code. Refer to the readme.txt file within the zip for a description of the included files.

Installation

Since this program uses DAO (Data Access Objects), it requires the "professional" version of 32-bit VB.

If your version of VB has problems loading the codebank.vbp file, then you can recreate the project manually:

  1. Click "File" then "New project"
  2. Delete the default Form1 that VB automatically adds
  3. Add references to:
    • DAO
    • Microsoft Common Dialog Control
    • Microsoft Windows Common Controls
  4. Then add each of these files to the project:
    • codebank.res
    • about.frm
    • main.frm
    • repair.frm
    • splash.frm
    • main.bas
    • contxtid.bas

VB Tools

Some tools that I've found useful in VB programming:

VB Books

Here are some of the more useful VB books I've found. There are many VB books freely available online at: Inform IT.

TY db Teach Yourself Database Programming
I found this to be a very thorough introduction to database programming in VB. It offers complete working examples that are missing from most other VB books.
Code complete Database Access with Visual Basic 6
This is an intermediate to advance level book that picks up where most other books leave off. Very thorough coverage of a sometimes perplexing subject.
Code complete Pure Visual Basic
This is a very handy reference book. A good book to keep within reach for a quick overview of a subject.
Code complete Code complete
This is not a book specifically for VB, instead it teaches proven effective programming practices. Using the techniques in this book, you can improve your coding and write better, more efficient programs.


VB Links

Here are some of the more useful VB websites I've found.
Share/Save/Bookmark

www.rxkinetics.com
©Copyright 1984 - 2011, All rights reserved.
RxKinetics, Plattsburg, MO 64477

This is a Norton safe site

Become our fan on facebook Lunarpages.com Web Hosting