The Ramblings of a Software Developer

Calvin Allen

Subscribe to Calvin Allen: eMailAlertsEmail Alerts
Get Calvin Allen: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Calvin Allen

PBDJ Blog Post A few weeks ago, I created a release over at the codeplex site for PFC. So far, there have been roughly 25 downloads and zero comments on the release. Anybody out there have anything to say about it? Everything working okay? ... (more)

Interfacing PowerBuilder with Sentry Spell Checker

PBDJ Blog Post I spent a few hours today getting our PowerBuilder applications to properly spell check using Wintertree’s Sentry Spell Checking Engine. This spell check engine revolves around one DLL and a few dictionaries. Now, I haven’t gotten to the point of adding spell check as you type, but they say it is possible. I ended up with one non-visual user object that contains all my code. This user object has one public function of_spell_check(string as_text) that takes the text you wish to spell check as a parameter. To start, I needed to declare 6 local external function call... (more)

PowerBuilder GeSHi Language File

PBDJ Blog Post In my last post, I stated that I may write a GeSHi language file for PowerBuilder. Before I started on it, I took a few minutes to search around. I managed to find references to one, but couldn’t find the actual file until I browsed the SVN repository for GeSHi on SourceForge. Now, though this script was 99% complete (that I could tell) I did have to add a couple more enumerations to it for it to work properly on the code I posted. I emailed the author to get the script updated, but until I can verify that it has, in fact, been updated – here is the link to my revi... (more)

PowerBuilder DataWindow Love

PBDJ Blog Post I haven’t been in the PowerBuilder game long, so I’m sure some of you already know about this tidbit of information. I was taught when you need to obtain data from a column in a datawindow for every row, that you iterate over the rows assigning each rows value to a particular index in an array of the same type. Sound familiar to anyone? Example: long ll_x, ll_rowcount string ls_people_ids[]   ll_rowcount = dw_people.rowcount()   if ll_rowcount > 0 then for ll_x = 1 to ll_rowcount ls_people_ids[ll_x] = dw_people.object.id[ll_x] next end if Sure, you can do that…if... (more)

Hunter’s Internet Debut!

Here is a short clip of our foster dog, Hunter, doing what he loves most! ... (more)