. 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

Monday, January 29, 2007

Technorati Claim Fix, Please Ignore

Technorati Profile

Easy HTML Screen Capture in Windows

For a while I have been thinking about how to capture the output of IE into a Bitmap or other image format.  The attempts that I have done normally center around hosting an IE control on a WinForm and then render the page inside the control and then capture the output.  This however seems to be pretty hairy, I could never get it to work after the initial screen capture.

It just so happens that the WindowsLiveWriter API has an object called HtmlScreenCapture. 

HtmlScreenCapture is really simle to use.  The code below captures the webpage and renders it to a picture box that I have on my WinForm.

Uri uri = new Uri("http://www.kinlan.co.uk/");

WindowsLive.Writer.Api.HtmlScreenCapture hsc = new HtmlScreenCapture(uri, 800);
pictureBox1.Image = hsc.CaptureHtml(1000);

You can import the WindowsLiveWriter API into your project by finding the WindowsLive.Writer.Api.dll file in the WindowsLiveWriter install directory.

Obviously, WindowsLiveWriter is still beta as of Jan 2007, so they may remove this API.

Anyway it is really simple to use, so anyone could create an imaging service in minutes, much like http://www.websnapr.com/ can.

 

Friday, January 05, 2007

Wii, oh Wii did I cancel my Wii

A couple of months ago I pre-ordered a Nintendo Wii on Argos, however I cancelled the order..... which was a silly thing to do because it meant that I have not been able to find one since the launch in the UK.  Everyone else in work got theirs and have been talking about how cool it is, and all I could do was wobble my bottom lip and long for a Wii, that is until now!

I got mine yesterday (5th Jan 2007) from Asda in Aintree, Liverpool.  They had 3 in stock at the time. I also bought the last Wii Play that they had.  I only got it by chance, I decided to ring around some shops like Game (they are rubbish, they never answer the phone and are pretty rude most of the time when you do get a chance to speak to them) and Game Station, it was only a fluke that I thought I might try Asda.

I got the box home and set the box it up later that night and we played on it for an hour or two.  I absolutly love it,  I think it is a brilliant piece of kit, the Wiimote seems pretty accurate and the WiiSports graphics are really cute!  The graphics are not as good as the 360, but that doesn't matter because it appears to be all about the games.

I haven't set up the Wireless access yet because I need a wireless router! Doh :)

Nintendo have had a stroke of genius here, it is reported that they are making a profit on every piece of hardware that they sell unlike some of other Next Gen Consoles have at their launch, and they are sold out nearly straight away.

Anyway, I can't wait to get more games for it.  Let me know if you have any suggestions or know any cool links for Wii and i'll post it here.

Topicala Tags: , , , , ,