Category Archives: windows

Amazon.com sales stats snapshot shows why Microsoft is reinventing Windows

Anyone who questions the need for Microsoft’s radical reinvention of Windows need look no further than Amazon’s sales stats.

I was on Amazon.com checking out the specs for Samsung’s new Ativ slate, and happened to click the link for best sellers in Computers and Accessories.

On the morning of 17th October 2012, here is how the top 20 looked:

  • Six Android tablets including Samsung Galaxy Tab at number 1 and Google Nexus 7 at 3
  • Four varieties of Apple iPad at number 4, 7, 9 and 13
  • Two Apple MacBooks (Pro and Air) at positions 2 and 16
  • One solitary Windows laptop at number 10 (Dell Inspiron).

A mix of networking devices, screens and accessories make up the other eight places; I chose the entire sector because it puts tablets and laptops alongside each other.

image

This is not about price. That Dell laptop is $429.99, little different from the 16GB iPad 2 at $399.99 and 42.5% of the cost of the MacBook Pro.

Windows still outsells the Mac overall. Gartner gave Apple just 13.6% of the US PC market (excluding tablets) for the third quarter of 2012. However, Windows is boosted by large corporate sales, where the Mac is still a minority taste; Amazon is largely a consumer vendor.

Further, Amazon’s figures change hourly and I may have hit a low spot; check out the current list yourself.

Finally, the large number of Windows laptops on offer dilute the ranking of any one – though there are a lot of Android tablets on sale too.

For Microsoft though, this is still a worrying list to see. Today’s Windows 7 devices are not what consumers want. Reinventing Windows for tablets was the right thing to do – though that does not, of course, prove that Windows 8 will succeed. Windows 8 pre-orders are not high on the list either – and yes, they are on the list; the Samsung Ativ convertible is currently at 60.

Microsoft Surface is coming: Windows, but not as you know it

Today Microsoft showed full details and prices for its Surface RT tablet with an ARM processor – an Intel variant is to follow – and you can order now.

image

Surface is a distinctive device. Here are the key points:

  • Surface RT runs an NVidia ARM chipset – which means not one of your existing Windows 7 or earlier apps will run. Only new Windows Store (Metro-style) apps can be installed.
  • Microsoft Office 2013 comes preinstalled. It is the Home and Student edition, no Outlook and no license for commercial use, though individuals who use it for work are unlikely to be pursued. Businesses will need to cover Office usage with a volume license.
  • This is a true tablet. There are two different styles of keyboard cover, but it is designed for touch control. How successful this is for Office is moot (and we have not yet seen the final Office 2013) but it should at least be tolerable.

I doubt you will buy Surface RT for its specs: not bad, but not special either:

  • 10.6″ 1366 x 768 display (no Retina claims here)
  • 5-point multitouch
  • 2GB RAM
  • 1.5lbs weight – pretty lightweight
  • Wifi and Bluetooth but no 3G or 4G
  • Front and rear 720p cameras
  • Two microphones, stereo speakers
  • USB 2.0 (not 3.0)
  • MicroSDXC card slot (a nice differentiator from the Apple iPad)
  • 32GB or 64GB built-in storage
  • HD video out
  • Sensors: ambient light, accelerometer, Gyroscope, Compass
  • Estimated 8 hour battery life – a bit disappointing, but decent

On the plus side, this should be the most reliable Windows yet. With desktop application installs blocked and only sandboxed Windows Runtime apps allowed, there is little opportunity for badly behaved applications or OEM foistware to foul up the system.

Surface RT realises the Windows 8 vision more fully than the Intel models, which are less efficient, less secure, and odd hybrids of old and new Windows. There is still a desktop in Surface RT, but it is limited and it would not be surprising if it disappears in future versions.

This means that Surface RT is in some respects better than the x86 Surface Pro which is promised at a later date. Surface Pro is heavier (up to 2lbs total), more power hungry, does not come with Office bundled, and will not be as secure. Further, Surface Pro will have greater need of keyboard and mouse thanks to those old desktop applications that users will install. I know which one I would rather take on a plane.

The problem with Surface RT: the Windows Store currently has around 3000 apps, most of them trivial and/or poor. How viable is Surface RT right now for getting all your work done when on the road?

That is an open question, and makes this a risky purchase for most users right now.

Then again, with Office, a web browser and a remote desktop client you are covered for many needs.

As the Windows 8 app ecosystem matures, Surface RT will get correspondingly more attractive. If Microsoft has got the design right (and early reports are good) this could be the ideal device for work and play. I want one.

Windows 8 survival guide for touch and tablet users

Many features of Microsoft’s new Windows are designed for touch control on tablets – or perhaps a touch screen on your desktop or laptop. If you have one of those, congratulations: you are set to get the best from Windows 8. Even so, finding your way around does take a bit of time to learn, thanks to some non-obvious features. Here is a brief survival guide for tablet and touch users – if you only have keyboard and mouse see here. If you have a hybrid with both, I suggest reading both survival guides; some things are easier with a keyboard and mouse.

That said, I have found that almost anything can be accomplished with touch alone; and it is worth persevering since it gets easier with practice. A slate without a keyboard is smaller and more convenient that a laptop or slate with loose keyboard. The exception: if I need to type a lengthy piece, a keyboard is worth the inconvenience.

I am mostly avoiding third-party utilities. This is for out-of-the-box Windows 8.

Options are shown a, b , c etc where they are alternatives. Steps are shown as 1, 2, 3 where needed.

How do you right-click an icon without a mouse?

In the Desktop, you can do the equivalent of a right-click by tapping and holding an item until a rectangle outline appears under your finger. Release to show the right-click menu (context menu).

How do you type in a desktop app when the keyboard does not appear?

Tap the Touch keyboard icon in the notification area at bottom right of the screen.

image

How do I stop the keyboard covering what I am typing in a desktop app?

Very annoying and I do not have a perfect solution. One option is to dock the on-screen keyboard by tapping the dock icon at top right of the keyboard:

image

In this mode, it will not overlap any apps. I find it annoying though since you now have a short screen, and when you hide the keyboard apps remain in the position the keyboard pushed them to, so I have to resize them.

Tap the icon when docked to undock.

My tip: try typing in portrait mode. Docked or undocked, this gives you a better chance of not having to type into the void.

How do you get back to the Start screen?

a. The Start menu is a now a full-screen Metro application. You can find it in several ways. Press the Windows key, which is present even on tablets as the solitary key under the display.

b. You can also swipe in from the right to display the Charms bar, then tap Start.

image

c. A third way is to swipe in from the left and then immediately out again. This brings up the app history bar. Tap the Start tile at the bottom.

How do I organize the Start screen into groups?

The new Start screen is not hierarchical, but does support named groups. Two things you need to know:

1. To create a group, tap on a tile and drag up slightly as if you were going to flick to select, but don’t lift your finger. An outline appears on the tile and you can drag a tile right or left until it passes a grey vertical bar. Release to start the new group, or drag further to add to a different group. You can drag past the end of the screen to have further groups scroll into view.

image_thumb1

Add further tiles to a new group by dragging them under one of the existing tiles in the group.

2. To name and/or move the group, put two fingers on the screen and pinch inwards. This will zoom out. Now, flick up on the group you want to name. This selects the group. Then you can tap Name group to name or rename it.image_thumb4

3. To move a group, use the same technique you used to move a tile – flick up, but do not lift your finger. Now you can drag the whole group to a new position.

I turned my tablet on and the logon screen comes up, but it does not respond to touch.

I hope this never happens to you, but I have seen it regularly on a Samsung Slate and guess it may happen on other models too. The only solution I have found is to reset the machine. To do this:

1. Hold down the power button until the unit turns off.

2. Now hold does the power button again. When the unit seems to be turning on, keep the button held down. Eventually it will turn off again. Now it is completely off. Turn on again in the normal way, and your touch control should be OK again.

I have the Start screen or a Metro app running. How do I get to the desktop?

You can go back to the Start screen and tap the Desktop tile. There is a better way though. Unless you are already at the Start screen, it is quicker to raise the app history bar by swiping in from the left and then out again. Then tap the Desktop tile.

image

I’m in a Metro app running full-screen. Where are the menus and settings?

There are two places to look. To get menus, like the tabs and address bar in Metro Internet Explorer, swipe in from the top or bottom of the screen. To get settings, swipe in from the right to show the Charms bar, and tap Settings. The settings are contextual, so you will get the settings for the current app.

I’m in a Metro app. Where is the search function?

I was surprised to see reviews of the Wikipedia app bemoaning the lack of a search function. How could an encyclopaedia app not have search?

It does of course. It is just that it is not obvious where to find it.

The reason is that Windows 8 has a system search feature. You summon by displaying the Charms bar (swipe from the right) and tapping Search. Search defaults to the current app, but you can search elsewhere by tapping another option.

I’m in a Metro app running full-screen. How I can see the on-screen clock?

This annoys me as well. However, swiping in from the right will show it temporarily.

I’m in a Metro app running full-screen. How do I close it?

The idea is that you don’t normally need to close an app. Rather, you switch away from it, which you can do using techniques already described: swipe in from the left and immediately out again, to show the app history bar.

Metro apps may be hibernated when not in use, so they do not grab system resources in the way desktop apps sometimes do.

However, you might want to close an app because it is misbehaving, or just because you have a tidy mind. Swipe in from the left and out again to show the app history bar, then press on an app, do not lift your finger but drag it down and off the bottom of the screen to close it (throw it away).

I hate the “live tiles” in the start menu, how can you turn off all the flickering activity?

Yes, I’m not sure about them either. In the Start screen, flick up on a live tile so a tick appears in the top right corner. Then tap Turn live tile off at the foot of the screen.

image

There is also an option to remove personal data from live tiles. To get this, display the Start screen, move the mouse to the bottom right corner of the screen, then tap Settings – Tiles. Tap Clear.

image

How do I start an application when I can’t even see it in the Start screen?

Can be a problem. Before you give up though, there are a few things to try:

a. The quickest way to find an application is by typing a search. Display the Start screen. Swipe in from the right to display the Charms bar, and tap Search. Then type a few letters on the on-screen keyboard; all the matching applications are listed.

b. Swipe up in the Start screen and tap the  All Apps button that appears in the app bar. Swipe through the entire list to find an app.

c. Still can’t see it? Try showing Administrative tools. From the Start screen, swipe in from the right to show the Charms menu. Tap Settings, then Tiles, Show administrative tools.

d. If you are really stuck, you might need to use Explorer in the desktop to find the application in Program Files or Program Files (x86).

How do I switch between applications, since Metro apps do not appear in the taskbar?

Swipe in from the left and then immediately out to show the app history bar. This shows all the running Metro apps as well as the current Desktop app. It is not ideal because it does not show all the Desktop apps. Then again, you can use the taskbar as your switcher for Desktop apps so it is just about viable.

How do I shut down or restart the computer?

Swipe in from the right to show the Charms menu, then tap Settings and then Power.

image

This is somewhat hidden because Microsoft intends that normally power management, or shutting the lid on a laptop, or the soft power-off on a tablet, will be enough. Still, some of us like to turn the PC off completely.

How do I log off or switch user?

Go to the Start screen and tap the user name at top right to display a menu, including Lock, Sign out, and Switch account.

image_thumb211

Having two versions of IE is confusing. I keep losing track of which sites are open in which browser.

Agreed. One solution is to make Metro IE the default, so that Desktop IE rarely opens, though this is not ideal since some web sites only work properly in Desktop IE.

If you do want to do this. go to Control Panel, type Internet in the search box, and tap on Internet Options. Tap the Programs tab, and under Choose how you open links, select Always in Internet Explorer on the desktop. Finally, make sure Open Internet Explorer tiles on the desktop is NOT checked.

image

How can I avoid going back to the Start screen when I am working in the Desktop?

a. Make sure your usual applications are pinned to the taskbar and start them from there. If you use lots of applications, you can make it double-height to fit more on, or it will scroll.

b. Put more shortcuts on the Desktop and use Windows – D to bring up the desktop when you need it.

Where is control panel? The real one, that is.

If you have read this far, you should know several ways to find it.

a. Start screen, search apps, type “control”, tap Control Panel

b. On the desktop, swipe from right for Charms, tap Settings, Control Panel.

How do I play a DVD?

Windows 8 does not include a DVD player. However your PC may come with DVD playing software bundled by the PC manufacturer. If not, download Videolan (VLC) from here. It’s free, and DVDs will play fine.

How can I stop PDF documents opening in Metro?

Windows 8 is set up to open PDF documents in the Metro-style Windows Reader. It is not too bad, but can be annoying and does not have the range of features in the Adobe reader. To fix this, make sure that the latest Adobe reader is installed by downloading it from here. Once installed, tap and hold a PDF file until a rectangle outline appears, and release to show the context menu. Tap Open With and then Choose Default program.

image

In the dialog that appears, tap Adobe Reader:

image

Now PDF documents will open on the desktop in Adobe Reader.

Where has backup gone in Windows 8?

It’s still there, but for reasons best known to Microsoft it is now called Windows 7 File Recovery. Open desktop Control Panel, type recovery top right and tap Enter. Tap Windows 7 File Recovery.

image_thumb21

How do you run an application as administrator?

Go to the Start screen find the application icon and flick up to select. Then tap Run as administrator from the menu bar at the foot of the screen.

image_thumb3

How do you capture a screenshot without a keyboard?

Use the Snipping tool by searching the Start screen. Tap New to capture all or part of the screen.

image

Where is the alt key on the touch keyboard?

Microsoft has made every effort to prevent you finding the alt key (and a few other useful things like function keys) if you are using the touch keyboard.

Enabling these is a two-stage process. First, show the Charms menu, tap Settings, and then Change PC Settings. Tap General. and then under the heading Touch keyboard, select Make the standard keyboard layout available.

image

Now tap to show the touch keyboard and tap the keyboard icon at bottom right. This lets you select a keyboard mode such as the split keyboard. Select the full keyboard, second icon from the right in the screen grab below.

image

The touch keyboard now shows Alt, Fn and other useful keys.

Adapting the Items Page template in a Windows Runtime app

A while back I adapted a sample application in order to create an app for Windows 8. I am mulling over putting it in the Windows Store, but it needed some work. In particular, I wanted to add a Twitter feed to the front page. There is plenty of space:

image

Sounds easy; but inspecting the layout code I realised that I did not understand it all that well at first.

It is based on the Items Page template in Visual Studio 2012, and there is a fair amount going on in that template:

image

  • The contents are data-bound, which is great at runtime but inconvenient at design time as the page is empty.
  • The contents are layout-aware which means that they account for the four views possible in a Windows Runtime app: landscape, portrait, snapped, and filled. The “filled” name is a little misleading; this is an app which occupies most (but not all) of the screen when another app is snapped to one side.
  • The page uses resources and templates for its element styling, which are defined either in the page itself, or in StandardStyles.xaml which resides in the Common folder in your project (added automatically in projects which use the ItemsPage template).

It’s worth adding some dummy data early on so you can see what the page really looks like:

image

For example, imagine that you want to use a smaller item size that the default 250 x 250 size. Proceed as follows:

  1. Copy the DataTemplate called Standard250x250ItemTemplate from StandardStyles.xaml. Place it in the Page.Resources section of ItemsPage1.xaml (or whatever you called your ItemsPage). Rename it to, say, “MyItemTemplate”.
  2. Modify it to use a smaller size. You will probably want to adjust the bound elements as well, plus change the references to the standard Brush elements like  ListViewItemPlaceholderBackgroundThemeBrush as well.

Here is how the page looks with the space for the image removed, the DataTemplate height set to 50, and the height of the bound Title field set to 20:

image

Note that this template is not used by the Snapped view. For that, you will need to copy and modify the Standard80ItemTemplate, or make your own template suitable for an item in the Snapped view.

The code that determines which templates are used in which state is in the VisualStateManager.VisualStateGroups element. This has a Storyboard animation for the Portrait and Snapped views. The way this works:

  1. The default view is landscape. This is why in the XAML there is a GridView called itemGridView which is visible, and a ListView called itemListView which is hidden (Visibility="Collapsed").
  2. In the Snapped view there is only room for a single-column list, not the grid. Therefore the Storyboard for the Snapped view sets the itemListView to visible and the itemGridView to hidden.
  3. When you change back to a non-Snapped landscape view, the layout reverts to the default. Code for this in in LayoutAwarePage.cs, also in the Common folder.

After working this out I was better able to adapt my own page. More on that another time!

Will Windows 8 save the PC? Gartner reports 8% year on year sales decline

Gartner has reported on third quarter worldwide PC sales and they do not look good:

  • At 87.5 million units, they have declined 8.3% compared with the same quarter in 2011
  • HP is down 16.4%, Dell is down 13.7%. Lenovo managed 9.8% growth and is now number one with 15.7% of the market

Key quote: “The third quarter has historically been driven by back-to-school sales, but U.S. PC shipments did not increase, not even sequentially, from the second quarter of 2012. Channels were conservative in placing orders” said Gartner’s Mikako Kitagawa.

Gartner researchers add that ultrabooks have failed to turn round sales because they are not competitively priced. Worth noting when you look at the expensive hybrid docking tablets and convertibles vendors have come up with for Windows 8.

Gartner’s figures exclude “media tablets” such as the Apple iPad or Android tablets.

Of course you would expect a decline on the eve of the launch of Windows 8, as retailers clear their shelves, though Kitagawa says “On the professional side, there was minimum impact from Windows 8 in the quarter because the professional market will not adopt Windows 8 PCs immediately after the release.”

But will consumers rush to buy Windows 8 machines and make the next quarter boom? Let me throw out a few predictions:

  • Kitagawa is right about the professional market. We may see a few Windows 8 tablets show up among execs, but most companies will go the easy route and stick with Windows 7 for the time being.
  • The Windows 8 launch will be fascinating with cries of agony from some while others say it is rather good.
  • Time will be good for Windows 8 as the shock wears off and people learn how to use it.
  • Microsoft’s Surface will be a success and show Windows 8 at its best, though there will be confusion over lack of compatibility with desktop applications.

I am not sure though that this means a strong fourth quarter. Confusion over the new UI and vendors with over-complicated hybrid products will probably prevent sales from taking off immediately. Further, Windows 8 has to compete with Windows 7, which is already pretty good.

Broadly I reckon Microsoft is doing the right thing with Windows 8: reinventing the platform as a tablet OS while keeping faith with the past, on x86 at least.

I have doubts about some aspects of the Metro user interface and expect it will improve in later versions with some softening of the “immersive UI” religion that hides menus and toolbars so effectively that users think apps are broken, or have to click or tap twice when once should be enough – eg the back button in Metro-style Internet Explorer.

Even so, there are a few excellent new-style apps, more will come, and I expect the platform to succeed eventually.

Windows 8 usability: still a struggle for new users

Today I met with a professional software developer and at the end of the meeting brought out a laptop with Windows 8 installed. Had he ever used it? No.

This particular laptop has the RTM (Release to Manufacturing) build of Windows 8 and Office 2010 installed. I logged on with a new profile and put it in front of him. This was good, because Windows 8 ran its start-up sequence exhorting the user to “move your mouse into any corner” and showing the Charms menu.

image

This intro was not a success. My contact thought he was being instructed to move the mouse, but at this point in the start-up sequence, the mouse is disabled; it is a kind of pre-roll slideshow.

Microsoft would have done better to show a video of a user performing common actions.

Next, the Start screen came up.

image

The user soon found the Desktop tile and clicked it. I then asked him to run Word.

“Ah, no Start menu” he said. Then, being resourceful, he right-clicked the desktop and clicked “New Microsoft Word Document.” Next he double-clicked the new document.

Very good, I said, but now run Word without making a new document.

This was a struggle. Although the new Start screen is called Start, it was not obvious to him that this was in fact the Start menu and he looked for some other launcher on the desktop. He probably could have done something else clever like Ctrl-Alt-Del, Task Manager, File – New Task, but knew that was not what I was looking for.

It did not help that some quirk or bug in Office or Windows 8 meant that there were no shortcuts for Office showing by default in the Start screen. In other words, the Office apps were not “pinned to Start.” I had not intended this.

After some clicking around he stabbed the keyboard a few times which had the effect of performing random searches in the Start screen. This changes the view from big tiles to small tiles, quite disconcerting when you see it for the first time.

At this point I gave him some more help; once he got the idea of typing a few letters to find an application he was fine with it.

“What is the point of removing the Start menu?” he asked me.

I know the answer to that one. The purpose is not to trip up users like him; but nor is it to help him – though personally I do now find the Start screen a better launcher than the old Start menu.

Microsoft designed Windows 8 so that users cannot avoid the Start screen, which is the gateway to the new world of Windows Store apps.

Despite his uncertain start, my victim thought he would be fine with Windows 8 after a few days. I agree.

Nevertheless, most Windows users will have a few painful moments as they get used to the new user interface.

Users less steeped in the old familiar ways of Windows may actually find it easier. I have seen children using Windows 8 and having no problem with it.

Expect fireworks when Windows 8 goes fully public, and more users like David Gerwirtz declare:

… despite the operating itself being a marvel of engineering, ease of use, speed, and underlying functionality — I’m forced to say that it’s unusable for desktops out of the box. Un-frakin’-usable.

He is wrong. Even as a desktop operating system, with mouse and keyboard, Windows 8 works fine. Take the trouble to learn how to use it, and you will soon be just as productive as before.

Those first moments are hard though; and no doubt some will adjust quicker than others, and some will never adjust.

It is also true that while Windows 8 is just as productive as Windows 7, and probably a bit more productive, it is less coherent in its design, thanks to its split personality.

I understand why Microsoft removed the Start menu, but it seems to me the company could have done better in showing new users how to get going. Of course this is an opportunity for OEM vendors to show how they can add value, though history is not encouraging in this respect.

Windows 8 is a brave move for Microsoft; but remember this. Without the new tablet personality, Windows would be doomed to irrelevance in a few years. As it is, Windows is getting a new Start.

Visual Studio 2012 hits and misses

A few quick reflections after writing a rather large review of Visual Studio 2012, Microsoft’s development tool for everything Windows.

Several things impressed me. The Graphics Diagnostics Tools for Direct3D, for example, is amazing; you can capture a frame, select a pixel, and drill down into why it is the colour it is. See Amit Mohindra’s blog post here. Though admittedly I got “Unable to start the experiment session” on my first go with this; make sure the Debugger Type is set to Native Only.

image

Graphics is not really my area; but web development is more like it, and I continue to be impressed by what Microsoft has done with Windows Azure. You can go from hitting New Project in Visual Studio to an ASP.NET MVC 4.0 web site up and running on Windows Azure in moments. Even if you add an Azure SQL database into the mix it is not much harder. The experience is slightly spoiled by the fact that the new Azure portal for web sites etc is still in preview and seems to be a bit unreliable; I sometimes get an error when logging in and have to refresh before it works. That is a minor detail though; the actual deployed web sites and applications seem to work fine.

That said, it was also apparent to me that Microsoft’s Azure story has become a little confusing. Want an ASP.NET web app on Azure? Choose between a Web Role, a stateful VM, or a web site. Both web roles and web sites can be scaled quite effectively, thanks to the built in load balancer for web sites. Still, choice is good, as long as the differences are understood. It appears that Microsoft is still backing the web role approach as the most architecturally sound; but web sites are so easy to use and understand that it would not surprise me if they are more successful.

Another hit with me is the SQL Server Data Tools (SSDT), once I understood the difference between DACPACs and BACPACs – a DACPAC encapsulates the schema and logins etc for a database in a single file that you can import elsewhere, whereas a BACPAC also stores the data. The approach in SSDT is that a database schema is just a bunch of SQL scripts, and that if you manage it that way it makes a lot of sense in terms of version control, schema comparisons, deployment and maintenance.

On the ALM side I am impressed with Team Foundation Server Express, which is genuinely easy to install and lights up most of the key features of Microsoft’s ALM platform, though it does not handle the full SharePoint team portal or all the reporting features. Cloud hosting is also an option for TFS and that also worked OK for me, though with occasional delays as my code crossed the internet.

I hesitate slightly with TFS though. It feels like a heavyweight solution, whereas most developers like lightweight solutions. I know that open source tools like git and subversion only do a fraction of what you can do with TFS; but they also never keep me waiting.

I also wonder whether TFS simply creates too many artefacts. Work items seem to multiply rapidly as you use the system, which is good for traceability but could also become a bit of a bureaucratic nightmare if you have team members who make every action into a thing that needs comments and deadlines and links to source code and so on.

I guess it is like any other tool; it will work well for a team that already works well, but will not solve problems for a team that is already a bit dysfunctional.

I had not looked at Microsoft’s modelling featurs for a while; I was interested to discover new code generation features in the UML diagramming tools.

I am slowly beginning to understand what Microsoft is doing with apps for SharePoint. Get this: Microsoft is moving SharePoint 2013 towards being more of a service than a platform; you do not build apps on SharePoint; you build apps that use SharePoint services. This means you can at last develop SharePoint apps without having SharePoint installed on the same box as Visual Studio (thank goodness). And you can build SharePoint apps with PHP or Java as well as ASP.NET, because they are calling SharePoint, not running on it. Makes sense.

So what is not to like? There are a few puzzles, like the way Visual C++ has fallen behind in standards compliance despite the presence of Herb Sutter at Microsoft.

I also still find the whole XAML/Visual Studio/Blend thing a bit of a struggle. One day I will open up Blend, Microsoft’s XAML designer, and it will all fall into place as a natural and quick way to build a user interface, but it has not happened yet. I have also heard that developers should find the designer in Visual Studio enough; but at best it is rather slow and a little unpredictable.

Otherwise the tools for Windows Store apps seem decent to me, though I have heard that advanced developers are finding some issues; not surprising considering how new a platform it is. It is a distinctive platform, and my sense it that while there is a lot to like, developers need time to get the best from it, and there is also scope for Microsoft to improve it, maybe a few refinements in Windows 8 SP1?

Considering its scope, Visual Studio was relatively stable in my tests, though I did once get it into a state where it froze every time I tried to debug an application; fixed by a reboot (sigh).

I do not mind the monochrome user interface; I do not like it especially but it is something you get used to and do not notice after a short time.

Overall? Few people will use everything that is in Visual Studio and of course I have missed out most of it in the above, but it is a mighty achievement and still an asset to Microsoft’s platform.

All about Search in Windows 8: a feature every user has to understand

Windows 8 is a frustrating experience until you work out how Search works. Once it is discovered though, it is an elegant and powerful feature.

A confusing aspect of Windows 8 apps (on the tablet side) is that features such as menus and toolbars are hidden by default. There can be menu bars at top and bottom of an app, but you have to display them either by right-click or by swiping in from top or bottom. There is a philosophy behind this. Microsoft has called it the “immersive user interface”, one which puts content first and hides anything distracting.

Even this will not generally show Search though. Rather, Search is in the Charms bar, which you show by swiping from the right or pressing Windows key and C. There are also better shortcuts for Search, which I will come to in a moment.

When you click or tap Search in Windows 8, you are really in a kind of search centre. Take a look at the following screen, where I have displayed Search and typed “Keyboard”:

image

Note that the active search is restricted to Apps which have the word keyboard in their name. However, if you look at the right column, you can also see numbers: 25 against Settings, and 911 against Files.

This means Windows has found 25 settings for the keyboard, and 911 files. If you click or tap the different context, you see the new results.

image

Even this is not everything. The column below shows apps which have a search feature, such as Wikipedia, Store, Maps and Bing. If I tap or click Wikipedia, for example, I see encyclopaedia entries for keyboard.

image

Bing of course would give me an Internet search. Even Tunein Radio gives me results, and I can hear a broadcast about How does a QWERTY Keyboard work:

image

What this means is that the Search feature is a fast and efficient means of navigating the Windows user interface, finding documents and files, and discovering information from a variety of sources.

To get the most our of search, learn the following shortcuts:

  • Windows key and Q: Search apps
  • Windows key and W: Search settings
  • Windows key and F: Search documents and files

These shortcuts save you some clicks. If you use the mouse or Windows key and C to show charms, you have to then click or tap Search, and then choose the context you want. The shortcuts on the other hand get you a cursor ready to type your search. Search is incremental, so often just a few letters will do.

There is one subtlety. If you are  in the Start screen or on the Desktop and press Windows key and Q, you will search for an app by default. However, if you are in a Windows 8 tablet app, the shortcut will search within the current app by default. This is an inconsistency, and annoying if it comes up “This app can’t be searched”, but you can understand why it is designed that way. Otherwise, we would have four shortcuts to learn.

Appcelerator mobile developer survey shows Windows 8 progress, uncertainty

Cross-platform mobile tools vendor Appcelerator has released its latest mobile developer survey (in conjunction with IDC) representing the views of around 5,500 developers using its tools.

It is worth a read this time around. I was particularly interested to see what Appcelerator developers think of Windows 8, launching later this month. There is a chart showing the percentage of developers who are “very interested” in developing for various mobile platforms, and which shows Apple iOS leading at 85%/83% for iPhone and iPad, Android next, then HTML5, and then Windows 8 Tablets at 33% – already ahead of Windows Phone as well as Amazon and RIM devices (RIM has declined from 40% in January 2011).

image

The report says that potential Windows 8 developers are most interested in the “shared development capabilities between desktop and tablet promised by Microsoft with the launch of Windows 8.” I am not sure exactly what this means, and of course surveys like this are broad-brush and different developers will have meant different things. It could be about code sharing between desktop applications and Windows Runtime (WinRT) apps. It could be about the ability to run WinRT apps on the desktop as well as the tablet. It could be about Visual Studio and its ability to target multiple Windows platforms. However, the the survey goes on to talk about a “single paradigm for both desktop and tablet/smartphone applications” which seems to look forward to a future Windows where desktop applications really are legacy.

There is also a note that there were as many developers convinced that they will not be building apps for Windows 8 or Windows phone, as those who were.

What really counts is in the next paragraph in the report:

A large installed base of devices was the #1 criterion for 53% of developers when asked about why they choose to develop on a platform

This is the simple truth, which is why Microsoft has chosen a strategy which puts WinRT on every Windows 8 box whether or not it is really wanted.

The report also states that developers are dissatisfied with HTML5 for mobile applications, in terms of monetization, security, fragmentation, performance, and more. I suggest not taking too much account of this since Appcelerator’s Titanium tool is an alternative to HTML for mobile apps, so will have attracted those who do not want to use HTML5.

Finally, there is a fun section on what devices developers think they will be targeting in 2015. Televisions head the list, followed by connected cars. Most intriguing though are the final two: foldable screens and Google Glass. Apparently 67.1% believe Google Glass is in their future. Surveys, always entertaining but given the volatility of the results, not something you can rely on as a predictor.

A glimpse into the internal battles that set the future of Windows and .NET

A couple of posts from Hal Berenson give insight into the internal battles at Microsoft as the company worked out its strategy to rescue Windows from irrelevance in the world of mobile and tablets. Berenson is now President of True Mountain Group LLC but was formerly at Microsoft where his roles included SQL Server development and architecture, Mobile Development Tools strategy, and General Manager of Forefront identity and security products.

image

Berenson left Microsoft in October 2010, but by that time the strategy behind Windows 8 and Windows Phone 8 would have been in place.

According to Berenson, there were two core options for evolving Windows. There may have been others, but the heart of it is this: what to do with .NET. One option was to make .NET the app model for Windows, which is what was planned for the original Longhorn, before it was reset and became the less radical update that was Windows Vista. The other was to create a new app model based on native code. Steven Sinofsky, the Windows President, chose the latter, which is why .NET is only one of three options for programming the new tablet personality in Windows 8. This meant going down the opposite path from that of Windows Phone 7, which has an entirely .NET-based programming model.

You may recall from other sources that Steven Sinofsky has never been known to be a .NET fan.  While others within Microsoft, and even senior people in the (pre-Windows 8) Windows organization, wanted to move to an entirely .NET app model for Windows Steven did not.  He (and others fyi) wanted to re-engage the native code C++ developers that Microsoft had been neglecting.  And they wanted to co-opt the huge base of web developers to create apps for the Windows platform.  Well, what had the Windows Phone guys done?  They’d implemented a .NET only app platform.  Could the Windows Phone app platform evolve to address the native and web developers?  Sure.  But with no existing library of apps and a desire not to have .NET-centric platform at the core of Windows Sinofsky apparently felt pretty comfortable ignoring the Windows Phone team’s work.

This goes a long way to explain the puzzlement many of us experienced when it transpired that having created in Windows Phone 7 the basis for a touch-friendly operating system that could easily be extended to larger form factors such as tablets, Microsoft chose instead to do a new thing entirely for its tablet strategy.

One take on this is that Berenson’s account illustrates the chaos at Microsoft. Windows Phone was created in a mad hurry in reaction to the iPhone and the ascendance of touch UIs, reusing pieces of .NET, Silverlight and Zune to bring something to market quickly. Then the company’s next move was not to build on that, but to throw it away, even in the context of a mobile and device revolution that was and is a huge threat to its core business. And where was CEO Steve Ballmer in all of this?

The other take though is how this shows the determination and strategic focus of Windows boss Steven Sinofsky. He did not believe that rebuilding the Windows user interface on .NET would save it, with the Longhorn experiment no doubt a factor in that conviction, so he refused to go down that path again, despite the cost in terms of time and, perhaps more seriously, the impact on the developer ecosystem. Microsoft platform developers were asked first to bet on .NET and Silverlight, and now to bet on this new thing the Windows Runtime, and many are disillusioned or even angry. A hard decision; but putting long term strategy ahead of the immediate demands of your customers may be the right thing, in fact the only right thing.

Berenson also confirms what many of us have always assumed: that the removal of the Start menu on the Windows 8 desktop is all about making the new personality in Windows hard to avoid:

The Start menu, and indeed the entire desktop, are legacies that will have to be removed from Windows over time.  While the desktop itself is probably with us for a couple of additional major Windows releases (though there may be truly desktop-free editions sooner than that) the start menu was something that Steven has bet he could get away with not bringing forward into Windows 8.  By doing so he forces users to start living in the new usage paradigm rather than totally avoiding it.  Yes you can still set up a system to avoid leaving the desktop most of the time.  But you can’t avoid the new world completely.  In doing so he sets people up to eventually accept systems without the desktop at all (or at least Windows RT systems for personal use even if they need the desktop at work, for example).

Personally I no longer miss the Start menu; but its absence is certainly a barrier to adoption for Windows 8, as new users struggle to navigate the operating system.

Note: Berenson has kindly commented below. Note his point that merely working at Microsoft does not give you detailed knowledge of all decisions made there.