Programs

The focus of this page is to give any useful code I have for other people to use. I have for the most part abandoned any programs I have made except for a few I have made in recent years. Anything on this page is free to use. You may use code from my programs under the following agreement:

You may edit my edit any programs I distribute with sorce code as long as the header if any remains intact. None of my programs may be sold without express permission. You may not claim credit for writing any program (you may claim credit and copyright modifications). You may distribute any program you modify as long as credit if given to me for my code (such as a header in the code). Note: these restrictions do not apply to any program I have adandoned. they are free to use/edit/sell, etc.

I have plans to add more source code but I don't know when I will take time to accomplish this.

Table-of-Contents

Key

E - Executable
S - Source Code
R - Reference (download it from their site)
X - Unavailable
* - Programs owned by Microsoft

I.   Visual Basic Programs
     A.  Visual Basic 5.0 Runtime DLLs (*E)
     B.  Greek Master v1.5.3 (E)
     C.  Devos (E)
     D.  Dr. Pepper Program (S)
     E.  TransPic Control (S)
II.  Q-Basic Programs
     A.  QBasic.exe v1.1 (*E)
     B.  War (S)
     C.  Play 4 (X)
     D.  CoolGame (S)
III. Perl Programs
     A.  Verse.pl (S)
     B.  Fluid Dynamics Search Engine (R)
     C.  Blosxom (R)
III. Programming Experience
     A.Q-Basic
     B.Visual Basic
     C.HTML & JavaScript
     D.PHP
     E.Perl
     F.Ti-86 Basic
     G.Others
Visual Basic Programs
VB Runtime Visual Basic 5.0 Runtime DLLs
(executable)
Msvbvm50.exe
All my Visual Basic programs require the Visual Basic 5.0 runtime DLLs in order to run. Download vbrun50.zip if your not sure if you have them. (Note: there is a chance that this link will not work since it is not located on my server. Search for Visual Basic Runtime 5.0 at Microsoft's website to get it.)
Greek Master Greek Master v1.5.3
(executable)
GreekMaster.zip
Greek Master is a program I made to help me study my Greek vocabulary. It is based off of New Testament Greek for Beginners by J. Gresham Machen. It asks you the vocab word and has an Info button (or ESC button) if you need to know the definition. It puts the words in a random order to keep you from memorizing them in order. It does require the font GraecaII (GRII.TTF) so I have included it (copy it into the C:\windows\fonts\ folder).

The program is alright for the beginning stage of a program. I would like to add a lot of features and make it much more useful. Currently the only features is it allows you to modify or add vocabulary (but not remove); close, open, and create new vocabulary files; and append one vocabulary file to the current one. I have included the vocabulary file with all chapters (3-33) vocabulary. Currently you cannot separate them or quiz on only certain chapters but this should be fixed by the next upgrade. (More Information)
Devos Devos
(executable)
Devos.zip
This is a simple program that asks you if you have done your devotions and logs you off if you have not. I made this program to keep me and my suite-mates honest about doing our devotions. In order to get this program to work you must add it to the windows start-up somehow (easiest way to to create a short cut in the "C:\Windows\Start Menu\Programs\StartUp" folder. This also changes the login message from "Do not attempt to Log in unless you are an authorized user." to "Do not attempt to Leg in unless you have done your devotions." This program is for Windows 9x but may work on others. (Note: You must have NT Style login for this program to work) (More Information)
Dr. Pepper Dr. Pepper Program
(source)
DrPepper.zip
This is my Dr. Pepper program described above. It was originally made as a "Joe Program" which is a series of joke programs we made for "Joseph Haynes". It is always on top, the picture of a Dr. Pepper can in the same shape, and is not in the Ctrl-Alt-Delete. I have included the executable program and the source code for this program. (More Information)
TransPic TransPic Control
(source)
TransPic.zip
This is an ocx control (user control) that I made for Visual Basic. I made it to allow me to have a transparent color in a image to allow an object to be in the shape of something other than a rectangle. It only works in Design-time for making a transparent shape, I never figured what made it not work right in Run-time. I have included the compiled control and it's source code. (More Information)


Q-Basic Programs
QBasic QBasic.exe v1.1
(executable)
QBasic.zip
I did not write this program but it is the QBasic program needed to run my games. You may already have QBasic but incase you don't I have included it. If you are running Windows XP I don't think QBasic will work anymore since it is a DOS (16 bit) program.
War War
(source)
War.zip
This is by far my best Q-Basic program and I think it was done very well in the areas we finished. It has a cool look on how it has a scrolling map, and if we spent only a year or two more on it, we probably could have made it a fun Q-Basic game. I have worked on this program a little bit recently during times I am bored. I have tried to modify it to fix some of the errors and remove any bad programming style in it. This was a join effort from Michel Marlen and I. This program is not finished as I have abandoned it.
Play 4 Play 4
(Not Available)
My second Q-Basic game. This is also a Text based RPG and looks much nicer and much more friendly than my previous game (CoolGame). This game has pretty decent code in it but it is still pointless. it currently has a problem loading the data file so I have not included it, I may eventually fix it. It was orginally a program writen by Adam Higerd but it has almost none of his original code (but I did learn a great deal from it). This program is not finished as I have abandoned it.
Cool Game CoolGame
(source)
CoolGame.zip
My first Q-Basic game. It is not very good but uses fairly simple code. This is a Text based RPG that you have to read room descriptions and exits to get around. The way it runs is stupid but I wasn't a good programmer at that time. This program was not finished as I have abandoned it.


Perl Programs
verse.pl Verse.pl
(source)
verse.zip
This is the first perl program I have ever written. I wanted a program that would allow me to remove my verses.php file which just contained a lot of verses and replace it with a script that would dynamically produce verses. verse.zip contains verse.pl, kjv.txt, and a readme.txt with explains the terms of your using/modifing it.

verse.pl allows you to view a single verse (verse.pl?p=jn3v16), multiple verses (verse.pl?=rom12v1t2), or even a while chapter or Psalm (verse.pl?=ps119). Right now I only have one database kjv.txt which contains italics for added words, Psalm headers listed as verse 0, and Psalm 119 has headers with the actual Hebrew characters. verse.pl also includes support for other Bibles but I have not formatted any other Bible version for my script.

You are free to use or modify my script. I have copyrighted it but I encourage you to modify it (just leave my header intact).
Fluid Dynamics Search Engine Fluid Dynamics Search Engine
(reference)
While I did not write this program, I did use my limited perl knowledge to customize mine to make it look like it does. The Fluid Dynamics Software Corporation repleases it software on a reasonable liscence for free providing the copyright notice remains unchanged (you can remove it for $40 dolars). It is pretty nice and comes with its own spider. I would recommend it if you want to add a free customizable search engine to your site.
Blosxom Blosxom
(reference)
I also did not write this program. I did write my own plugin to show my sidebar and a few other features. I also modified my writeback, wbnotify, and directorybrowse plugins. I left the blosxom program untouched except for customizing the pathes. I have been pleased with it, and it is nice how you can make it act like a folder /blog/ with modifing the .htaccess file.


Programming Experience

Q-Basic

This is my first programming language. I learned this in programming I and II in high school. I took it for a computer class and then I fell in love with programming. After a few weeks I started to learn Q-Basic on my own using the Q-Basic help file. I eventually began to know more about Q-Basic than my teacher did but he still was more experienced than I was. My first game was CoolGame. It is a simple text based RPG game. It was originally a series of input, print, and GoTo statements but later became more sophisticated.

Later I borrowed one of my friends programs called Play. It also is a text based RPG game. It was originally written by Adam Higerd but I evolved it into what it is now. I deleted unwanted sections and added my own design and functions. It is now almost 100% rewritten. Each major modification I added a number which brought me to the current version Play4.

After I had been working on Q-Basic for about 3-4 months I began to program with Michael Marlen. He was farther ahead in programming class but I think I have move of a programmer's mind-set. We began to make a program called War for a lack of a better name. I think it is an incredible game for a text based RPG. If we would have only finished it and added content it would have been fun to play. Currently it is only a game engine with basic functions. You can walk around and it gives a visual display with the line ASCII characters. You can move by manually typing in commands or by pressing the Key-Pad. It also has a Black-Jack game built into it that I made for fun (Don't be too critical on the game because I didn't really know Black-Jack rules). Michael and I basically worked on whatever we wanted and then merged our code. I did most of the display features and input features while he worked on adding functionality to it. We even made a program to generate Map files that the program uses. When Michael and I started working with Visual Basic we abandoned War and Q-Basic.

Visual Basic

With the help of my brother Andrew, I taught myself how to program with Visual Basic. I did the same thing with Visual Basic as I did with Q-Basic, use the help file to learn the program. I made many programs with Visual Basic but only a few are worth mentioning.

One of my favorite programs is the Dr. Pepper program. It is a worthless program from a practical standpoint but it is a funny program (to me at least). It is a program Michael and I made as a joke for our friends. It is the picture in the shape of a Dr. Pepper that sits on your screen. It removes itself from the task list (Ctrl-Alt-Delete list). The only way to exit the program in the original version was to press Ctrl-Alt-F9. This program used to have the capability to open/close the CD-ROM drive and shutdown the computer but I removed these in the "friendly" version I distribute. It now can be closed by right-clicking on the can and selecting the close option. Michael eventually made a much worse version of Dr. Pepper program. It showed a fake error message, made many squares appear all over the screen where you cannot see anything, and then shut down the computer. Feel free to download this program.

My TransPic control was designed because I wanted a control that you could make a control in the shape of a picture with a certain transparent color. In my final version you could select a picture and it would make a certain color transparent. I could not, however, figure out how to make it work in-program (during run-time). Currently you must select the picture during design-time. Feel free to use my control or see how the code works.

In recent times I have made about 6 programs for my computer, only a few of which are useful to you. My Devos program I made to keep me accountable to doing my devotions. If you added it to your startup directory (usually C:\windows\start menu\programs\StartUp\) than it will ask you if you have done your devotions. If you answer No it logs you off your computer. If you wait longer than 5 minutes (300 seconds) than it logs you off your computer. If you answer yes than it goes away. It removes itself from the registered task list and you cannot close it except by pressing Yes, No, or waiting 5 minutes.

My most exciting program is recent times is my Greek Master program. It quizzed you over your vocabulary which I have input from Machen's Greek book New Testament Greek For Beginners. It quizzes you in a random order and allows you to add and modify Greek words. I would like to modify it more but it is not a priority to me.

HTML & Javascript

I took a JavaScript class at Butler County Community College. This is where I first learned HTML but still not well. In my JavaScript class, I learned quite a bit about how it works. It is a very confusing language and I was never really intested in it but it is useful to do a few extra things on a web page. Really, I have only written two simple programs. My customize page and my Tic-Tac-Toe page which was my mid-term and final in JavaScript class (the core program for mid-term and cookie support for my final). I have since modified my Tic-Tac-Toe program but the last time I did I noticed a few errors and there is still a way to defeat the hard AI (it is almost like my added code didn't work). I guess a nice thing about JavaScript is you can always see everyone's code.

PHP

PHP is a server side programing language. I was introduced to it by my brother around the same time I started this web site. I immediately liked it because it let me do cool things and it was simple to use like QBasic and Visual Basic. All the PHP programs I have written are on this site. I guess there are only three significant programs I have written: my guestbook, my prayer request page, and my counter on index.php. I have also used PHP require() to standardize my site so every page uses the same sidebar HTML (even my perl code uses the same HTML). Currently I have not released my code, partly for security reasons. My guestbook uses mySQL (formerly used pSQL) to store its information.

Perl

I have just recently started learning perl to use Perl-CGI on my website. I had heard a lot about perl from my brother (he is a Perl finatic) but after I decided to go into the ministry, programming became a secondary importance so I stopped trying to learn any new languages. At first Perl just confused me because it does many things in the background and is designed to accomplish complex tasks in only a few statements. Also, since there really aren't any good perl tutorials on the internet, I had a rough time trying to learn it from my search engine and Blosxom. Finally, my brother loaned me one of his books which helped tremendously. I have decided that Perl would probably be my favorite language if I look the time to learn it more. I have already started to like it better than PHP. It is an extremely useful and powerful program which I like. Also, it is kind of abstract, and since I think abstractly, I like it too. Also, it is fairly easy to use for Perl-CGI once you learn the basics.

Ti-86 Basic

I bought a Ti-86 calculator (graphing calculator) for my math classes in high school. I already had a great knowledge of Q-Basic at this time and Ti-86 Basic is similar to Q-Basic. I made several useful programs like a game menu for my games, a program that calculates and plots residuals on plot 3, a program that compares different methods for estimating the area under a curve (fnInt, trapezoids, Simpson's rule), and several other "short-cut" programs. I may later add this programs to my downloadable programs (I cannot add the residual program because I lost it when my batteries died in my calculator).

Others

I also know how to program a few other programming languages. Some I am more proficient at than others. The main language I know that I didn't mention is C and C++ because I have never written a real program in those languages. I did take a C and C++ class at Butler County Community College but they didn't really teach me anything. I also have a limted experience in Pascal but who cares about Pascal? I do know CSS (Cascading Style Sheets) but that isn't much of a programming language (but it is nifty for customizing your website). I also have an understanding of how Java works but I am not interested in class orderiented programming.

This page was last updated Friday, August 6th, 2004.

Copyright © 2006 James Hanenkamp. All Rights Reserved.

Let this mind be in you which was also in Christ Jesus, who, being in the form of God, did not consider it robbery to be equal with God, but made Himself of no reputation, taking the form of a bondservant, and coming in the likeness of men. Philippians 2:5-7