[Sample Of May 29th] How to modify a Windows Forms application’s system menu

  Sample Download : http://code.msdn.microsoft.com/CSCustomizeSysMenu-024ccb7f This application demonstrates how to modify a Windows Forms application’s system menu.  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 on…

0

[Sample Of May 27th] How to store the images in SQL Azure

  Sample Download : http://code.msdn.microsoft.com/How-to-store-the-in-SQL-6c6a46b5 This sample demonstrates how to store images in Windows Azure SQL Server. Sometimes the developers need to store the files in the Windows Azure. In this sample, we introduce two ways to implement this function: 1. Store the image data in SQL Azure. It’s easy to search and manage the…

0

[Sample Of May 26th] How to query multi people picker field in SharePoint list using REST query

  Sample Download : http://code.msdn.microsoft.com/How-to-query-multi-people-a3e8b35a This code snippet  will show you how to query multi people picker field in SharePoint list using REST query.  •  Get JSON data of the SharePoint Task Item. •  Get the multi people field of the item. •  Use  for or  Foreach to get every AssignedToId. You can find more code…

0

[Sample Of May 25th] How to cross domains using JSONP, jQuery and RESTful WCF Service provider in JavaScript

  Sample Download : http://code.msdn.microsoft.com/How-to-cross-domain-with-8174e773 JSONP is a convention used to invoke cross-domain scripts by generating script tags in the current script. The result is returned in a specified callback function. JSONP is based on the idea that tags such as <script src=”http://…” > can evaluate scripts from any domain and the script retrieved by…

0

[Sample Of May 22nd] How to export Contacts in Office 365 Exchange Online

  Sample Download : http://code.msdn.microsoft.com/How-to-Export-Contacts-in-d1d84cc7 Outlook Web App (OWA) allows us to import multiple contacts in a very simple way. However, it does not allow us to export contacts. In this application, we will demonstrate how to export contacts from Office 365 Exchange Online. 1. Get all the contacts from Office 365 Exchange Online. 2….

0

[Sample Of May 21st] How to programmatically control Azure Virtual Machine

  Sample Download : http://code.msdn.microsoft.com/How-to-program-control-af4ade5b To operate Windows Azure virtual machine, using the Azure  PowerShell isn’t the only way. We also can use management service APIs to achieve this target. This sample will  demonstrate how to create a virtual machine, get its information and delete it. You can find more code samples that demonstrate the…

0

[Sample Of May 19th] How to export Chart to an Image or a PDF file in ASP.NET

  Sample Download : http://code.msdn.microsoft.com/Export-Chart-to-Image-or-7adcd978 This sample demonstrates how to export Chart to an Image or a PDF file in ASP.NET.    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 May 18th] How to remove registered scripts in ASP.NET

  Sample Download : http://code.msdn.microsoft.com/Remove-registered-4d1a313f Users can register scripts by RegisterStartupScript or RegisterClientScriptBlock. But sometimes, after these scripts run successfully, users may want to remove these scripts as they don’t need to use them again. This sample code will demonstrate how to remove scripts registered by RegisterStartupScript and RegisterClientScriptBlock.    You can find more code samples that demonstrate…

0

[Sample Of May 15th] How to search and highlight keywords in a TextBlock control in WPF

  Sample Download : http://code.msdn.microsoft.com/CSWPFSearchAndHighlightText-3b5e207a The WPF code sample demonstrates how to search and highlight keywords in a TextBlock control.   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 May 14th] How to Get Large Mailbox Statistics in Office365

  Sample Download : http://code.msdn.microsoft.com/How-to-Get-Large-Mailbox-87ac4aea Some of you find your Outlook is frozen when receiving emails. One workaround is moving the large emails to a new folder to allow Outlook finish the synchronization. But before moving these large emails, we need to identify these large email messages and find a proper destination folder for these…

0