[Sample of Nov 30th] List files in directory in .NET

  Sample Download : CS Version: http://code.msdn.microsoft.com/CSListFilesInDirectory-3b2430dc VB Version: http://code.msdn.microsoft.com/VBListFilesInDirectory-6c5ea8b8 This code sample demonstrates how to implement an IEnumerable<string> that utilizes the Win32 File Management functions to enable application to get files and sub-directories in a specified directory. The FileEnumerator class in this sample project solves a common problem in the System.IO.Directory.GetFiles method – if a…

0

[Sample of Nov 29th] Crop bitmap in a Windows Store app

  Sample Download : CS Version: http://code.msdn.microsoft.com/CSWin8AppCropBitmap-52fa1ad7 VB Version: http://code.msdn.microsoft.com/VBWindowsStoreAppCropBitmap-d1d416f5 This sample demonstrates how to crop bitmap 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…

0

[Sample of Nov 28th] Get desired result by AJAX calls

  Sample Download : CS Version: http://code.msdn.microsoft.com/CSASPNETGetDesiredResultByA-b311498b VB Version: http://code.msdn.microsoft.com/VBASPNETGetDesiredResultByA-ca8db826 The sample code demonstrates how to use Render event in ASP.NET page’s life cycle to return desired text results. 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…

0

Microsoft Channel 9 Interviews Mei Liang to Introduce Sample Browser Extension for Visual Studio 2012 and 2010

This morning, Microsoft Channel 9 interviewed Mei Liang – Group Manager of Microsoft All-In-One Code Framework – to introduce the newest Sample Browser extension for Visual Studio 2012 &2010.   This extension provides a way for developers to search and download more than 4500 code samples from within Visual Studio, including over 700 Windows 8 samples…


[Sample of Nov 27th] Dynamically build lambda expression

  Sample Download : http://code.msdn.microsoft.com/CSDynamicallyBuildLambdaExp-d75a695b This sample demonstrates how to dynamically build lambda expression and show data into DataGridView Control. It shows multiple conditions jointing together and dynamically generate LINQ TO SQL. LINQ is a great way to declaratively filter and query data in a Type_Safe,Intuitive,and very expressive way. For example, the search feature in this…

0

[Sample of Nov 26th] C++ Windows app uses WM_COPYDATA for IPC

  Sample Download : http://code.msdn.microsoft.com/CppSendWMCOPYDATA-f75bc681 This code sample demonstrates sending a custom data structure (MY_STRUCT) to the receiving Windows application (CppReceiveWM_COPYDATA) by using SendMessage(WM_COPYDATA). If the data structure fails to be passed, the application displays the error code for diagnostics. A typical error code is 0x5 (Access is denied)caused by User Interface Privilege Isolation (UIPI)….

0

[Sample of Nov 25th] Use Silverlight along with SharePoint

  Sample Download : http://code.msdn.microsoft.com/CSSharePointSilverlightInte-88fd7b56 The code sample demonstrates how to use Silverlight along with SharePoint.  A Silverlight application can be hosted inside a SharePoint site and it is called as a Silverlight WebPart. You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser…

0

[Sample of Nov 23rd] Windows Forms localization demo

  Sample Download : CS Version: http://code.msdn.microsoft.com/CSWinFormLocalization-59675a87 VB Version: http://code.msdn.microsoft.com/VBWinFormLocalization-966546b3 The Windows Forms Localization sample demonstrates how to localize Windows Forms application.  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…

0

Happy Thanksgiving! Thank you from Microsoft All-In-One Code Framework

Nov 22 is Thanksgiving in U.S.  This is a holiday where we are thankful for the people and circumstances in our lives.  It is a good time to say thank you.  We are deeply grateful for your supports and helps.  You, our readers, the project authors, the people behind the scenes, the sponsors, and our…


[Sample of Nov 22nd] Disable script after execution in ASP.NET

  Sample Download : CS Version: http://code.msdn.microsoft.com/CSASPNETDisableScriptAfterE-8bf228fd VB Version: http://code.msdn.microsoft.com/VBASPNETDisableScriptAfterE-7b6d469c The sample code illustrates how to register script code at code behind and to be disabled after execution. Sometimes users who register scripts do not want them execute again, Actually they with to achieve this either in an automatic manner or by imitating an action…

0