Category Archives: General

XNA 4.0 Red X Exceptions

So I’m developing a windows application that uses XNA 4.0 embedded in a custom windows control. The main issue I have is when the code inside that embedded control errors out, the windows form and control result in a big red X across the control instead of stopping and going to the debugger so I can find out where the issue is. I’m using Visual Studio 2010 Express since my … Continue reading

Posted in General, XNA | Tagged , , , , , , , | Comments

Fixing WordPress Database Collation for Foreign Fonts

I wanted to write Japanese in one of my wordpress blogs. The issue was that the encoding was in latin1. Here are the steps I used below. Keep in mind that this is a potentially dangerous modification where you could easily lose your data. Be careful and if you try this, you do it at your own risk! – Make a complete backup of your site by whatever methods you … Continue reading

Posted in General | Tagged , , , , , , | Comments

Android SDK: String Arrays and Controls like Spinners

Due to how the Android SDK and Java are setup it isn’t really a simple task to link up an array with a spinner control. I’ll go over some basics I just learned of the process. In this example I setup a setting control that will allow the user to select from a list of values. The spinner control will be initialized by the global setting value (from a black … Continue reading

Posted in General | Tagged , , , , | Comments