Tim Van Wassenhove

Passionate geek, interested in Technology. Proud father of two

28 Mar 2006

More about marshalling

Last month i’ve started programming with the .NET Framework using Visual Basic, C++.NET and C# on a daily basis. T...
19 Mar 2006

Adding support for localization to a WordPress plugin

WordPress uses GNU gettext, as explained in Translating WordPress and Writing a Plugin, for localization. I decided that...
19 Mar 2006

Internationalizing strings with variables

Yesterday i wrote that you can use __($string, $domain) and _e($string, $domain) to internationalize a string with WordP...
19 Mar 2006

Plugin template for WordPress

Today i’ve been cleaning up my code. All my plugins live in a directory %plugin_name% under the wp-content/plugins...
15 Mar 2006

Adding an action when your plugin is activated

The WordPress documentation says that you have to call add_action(‘activate_pluginurl’, ‘somefunction&...
01 Mar 2006

More marshalling...

This snippet uses GetPrivateProfileString that is available in kernel32.dll. Apparently microsoft has decided to remove ...
27 Feb 2006

Reading unmanaged structs with .NET

Last week i’ve spend a lot of time studying System::Runtime::InteropServices. It took me a while to figure out how...
25 Feb 2006

Access a control by name

I know a mathematician that can do magic with stats. That’s also the reason why he works at Eurostat. He’s a...
16 Feb 2006

Removing selected items from a ListBox

Today i was experimenting with a couple of windows controls. For some reason i wasn’t able to remove the selected ...
12 Feb 2006

Pagination for all

Suppose you have a a large collection of items and you want to display them. Users don’t want to see 5000 items at...