One thing most programmers who program for windows will have to deal with is the Listbox.The Listbox is a very useful item in the programmers arsenal. It’s cousin, the ComboBox is a close second. You can use a Listbox to display a list of items to a user and allow them to select and item…
Tag: Programming
A simple program to search large text files
A few years ago I took over webmaster duties for a very active community forum. About a month into the job the unthinkable happened, we lost the table that contained all of the posts! I had backups (7 day rolling system) but the backups were a good 24 hours old and the server kept dropping…
Get on the Web Part 3: FTP
This article is the third in a series of articles written to help you get online. This article does not require you to read any other article in the series (nor must they be read in order).Now that you have some web space and some software you want to install how do you get it…
Get on the Web Part 2: Open Source Solutions
This article is the second in a series of articles written to help you get online. This article does not require you to read any other article in the series (nor must they be read in order).Now that you have an idea and a place to host your idea the next step in getting yourself…
Notepad is not a viable PHP editor
Last night I needed to edit a few lines in a php file on one of my sites. I loaded up my ftp client and grabbed a copy of the file onto my local machine.Not paying attention I just double-clicked on the file and it opened up for editing. After changing a few lines I…
How To: Use a cron job to backup your databases
If you run a web server that uses a database such as MySQL then you should be doing backups, often.When I was in charge of the web server for Kenzer and Company we used a 7-day rolling backup system. This system insured that, in the case of a problem, we had several days worth of…
Multi-Dimensional Arrays
A common tool many programmers use is the array.The array is very useful in storing like data. Arrays can also be sorted and searched.What many programmers do not do is use an array along more than two axis.The simplest form of an array is one with only one axis. It is nothing more than a…
Re-usable Code: Linked Lists
One of the most useful ways to store data is the linked list.Read on and explore a very basic framework that you can use to easily add them to your program.We begin with the h file. Please note, this code is written with wxwidgets in mind but the only change required to use this code…