Archive for the 'Technology' Category

Aug 24 2010

Get a Helpful Error Message from WinErrors.h in C#

Published by Matt under Technology

It’s been a while since I’ve posted something like this, but this is one of those things that did not show up under the search terms I thought to be appropriate. Hopefully this post will get sorted to the top of the search terms I was using.
The problem is that when you call into [...]

No responses yet

Dec 08 2008

How To Sort Parallel Arrays in C# .NET

Published by Matt under Technology

I found a very help function today that will easily sort two parallel arrays where one of them contains a set of keys and the other stores another piece of data.  If you want the keys array to be sorted, and the other array to maintain it’s parallism, you can use the Array.Sort(Array, Array) function [...]

No responses yet

Sep 09 2008

Windows Shell Exit/Return Code Variable

Published by Matt under Technology

After running a command in Unix, the status of the command (usually a simply success or failure, 0/1) can be found by echoing the $? environment variable.
 
Of course, you can do this in Windows too, but I guess no one really does because it is hard to find searching the Internet.  So, to determine an [...]

4 responses so far

Jul 19 2008

E-Mail Hyperlink Scrambling

Published by Matt under Technology

I don’t know why I haven’t heard/thought of this before, but as I was working on the Contact page I wanted to scramble our e-mail addresses so that the creepy crawlies of the Internet could not understand them. I had done this several times before with something to the effect of
me _REMOVEME_ (at) Matt [...]

No responses yet

Jul 09 2008

Windows Mobile 6 - Disable sent text message notification

Published by Matt under Technology

I found this gem today:
Turn Off Sent Message Notification on Windows Mobile 6 Device
Thank you, Scott!

No responses yet