Monday, 7 March 2011

Dead Space 2


Literary just finished Dead Space 2 and I thoroughly enjoyed it. Scared the bejesus out of me but was worth it. It is funny because I have Dead Space gathering dust on the shelf for years. Tried to get into it several times but I only got to chapter 4 and gave up on it, but I will now get back to it and see what preceded events in Dead Space 2. There is a short film describing what happened prior to Dead Space 2 in the disc which helped a bit but I'd like to "see" it first hand. Here's the film:

Thursday, 3 March 2011

Bulletstorm - Epic Edition


Fancy a game where you can play the role of a crazy drunken mercenary full jokes? Then make sure you pick up Bulletstorm. I haven't played much of the multi-player modes (Echoes and Anarchy) but almost finished the single player on normal.

What makes Bulletstorm unique is the use of skillshots. The game  awards players with credit for killing enemies in one of over hundred possible ways. This gives gamer a mini-game within the game - make kills fun. Works great when you had a stressful day at work and you need to let some of the steam out so you don't have to punch the manager when you go back to work the day after.

Wednesday, 23 February 2011

Fallout New Vegas

I've rented New Vegas this weekend gone and have been playing it a lot since. It is so similar to Fallout 3 which incidentally I have not finished all the side quests yet.

I don't know what it is with this game, because the shooting is not great, especially if you're not using VATS, graphics are poor-ish, dialog animations are so last century and I just can't stop playing it. Must be the story, it's just so good and there so much to explore it's incredible.

Friday, 18 February 2011

Create a custom New Item form for SharePoint Custom Lists

You do not have to use the built in New Item form that you get when you want to add new item to a SharePoint list. You can create a specially formatted form for instance with fields grouped and various layouts. To achieve this you need to have SharePoint designer installed (free from Microsoft) and the how from below.

I had to do this four times now in the past couple of years or so and every time need to remind my self the steps. So here it is:
  1. Create your custom list with all the columns you need.
  2. Using SharePoint Designer open the site containing the custom list you want to create a new "New Item" form.
  3. Browse to the custom list web part under Lists folder.

Thursday, 17 February 2011

Manipulating applications window from .NET application

One of my colleagues was "hacking" a third party application by placing his own .NET application partly over it, at the specific coordinates. To do this he needed to be able to find third party application and set its window position and size on the fly from his .NET app. So I coded a DLL for him.

First I needed to find the window:
public static bool FindApplicationByWindowName(string AppName)
{
int bRtn = 0;

foreach (Process p in Process.GetProcesses("."))
{
try
{
if (p.MainWindowTitle.ToString().ToLower() == AppName.ToLower())
{
bRtn = p.MainWindowHandle.ToInt32();
}
}
catch { }
}
return bRtn;
}