. Topicala Page Index Token

A Journal about the experiences I have developing little applications in C#, Perl, Html and Javascript and talking about things new things that I use. Always Geeky; Always Nerdy; Always poor Grammer!

I am a Software Analyst Developer working in Southport, England but living in Liverpool. I develop mainly in C# and ASP.Net. I have been developing comercial software for several years now. I maintain this site (hosted at SwitchMedia UK) as a way of exploring new technologies (such as AJAX) and just generally talking about techie geek issues. This site is developed through a host of Perl scripts and a liberal use of Javascript. I enjoy experimenting with new technologies and anything that I make I host here.

Quick Search

Web www.kinlan.co.uk

Wednesday, August 30, 2006

Just Downloaded XNA Beta and I had to change the template code to get it to work

I think I am probably in a minority with the XNA, I am running on a really old athlon with a Geforce 2MX and I had to change some code because of a Device Creation Exception.

If you get some errors, check the inner exceptions and see if it is your device, i.e. Graphics Card that is causing the problems. 

In my case my device doesn't support MultiSampling on the Backbuffer so I had to add the following line to the InitilizeComponent in the Game object.


this.graphics =  new Microsoft.Xna.Framework.Components.GraphicsComponent();



this.graphics =  new Microsoft.Xna.Framework.Components.GraphicsComponent();

this.graphics.AllowMultiSampling = false;


I hope this helps.


ps if anyone wants to donate any hardware email me ;)


Sunday, August 20, 2006

Windows Live Writer Plugin Development Question

I am in the process of playing with the SmartContentSource class for creating a plugin.  But I am having some problems.

I am debugging my plugin, to see the state of certain objects such as the SmartContent Objects.  My Plugin creates a side bar and manipulates the SmartContent Object, all fine and well.

The problem that I am having is that I can determine what text is in the blog post at the moment.  The SmartContent object doesn't have anything, and the object represented by the ISmartContentEditorSite interface doesn't have the whole text or selected text.

Does anybody know how to get at this text, because as I see it, if plugins can't see the blog post then there is only a small finite amount of plugins that we as developers can create.

I have Properly Worked out Why My Windows Live Write Plugin Was Not Working

In two of my previous post I have talked about not being able to get the Windows Live Writer Plugins to work.

It was all because I was adding new classes in via the solution explorer, and when doing this the class is "made" with out an access modifier, which means that it is "internal" by default and thus wouldn't be reflected (or what ever mechanism the Windows Live Writer tool uses).  I made the class public and voila!

Saturday, August 19, 2006

Got a Windows Live Writer Plugin Working

With Reference to my previous post "Call Me Stupid" I have now got a plugin working.

The only thing that I can say that I did was to start from the beging again.

Over the next couple of days when I get chance, I am going to convert my Ajax Tagger to the Windows Live Writer Framework.  It should be a good experiment of create a Mashup of Web 2.0 API's into the Windows Live Writer Application.

Keep following me for updates.

Call Me Stupid

I have been sitting at my desk for 45 minutes now trying to work out how to create a plugin for the Windows Live write in C#.

Reading the documentation, it should be one of the easiest things in the world.

Reading the Example, it should be one of the easiest things in the world.

Writing a simple "Hello World" app has become so frustrating.  All my code seems to be okay.  But it won't appear in the list of the available plugins.

If I compile the example, the example appears fine and dandy.  If a copy word for word the example I can't get it to appear in the Windows Live Write App.

I have no idea what I am doing wrong.

Does anyone know if there are any logs produced by Windows Live Writer?

Tuesday, August 15, 2006

If you seem a strange post in your blog, it may be Windows Live Writer

I have been seeing a lot of weird posts in blogs recently.  That go along the lines:

Temporary Post Used For Style Detection (d21..............)

The only reason why this appears must be because Windows Live writer puts it in their so that it can display the "in style" editing for your blog posts.  It makes sense I suppose when you think about it.

But it is only there for minutes and Google Blog Search picked it up.  So I suppose it shows how fast Google is indexing Blogs if anything! :)

XBox 360 and C# .Net WILL be Available Soon!


A little while ago if you typed "C# Xbox 360" into Google I was the number 1 result.  I got a lot of hits each day for this query and I didn't know why.  It turns out I was one of the only people talking about it.  At the time I said, there is no way there will ever be C# on an Xbox 360 and if there was there would never be a Hobby Homebrew version.

When Microsoft announced that they were have made a CLR for the XBox 360 I still said there was no way that they would ever release it to the General Public

How wrong was I!!

Microsoft have announced that on the 30th August 2006 they will be releasing an Express Version of Visual Studio 2005 that will allow you to create and run content for the XBox 360.  The Dev kit will nominally cost $99 per year but that is supposed to enable you to create/test and publish the game to other people who are hobby developers.  There are some caveats that need to noticed, such as only non-commercial content can be created and also there is currently no network support.  But other than that, this looks amazing.

I am going to have to buy a 360, then an Xbox Live account and then the developer account. :)

I have seen some great resources already on this:

tags: , , , , , , ,

Google Adsense in the UK

If like me you live in the UK and you also have a Google Adsense account, keep the money in the account until the $/£ exchange rate comes down a bit.  I got my first payment from Google and the money I got for it was pitiful (especially considering it took me a year to get up to the limit).

Aditionally, I also belive if you are an advertiser in the UK you are also getting done by, 1p > 1c by almost twice as much.  Therefore unless Google opperate an exchange rate program where my advertising gets a higher prominence than the equivilant "centage" advert then us UK advertisers are getting a raw deal.

So for now I have suspended my adverts that I sell and I am going to keep the money in the Google account for longer if I ever recieve another payment.

tags: , , ,

Windows Live Writer

I am writing this through Windows Live Writer.  There is a lot of talk on blogs about this at the moment.

I must say initially I am quite impressed.  Whilst editing this post it is using the colours and styles of my site.

The applications appears to be extendable, using an SDK.  I am not sure as to what is involved in writing an extension but it should be fun. More information about extensions can be found at http://dev.live.com/blogs/devlive/archive/2006/08/...

The speed of the application is quick.

The only other thing is that it appears to have the functionality that most other Blogging tools have so it is already well equipped. 

I have not noticed any bugs.  It even works correctly on this Blogger account that is stored on my server. 

I am going to have a play with some of the pluggins to see what they can do.