May 19 2012

Metro Apps in C++ anyone?

Category: .code,.microsoft,.ms.futureAmit Bahree @ 8:35 am

In Visual Studio “11” when I try and create a new C++ Metro app using the built-in template, I get the following error: “Can’t find localized resources”.

I wonder if anyone else has managed to get around this? I am running the Consumer Preview Build of Win 8 (Build 8250).



Tags: , ,

Apr 25 2012

SkyDrive, Windows 8 and Domain Account

Category: .microsoftAmit Bahree @ 7:18 am

I am running Windows 8 on my primary work machine now, which is domain joined. When I try and use the SkyDrive metro app (which ships with Windows 8), it does not like that fact I am domain joined and wants me to switch accounts, which is something I don’t want to do. This of course works great for those who are not domain joined and essentially are personal machines. For many of us who will be using this on ‘work’ machines, this seems like we will be ignored.

Of course I can install the desktop app, but that is not Metro and I am then in the ‘old’ world. Also the free 25 GB has now dropped to 7 GB, if you already have a Live account, I suggest you login and upgrade your account back to 25 GB for free!



Mar 06 2012

Enabling Win 8 Metro on a Netbook

Category: .microsoftAmit Bahree @ 3:43 am

When you install Win 8 on a Netbook the screen resolution would be too low for Metro apps to run which is a bummer. One way to get around this and “fix” this is to update the registry (and you thought that was so XP!) :).

Run Regedit and search for “display1_downscalingsupported” (without quotes). Find all occurrences of this entry and change its value from 0 to 1.

Reboot when finished and you should have more options on your Screen Resolution choosing which will allow you to run Metro. 🙂


Jan 10 2012

15 Year of Microsoft at CES

Category: .lol,.microsoftAmit Bahree @ 7:55 am

Tags: ,

Nov 01 2011

Productivity Future Vision

Category: .drool,.microsoftAmit Bahree @ 6:34 pm

Microsoft’s productivity future – how cool is this?

Tags: ,

Jun 17 2011

Kinect SDK

Category: .geek,.microsoftAmit Bahree @ 2:58 am

Microsoft recently release the Kinect SDK which allows you to implement a Natural User Interface and program against it! There is a lot of interest  around including claims on how Robotics will change to how you can integrate a light sensor.

You can use Visual Studio (C++, C# and VB.NET supported) and get quite interesting results.

Here are a series of links below which will help you get started.

  1. Download and install the Kinect SDK
  2. Download and install Quickstart Samples and Slides (zip file)
  3. Understanding the Kinect hardware
  4. Setting up your Dev Environment
  5. Understanding the basics of skeletal tracking using the Kinect sensor
  6. Understanding camera fundamentals
  7. Understanding the audio fundamentals
  8. Playing with the Coding4Fun Kinect toolkit and seeing how one can build cool apps such as:

Keep and eye out on the Coding4Fun Kinect blog.

Tags: ,

Jun 14 2011

Debugger Canvas–Quick Tour

Category: .microsoftAmit Bahree @ 5:23 am

Debugger Canvas is a new user experience for the debugger in Visual Studio Ultimate. It pulls together the code you’re exploring onto a single pan-and-zoom display. As you hit breakpoints or step into code, Debugger Canvas shows just the methods that you’re debugging, with call lines and local variables, to help you see the bigger picture.

Check out the quick demo below to see what it is capable of and read up on the guide on how to use it.


Jun 03 2011

Windows 8 Demo

Category: .microsoftAmit Bahree @ 5:10 am

One word – WOW!


May 27 2011

Using cached domain (active directory) credentials or not?

Category: .microsoft,.tipsAmit Bahree @ 5:39 am

If you are ever in a situation where you want to find out if you logged into using cached domain credentials (AD) or authenticated against the domain controller then the easiest way is to open Event Viewer and look for the entry where the source is NETLOGON and Event ID 5719.

The description would be something like:

Log Name:      System
Source:        NETLOGON
Date:          27/05/2011 08:53:17
Event ID:      5719
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      YOUR-Full-Qualified-Computer-Name

This computer was not able to set up a secure session with a domain controller in domain YOUR-DOMAIN-NAME due to the following:
There are currently no logon servers available to service the logon request.
This may lead to authentication problems. Make sure that this computer is connected to the network. If the problem persists, please contact your domain administrator. 

If this computer is a domain controller for the specified domain, it sets up the secure session to the primary domain controller emulator in the specified domain. Otherwise, this computer sets up the secure session to any domain controller in the specified domain.

Here is a screenshot (on Win 7) showing a (filtered) view of the same event.


Tags: ,

May 26 2011

Troubleshooting WCF Performance – Part 1

Category: .code,.microsoft,.wcfAmit Bahree @ 12:39 pm

More related details on Dustin’s post – WCF scales up slowly with bursts of work.

Tags: , ,

May 26 2011

How to create a Mini Dump?

Category: .microsoftAmit Bahree @ 9:58 am

If you ever want to get a Mini Dump of a process (of course for debugging purposes) the easiest way to do so is to use Task Manager (or use Sys Explorer). Just find the process you are interested in, right click and select “Create Dump File” and voila.

One thing to be careful – make sure you are using the same version of the Task Manager (or Sys Explorer) as the process. For example if your process is x32 (and you are running on a x64 system), then make sure you are using x32 version of Task Manager and not the x64 as that will cause issues.

Creating a mini dump


Mar 02 2011

Upgrading through every version of Windows

Category: .geek,.microsoftAmit Bahree @ 11:39 pm
Upgrading through *all* versions of Windows from v1 thru to Win7.

Tags: ,

« Previous PageNext Page »