Posts Tagged ‘Class’

VBScript String Methods in a Simple PHP Class

August 24th, 2009

When some people start out in a new language, they are in it for the long haul.  Other people sometimes just need to touch on it without getting into the details.  PHP is one of those languages where you can do things in a quick and dirty way without getting into the details.  I have written a simple class for the kind of person that just wants to get a few things done quickly that is familiar with VBScripting.  The class is mainly a wrapper class that allows you to perform VBScript style methods on strings in PHP.  For instance, you can use VBScript::Left($string, $length) instead of using PHP’s substr($string, 0, $length).  Enjoy!
» More: VBScript String Methods in a Simple PHP Class

Easy to use, yet powerful PHP E-mail Class

July 21st, 2009

This is a pretty robust PHP Email class that I wrote a few years back. Has the capability to do text or html e-mails with multiple attachments. Enjoy!
» More: Easy to use, yet powerful PHP E-mail Class

Simple VBScript Progress Bar

July 16th, 2009

Recently I had a need for a simple progress bar written in VBScript to let users know what was going on in a multi-step application. To my surprise, VBScript has nothing built in for a progress bar.  After much searching, I was able to find this thread that linked to yet another thread with a simple progress bar done in HTML using InternetExplorer.Application.  I have taken this code and modified it to show an actual progess bar, with percentages, that can be updated as desired.  I’ve wrapped it up in a nice easy-to-use class for reusability.  Enjoy!

» More: Simple VBScript Progress Bar