[Sample Of July 3] How to check the state of Caps Lock in Windows Store apps

Sample : C#/VB/C++: http://code.msdn.microsoft.com/How-to-check-the-state-of-9c638a67 JavaScript: http://code.msdn.microsoft.com/How-to-check-the-state-of-315ce20b   This code snippet demonstrates how to check if the Caps Lock is off or not. The CoreVirtualKeyStates offers us 3 states. We can check if a key is in pressed down state, in modified state or in no specific state. When we press down the Caps Lock key…

0

[Sample Of June 15th] How to save WriteableBitmap to image file in Windows store apps

  Sample Download : http://code.msdn.microsoft.com/How-to-save-WriteableBitmap-bd23d455 This code snippet project will show you how to save a WriteableBitmap object to an image file in Windows Store apps.   You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give you…

0

[Sample Of May 5th] How to apply an "Opacity Mask" to an image in Windows Store apps using Direct2D

  Sample Download : http://code.msdn.microsoft.com/How-to-apply-an-Opacity-09c2a28c This code sample will show you how to apply an “Opacity Mask” to an image in Windows Store apps using Direct2D . Note: This sample is based on James Dailey’s blog article: http://blogs.msdn.com/b/wsdevsol/archive/2014/03/20/how-to-apply-an-opacity-mask-to-an-image-by-mixing-xaml-and-direct2d.aspx   You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code…

1

[Sample Of Apr 23rd] How to download and extract zip file in Windows Store apps

  Sample Download : http://code.msdn.microsoft.com/How-to-and-extract-zip-a4794b24 This code sample will show how to download and extract zip files in Windows Store apps.   You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search…

0

[Sample Of Apr 13th] How to check if a file or folder exists in the local storage in Windows Store apps

  Sample Download : http://code.msdn.microsoft.com/How-to-check-if-a-file-or-2f9357be This code snippet will show you how to check if a file or folder exists in the local storage in Windows Store apps. Use the StorageFolder.TryGetItemAsync method to try to get a file or folder by name, without the need to add error-catching logic to your code (like you would…

0

[Sample Of Mar 2nd] How to delete entity from Windows Azure Table storage in a DropDownList Control

  Sample Download : http://code.msdn.microsoft.com/How-to-delete-entity-from-a12dfd1f Deleting or retrieving an Azure Table Entity needs both partition key and row key. But when using ASP.NET, you probably won’t store the entire entity information. After binding the table entities to a data binding control, you may lose its partition key and row key when page is posted back. This code snippet…

0

[Sample Of Feb 23rd] How to operate table storage from Windows Store apps by using Windows Azure Mobile Services

  Sample Download : http://code.msdn.microsoft.com/How-to-delete-entity-from-a12dfd1f This code snippet will show you how to use Windows Azure Mobile Services to operate table storage from Windows Store apps.  You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give…

0

[Sample Of Feb 17th] How to share data between Javascript files in Windows Store app

  Sample Download : http://code.msdn.microsoft.com/How-to-pass-data-from-one-d6b6401e This sample demonstrates how to share data between Javascript files in Windows Store app. You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download…

0

[Sample Of Feb 16th] How to bind data to WinJS.ListView dynamically in Windows Store app

  Sample Download : http://code.msdn.microsoft.com/How-to-bind-listView-75dea520 This sample demonstrates how to bind data to WinJS.ListView dynamically in Windows Store app.  You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download…

0

[Sample Of Jan 5th] How to use HttpClient to post Json data to WebService in Windows Store apps

  Sample Download: http://code.msdn.microsoft.com/How-to-use-HttpClient-to-0b09ba93 ​The sample demonstrates how to use the HttpClient and JsonObject class to post JSON data to a web service. It’s easy to achieve this in WinJS realm.  But there is no example shows how to do this using HttpClient in C++ language.  You can find more code samples that demonstrate the most…

0