Category Archives: Programming

Debug Output in PHP

This blogpost is an update for a old (2012) post on using the Win32 OutputDebugString API method from within PHP. To view the output of this Win32 API call, download dbgview.exe from SysInternals.com. The solution presented takes another route (not … Continue reading

Posted in PHP, Programming, Windows | Leave a comment

PHPUnit and Drupal8

Time to share some experiences with getting something up and running. This time getting PHPUnit to work under Drupal8 on Windows. PHPUnit I started reading PHPUnit in Drupal and the PHPUnit manual, downloaded the PHPUnit phar file and performed some … Continue reading

Posted in PHP, Programming | Tagged , | Leave a comment

WP8 LongListSelector and not correctly updating ContextMenu’s

These last days I have been working on a simple WP8 app that uses TvDb.com to keep track of the next/upcoming series episode to watch. I made extensively use of the LongListSelector combined with a ContextMenu from the WP8 Toolkit … Continue reading

Posted in C#, Programming, Windows | Leave a comment

Static properties on design-time

A couple of weeks ago I was working on a component to use & generate html help files. The idea was to drop a component on each form where it would do it’s work: Generate files for Microsoft’s HtmlHelp Workshop … Continue reading

Posted in C#, Programming | Leave a comment

RadioCheck for MenuToolStrip

Today I wanted to code a submenu with menu items that are checked like a radio button group. So once a single menu item has been checked, there is exactly one item checked all the time. The task proved a … Continue reading

Posted in C#, Programming, Windows | Leave a comment

Debugging Java HTTP sessions

At the moment I use 32 bits Eclipse under Windows 7 x64 for writing Java applications. Some days ago I tried to mimic a web browser session that included logging into Drupal. Because Drupal uses form based login and cookies, … Continue reading

Posted in Programming | Leave a comment

How to test if a JScript variable exists

Sometimes simple things tend to be tricky. This one eluded me for quite some time (upto today that is). I use to use a construct that casts a variable to a string and test if it’s “null”. So code like: … Continue reading

Posted in Programming | Leave a comment

PHP and XDebug

  Just as I found how to trigger the JScript debugger a similar way exists for PHP script and XDebug. At the same time I discovered that XDebug can do much more! XDebug Debugging The ‘normal’ way of starting a … Continue reading

Posted in Programming | Leave a comment

Debugging PHP

As an old fashioned programmer I grew up with debugging methods like post-mortem traces and trace statements. Today however we have and are used to GUI’s for debugging and can single step code or even re-compile code and retry the … Continue reading

Posted in Programming | 1 Comment

C# WaitCursor Class

  As I started seriously coding in C# for some time ago, I needed to fill a lot of gaps that exists in my toolbox compared to the well filled Borland Delphi toolbox I created over the years.  As expected … Continue reading

Posted in Programming | Leave a comment