Start8 for Windows 8

Well it was bound to happen!

Stardock have created an application that inserts a Window’s start button into the Windows 8 task bar.  Engadget are reporting Stardock have sold ‘tens of thousands’ of copies of the app. So congratulations to Stardock :) The app is only $5 (a very sensible price!) so if you are missing the start button I suggest you go and grab a copy.

Before Stardock Start8

After Stardock Start8

For more information visit Stardock’s official Start8 page.

jsFiddle.net – simple, fast and very useful!

A tool I have found really useful for throwing together quick examples of HTML5/JavaScript is jsFiddle.net. It was built by Piotr Zalewa and designed by Oskar Krawczyk. It’s a browser based tool that has 4 panes allowing you to enter HTML, CSS, JavaScript and when you run your work it outputs the result in the fourth pane.

You can also select additional frameworks that you would like to include such as jQuery, Mootools, three.js.

Try it out :-)

jsFiddle.net interface

HTML5 Sample jsFiddle.net (Mouse Events)

Windows 8 Developer Camp Slides

Here are the slides from the Windows 8 Developer Camp I recently attended

[gview file=”http://allanmuller.co.uk/wp-content/uploads/2012/05/Agenda.pdf” authonly=”1″]

[gview file=”http://allanmuller.co.uk/wp-content/uploads/2012/05/Overview_MikeT.pdf” authonly=”1″]

[gview file=”http://allanmuller.co.uk/wp-content/uploads/2012/05/Views_MikeT.pdf” authonly=”1″]

[gview file=”http://allanmuller.co.uk/wp-content/uploads/2012/05/ControlsBinding_MikeT.pdf” authonly=”1″]

[gview file=”http://allanmuller.co.uk/wp-content/uploads/2012/05/Media_MikeT.pdf” authonly=”1″]

[gview file=”http://allanmuller.co.uk/wp-content/uploads/2012/05/PLM_MikeT.pdf” authonly=”1″]

 

Create WinRT Component DLL in C#

There are loads of tutorials on how to create a WinRT Component DLL in C++ but there aren’t many on how to do this with C#. In fact it is pretty simple:

Step 1: Add a C# Class library project to your solution

Step 2: Right click on the new project you have just added and go to properties.

Step 3: Change the output type from ‘Class Library’ to ‘WinMD File’.

Change from Class Library

Change to WinMD File

Step 4: Ensure your class inside the newly created Class Library is sealed. The Windows Runtime classes you create must be sealed.

Make sure you set your class to sealed

Windows 8 Account types

To use Windows 8 you must have an account to log in with. There are 3 types of accounts on Windows 8.

  1. Local Accounts – These are local accounts only accessible on the local device.
  2. Domain Accounts – These are accounts created and controlled by Active Directory.
  3. Microsoft Accounts – Previously known as Windows Live ID. These accounts sync your settings with any machine you log into.

For further details on Microsoft Accounts you will find this post interesting – http://blogs.msdn.com/b/b8/archive/2011/09/26/signing-in-to-windows-8-with-a-windows-live-id.aspx

Installing Windows 8 Consumer Preview on VirtualBox

Today I spent an hour installing Windows 8 Consumer Preview (CP) on my laptop using Oracle VirtualBox. Before you begin installing Windows 8 download Oracle VirtualBox and either the Windows 8 consumer preview 32-bit or 64-bit ISO.

Windows 8 Consumer Preview ISO

Once you have downloaded VirtualBox and an ISO follow the set-up steps below.

Step 1: Launch VirtualBox and click the ‘new’ button.

VirtualBox running

Step 2: In the wizard enter a name for your virtual machine. I used ‘Win8 CP’. Select an OS and version from the dropdown’s.

Name Virtual Machine and Select OS type

Step 3: Allocate memory for the virtual machine. I ended up giving my virtual machine 2GB’s.

Allocate memory for the virtual machine

Step 4: Create a new virtual hard disk.

Create a new virtual hard disk

Step 5: Choose a file format for your virtual hard disk.

Virtual hard disk format

Step 6: Give your virtual hard disk a name and a maximum size. For Win8 32-bit select 20GB for 64-bit select 25GB.

Set size of virtual hard disk

Step 7: Review your virtual hard disk settings before creating it.

Review settings before creating virtual hard disk

Step 8: You should now see your virtual machine listed in VirtualBox. Simply click ‘Start’ to run your virtual machine.

New virtual machine listed in VirtualBox

Step 9: When you run the virtual machine for the first time you will see a wizard. Click next.

Click next on First Run Wizard

Step 10: Select a installation source. As we are installing Windows 8 consumer preview select the .ISO you downloaded earlier. Then click next.

Select Win8 ISO

Step 11: You will see a Windows 8 install screen. Select your locale and click next.

Select locale for Windows 8

Step 12: Click ‘Install now’.

Windows 8 Install Now

Step 13: Enter your product Key (if you don’t have one you can use the one in the picture).

Windows 8 Product Key

My product key

 Step 14: Accept the Windows 8 terms & conditions.

Windows 8 Terms

Step 15: Choose Custom install.

Custom install

Step 16: Installation begins.

Installation starts

Step 17: Windows 8 starts running.

Setup is updating registry settings

Step 18: Windows 8 is installed and running. This is the new Metro interface.

Windows 8 is running!