[Sample Of June 26th] How to add a hint text to a WPF TextBox

  Sample Download : http://code.msdn.microsoft.com/How-to-add-a-hint-text-to-ed66a3c6 This is a code snippet project. It will show you how to add a hint text to a TextBox in WPF applications. Many customers encounter problems when they try to implement such a function.  You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft…

0

[Sample Of June 24th] How to inject javascript code into WebBrowser in Windows Forms applications

  Sample Download : http://code.msdn.microsoft.com/How-to-inject-javascript-f3970459 This is a code snippet project which will show you how to inject JavaScript code into a System.Windows.Forms.Webbrowser control in Windows Forms applications.  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…

0

[Sample Of June 19th] How to change the content type of Windows Azure blob storage

  Sample Download : http://code.msdn.microsoft.com/How-to-change-the-content-605b3df5 This code snippet shows how to change the content type of Windows Azure blob storage. In some cases, a lot of media files stored on blob are in different formats – mp4, image file, etc. Sometimes, all these files are set as one content type: application/octet-stream, which causes issues in…

0

[Sample Of June 18th] How to use blob snapshots to restore a blob storage in Microsoft Azure

  Sample Download : http://code.msdn.microsoft.com/How-to-use-blob-snapshots-b7b45eac A snapshot of a blob has the same name as the base blob from which the snapshot is taken, with a Date Time value appended to indicate the time at which the snapshot was taken. For example, if the page blob URI is http://storagesample.core.blob.windows.net/mydrives/myvhd, the snapshot URI will be similar…

0

[Sample Of June 16th] How to get all snapshots of a blob storage in Windows Azure

  Sample Download : http://code.msdn.microsoft.com/How-to-get-all-snapshots-ce1193cf This code snippet shows how to get all snapshots of a blob storage in Azure.  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 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 June 12th] How to add a sub-domain binding to Azure WebSite Programmatically

  Sample Download : http://code.msdn.microsoft.com/How-to-add-a-sub-domain-bc87b905 When you create a web site, Windows Azure will provide a friendly subdomain on the azurewebsites.net domain so your users can access your web site using a URL like http://<mysite>.azurewebsites.net. However, if you configure your web site for Shared or Standard mode, you can map your web site to your…

0

[Sample Of June 9th] How to enumerate and locate specific attach storage devices

  Sample Download : http://code.msdn.microsoft.com/CppStorageEnum-90ad5fa9 The code sample demonstrates the use of DeviceIoControl and SetupDiGetClassDevs in the everyday operations of enumerating and locating specific attach storage devices.  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…

0

[Sample Of June 5th] How to view word document in WPF applications

  Sample Download : CS Version: http://code.msdn.microsoft.com/CSVSTOViewWordInWPF-d0619184 VB Version: http://code.msdn.microsoft.com/VBVSTOViewWordInWPF-2a24be0e The Sample demonstrates how to view word document in WPF applications. WPF does not support to view Word documents directly but some customers want to show word document in WPF. So we can use WPF DocumentViewer control to host fixed document such as XPS document….

0

[Sample Of June 4th] How to retrieve the Volume GUID of the Cluster Disks

  Sample Download : http://code.msdn.microsoft.com/CppClusterDiskDetails-ef261cc2 This sample demonstrates how to retrieve the Volume GUID of the Cluster Disks. 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 samples…

0