Microsoft All-In-One Code Framework - Site Home - MSDN Blogs

Microsoft All-In-One Code Framework

The Microsoft All-In-One Code Framework is a free, centralized code sample library provided by the Microsoft Community team. Our goal is to provide typical code samples for all Microsoft development technologies.
.
  • Microsoft All-In-One Code Framework

    [Sample of June 3rd] IE Browser Helper Object demo

    • 0 Comments
    Sample Download: http://code.msdn.microsoft.com/windowsdesktop/CSBrowserHelperObject-c5f3d2f6 Developed by Ruiz Yi, the sample demonstrates how to create and deploy a Browser Helper Object. A Browser Helper Object runs within Internet Explorer and offers additional services, and the BHO in this sample is used to disable the context menu in IE. To add a BHO to IE, this class should be registered to COM with a class ID (CLSID, {C42D40F0-BEBF-418D-8EA1-18D99AC2AB17} in this sample), and add a...
  • Microsoft All-In-One Code Framework

    [Sample of June 2nd] Track the system CPU usage in C#

    • 0 Comments
    Sample Download: http://code.msdn.microsoft.com/CSCpuUsage-775d4d17 Developed by Ruiz Yi, this sample demonstrates how to use PerformanceCounter to get the CPU Usage with following features 1. The Total Processor Time. 2. The Processor time of a specific process. 3. Draw the CPU Usage History like Task Manager. For detailed introduction of the sample, please read the documentation at http://code.msdn.microsoft.com/CSFTPUpload-74462ca4 You can find more code samples that demonstrate...
  • Microsoft All-In-One Code Framework

    [Sample of June 1st] Download files from FTP server

    • 0 Comments
    Sample Download: http://code.msdn.microsoft.com/CSFTPDownload-b0e10a4b Developed by Ruiz Yi, the sample demonstrates how to list subdirectories and files of a folder on a FTP server and download all of them. The operations includes 1. List subdirectories and files of a folder on the FTP server. When set the Method property of an FtpWebRequest to WebRequestMethods.Ftp.ListDirectoryDetails(the FTP LIST protocol method to get a detailed listing of the files on an FTP server), the response of...
  • Microsoft All-In-One Code Framework

    Microsoft All-In-One Code Framework Sample Updates on June 1st, 2012

    • 2 Comments
    A new release of Microsoft All-In-One Code Framework is available on June 1st. In this release, we added lots of Windows Phone 7 code samples. We expect that its 20 new code samples covering Windows Phone 7, TFS and ASP.NET would ease your development work. You can download the code samples using Sample Browser or Sample Browser Visual Studio extension . They give you the flexibility to search samples, download samples on demand, manage the downloaded samples in a centralized place, and automatically...
  • Microsoft All-In-One Code Framework

    [Sample of May 31st] Upload files to FTP server

    • 0 Comments
    Sample Download: http://code.msdn.microsoft.com/CSFTPUpload-74462ca4 Developed by Ruiz Yi, the sample demonstrates how to list subdirectories and files of a folder on the FTP server and upload a whole local folder to it. The operations includes 1. List subdirectories and files of a folder on the FTP server. 2. Delete a file or directory on the FTP server. 3. Upload a file to the FTP server. 4. Create a directory on the FTP server. For detailed introduction of the sample, please read the...
  • Microsoft All-In-One Code Framework

    [Sample of May 30th] Windows Phone 7 Live Whiteboard

    • 0 Comments
    Sample Download: http://code.msdn.microsoft.com/CSWP7LivePainter-4cda7020 Developed by Andrew Zhu, this sample, demo a real live white board for windows phone 7, includes two parts: Windows Phone part and ASP.NET server part. Server part(CSASPNETWP7LivePainterServer): there will be 3 httphandlers. Register handler will keep listening the coming phone request and register the online phone; Remove handler will remove phone from the server; Relay handler will receive the whiteboard points info...
  • Microsoft All-In-One Code Framework

    [Sample of May 29th] Windows Phone 7 Custom Gesture Detection

    • 0 Comments
    Sample Download: http://code.msdn.microsoft.com/CSWP7GestureDetection-2aca7ef8 Developed by Andrew Zhu, this sample demonstrates how to detect enlargement/shrink and rotation with two points touching and one point touch or flick. For example, you can use this sample as a starting point for creating your own photo viewer that supports picture enlargement, rotation,move and flick gestures. For detailed introduction of the sample, please read the documentation at http://code.msdn.microsoft...
  • Microsoft All-In-One Code Framework

    [Sample of May 28th] Windows Phone SkyDrive Note Sample

    • 0 Comments
    Sample Download: http://code.msdn.microsoft.com/CSWP7SkydriveNote-c0b16e47 Developed by Andrew Zhu, this sample demonstrates two features: 1. A Windows Phone Notebook 2. Uploading notes to SkyDrive. CSWP7SkydriveNote project contains two pages: MainPage.xaml shows the note list in a Listbox control,and MyNote.xaml is used for note editing. When the sample starts up, the following processes will occur: 1. Collect all note file name, 2. Deserialize the xml contained in the note files into...
  • Microsoft All-In-One Code Framework

    Issue Report: Sample Browser ClickOnce Installation is Not Started in IE [Fixed]

    • 4 Comments
    Update of Fix The CodePlex team has fixed the following issue. The download should work fine for IE now. In case that the Sample Browser ClickOnce Installation is not automatically started because of adblocker, you will see the following message in the webpage: "Click here if your browser does not start the download automatically." And you can click "here" to start the installation manually. -------------------ISSUE DESCRIPTION------------------ This week, you may experience an...
  • Microsoft All-In-One Code Framework

    [Sample of May 27th] Windows Phone 7 Simulate TreeView with ListBox

    • 0 Comments
    Sample Download: http://code.msdn.microsoft.com/CSWP7ListAsTree-b65fcb50 This sample demonstrates how to use ListBox Control as a tree in Windows Phone. All pictures in media library will show in ListBox Control with indention. For detailed introduction of the sample, please read the documentation at http://code.msdn.microsoft.com/CSWP7ListAsTree-b65fcb50 You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework...
  • Microsoft All-In-One Code Framework

    Sample Browser v5.3 Feature Update

    • 0 Comments
    We release a new update for Microsoft All-In-One Code Framework Sample Browser this week, and added two features suggested by many users.  If you have already installed Sample Browser, please reopen the application to get the auto-update.   If it’s your first time to learn about Sample Browser, you can install it from http://aka.ms/samplebrowser   Feature Updates 1. Easier way of adding a query to “Favorite Searches” Many users emailed us that they cannot find how to use the ...
  • Microsoft All-In-One Code Framework

    [Sample of May 26th] Uninstall disks with VDS

    • 0 Comments
    Sample Download: http://code.msdn.microsoft.com/CppVDSUninstallDisks-7192ea26 This sample demonstrates how to use VDS to uninstall disks and volumes. Warning: uninstalling a disk may lead to potential data loss. Use this sample with care. This sample takes the disk number performs a complete uninstall, including the dismount of the volume and uninstall underlying disks. To use this sample you will need to provide the disk number for input. This can be found by right clicking on my computer...
  • Microsoft All-In-One Code Framework

    [Sample of May 25th] Hex string <--> byte array converter

    • 0 Comments
    Sample Download: http://code.msdn.microsoft.com/VBHexStringByteArrayConvert-be271820 This sample demonstrates how to convert byte array to hex string and vice versa. For example, "FF00EE11" <--> { FF, 00, EE, 11 } For detailed introduction of the sample, please read the documentation at http://code.msdn.microsoft.com/VBHexStringByteArrayConvert-be271820 You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework...
  • Microsoft All-In-One Code Framework

    [Sample of May 24th] Get link info of a TFS work item

    • 0 Comments
    Sample Download: http://code.msdn.microsoft.com/VBTFSWorkItemLinkInfoDetail-e22ecdfd Today’s code sample demonstrates how to get the link details of a WorkItemLinkInfo object. The detailed information is like : Source:[Source title] ==> LinkType:[Link Type] ==> Target:[Target title] The sample was written by our star sample writer: Ruiz Yi. For detailed introduction of the sample, please read the documentation at http://code.msdn.microsoft.com/VBTFSWorkItemLinkInfoDetail-e22ecdfd...
  • Microsoft All-In-One Code Framework

    [Sample of May 23th] How to clear variables on click of Back button to previous page on browser

    • 0 Comments
    Sample Download: http://code.msdn.microsoft.com/ClearVariablesOnClickOfBack-bca322e8 Today’s code sample demonstrates how to clear variables on click of Back button to previous page on browser. Usually, if user hits browser's back button, some of the session variables still appear, user can resubmit data or manipulate again, which will lead the repeat submit or operation. here we clear out the previous page's. For detailed introduction of the sample, please read the documentation at http...
  • Microsoft All-In-One Code Framework

    [Sample of May 22th] Windows Phone 7 Custom Style Button

    • 0 Comments
    Sample Download: http://code.msdn.microsoft.com/CSWP7CustomStyleButton-01e7592a Today’s code sample demonstrates how to create your own style button. You do not need to use any additional tool besides Visual Studio 2010. Custom button images are not required. Use XAML only to create beautiful buttons or even buttons that appear similar to those used in other products such as the iPhone. To run the sample: 1. Open the project in Visual Studio 2010. 2. Press Ctrl+F5. You will see a button...
  • Microsoft All-In-One Code Framework

    Sample Browser v5.2 Update

    • 0 Comments
    The Sample Browser is updated again last weekend with the following feature improvements and bug fixes.    If you have already installed Sample Browser, please reopen the application to get the auto-update.   If it’s your first time to learn about Sample Browser, you can install it from http://aka.ms/samplebrowser   1. Added SQL Server to “Featured Samples”   2. Fixed an issue when the Sample Browser loads and resolves CSS style in sample documentation.   Now...
  • Microsoft All-In-One Code Framework

    [Sample of May 21th] Windows Phone 7 Multi-Touch Drawing Demo

    • 0 Comments
    Sample Download: http://code.msdn.microsoft.com/CSWP7MultiTouchDrawing-4513213a Today’s code sample demonstrates how to draw pictures with Canvas Control on a multi-touch screen. If you simply implement the following event: Touch.FrameReported += new TouchFrameEventHandler(Touch_FrameReported); You can implement multi-touch draw, representing each event using only dots, but the resulting drawing is not visually appealing. InkPresenter can draw lines smoothly, but it demonstrates the...
  • Microsoft All-In-One Code Framework

    [Sample of May 20th] Make ASP.NET GridView items single-selectable using RadioButton

    • 0 Comments
    Sample Download: http://code.msdn.microsoft.com/CSWP7MultiTouchDrawing-4513213a Today’s code sample demonstrates how to do a single select with the help of the RadioButton as a Server-Side control in the ItemTemplate of the GridView. For detailed introduction of the sample, please read the documentation at http://code.msdn.microsoft.com/ASPNETSingleChoiceByRadioBu-2ec1e5a7 You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All...
  • Microsoft All-In-One Code Framework

    [Sample of May 19th] User Session Expiration Alert in ASP.NET

    • 0 Comments
      Sample Downloads: C# version: http://code.msdn.microsoft.com/AspNetAlertSessionExpire-c230a148 VB version: http://code.msdn.microsoft.com/AspNetAlertSessionExpire-73692260 Today’s code sample demonstrates how to design a simple user control, which is used to alert the user when the session is about to expired. We use jQuery, ASP.NET AJAX at client side.  In this sample, we add a SessionExpired user control and Script Manager on the Master page. It will display an alert message if user...
Page 1 of 12 (231 items) 12345»