[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 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 8th] How to display Enum in WPF ComboxBox

  Sample Download : http://code.msdn.microsoft.com/How-to-display-Enum-in-WPF-dc5d9e90 This code snippet demonstrates how to display friendly names in ComboBox from Enum.  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

[Sample Of May 3rd] How to use multiple filters to get files from a directory in .NET

  Sample Download : http://code.msdn.microsoft.com/How-to-call-DirectoryGetFil-8f6948a3  This is a code snippet project. It will show you how to use multiple filters to get files from a directory in .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….

3

[Sample Of Apr 10th] Caculate how many words in txt file using regular expression

  Sample Download: http://code.msdn.microsoft.com/Caculate-how-many-words-in-f110faa0 The sample demonstrates the following features: 1. How to calculate how many words in txt file using regular expression. 2. How to calculate the occurrence count of a word.   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…

0

[Sample Of Apr 9th] How to create and execute SqlCommand in ADO.NET

  Sample Download : http://code.msdn.microsoft.com/How-to-Create-and-Execute-86922261 We can create and execute different types of SqlCommand. In this applilcation, we will demonstrate how to create and execute SqlCommand: 1. Create different types of SqlCommand; 2. Execute SqlCommand in different ways; 3. Display the result.  You can find more code samples that demonstrate the most typical programming scenarios…

0

[Sample Of Mar 24th] How to retrieve the Identity value after inserting a data using ADO.NET

  Sample Download : http://code.msdn.microsoft.com/How-to-Retrieve-the-511acece We often set a column as identity column when the values in the column must be unique. And sometimes we need the identity values of new data. In this application, we will demonstrate how to retrieve the identity values: 1. Create a stored procedure to insert data and return identity…

1

[Sample Of Mar 11th] How to Register Test Controller using TFS APIs

  Sample Download : http://code.msdn.microsoft.com/How-to-Register-Test-26fecb18  This sample demonstrate how to register test controller with team project collection using TFS APIs. We have used TFS and Test APIs for that purpose.  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…

0

[Sample Of Mar 4th] How to Get Schema Information from Database

  Sample Download : http://code.msdn.microsoft.com/How-to-Get-Schema-b66d62e2 Sometimes we may need the schema information of the database, tables or some columns. In this application, we will demonstrate how to get schema information from database: 1. In this application, we will use the SqlConnection.GetSchema Method. 2. We will use the Schema Restrictions to get the specified information. 3….

0

[Sample Of Mar 3rd] How to unregister test controller with team project collection using TFS APIs

  Sample Download : http://code.msdn.microsoft.com/How-to-unregister-test-a418652b This sample demonstrates how tounregister Test Controller from team project collection using TFS APIs.   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,…

0