New Microsoft one-stop sample code library released in June-20 new windows sample code

Source: Internet
Author: User
Tags microsoft dynamics visual studio 2010

New Microsoft one-stop exampleCodeThe library was updated and downloaded on April 9, June 2.

: Http://1code.codeplex.com/releases/view/67076

You can also download and manage the required sample code on demand through the sample code browser or Visual Studio extension of the sample code browser.

 

If this is the first time you have heard of the all-in-one code framework (one-stop sample code library) project, please refer to the Chinese description of Microsoft's one-stop development technical framework solution, and this video: Workshop.

-----------------------------------

New sample dynamics code
Csdynamicsnavwebservices

Download: http://code.msdn.microsoft.com/CSDynamicsNAVWebServices-21bb94f1

This is the first dynamics nav sample code in the all-in-one sample code library. Written by Lars lohnddorf-Larsen and Jasminka Thunes from the dynamics team in the UK. The sample code demonstrates how to use the Web service provided by Microsoft Dynamics NAV to perform the following operations:

Call nav codeunit
Create a nav page instance object
Read all records
Filter records
Read a single record
Insert a record
Insert multiple records
Modify a record
Modify multiple records
Delete a record

-------------------------------------------

New Internet Explorer sample code
Cscustomiecontextmenu, vbcustomiecontextmenu

Download
C # version: http://code.msdn.microsoft.com/CSCustomIEContextMenu-3aa1c389
VB: http://code.msdn.microsoft.com/VBCustomIEContextMenu-913227d7

The sample code shows how to customize the context menu of IE. The project demonstrates a custom "open image in new tab" menu item. When you right-click an image on a webpage, this menu item replaces the default context menu of IE. Click this menu item to open the selected image on a new ie tab. In this example, you can understand:

How to insert custom menu items to IE standard context menu
How to Use BHO to completely replace IE's standard context menu
How to deploy custom ie context menu

Csiedownloadmanager, vbiedownloadmanager

Download
C # version: http://code.msdn.microsoft.com/CSIEDownloadManager-8ab5d910
VB: http://code.msdn.microsoft.com/VBIEDownloadManager-3287b087

This example shows how to implement the IE custom Download Manager. After installation, when ie starts to download a file, a custom downloadProgram(CS/vbwebdownloader.exe), instead of the built-in Download Manager of IE, it will be started to download files.

 

----------------------------------------------------

Windows general new sample code
Cscpuusage and vbcpuusage

Download
C # version: http://code.msdn.microsoft.com/CSCpuUsage-f009d9c1
VB: http://code.msdn.microsoft.com/VBCpuUsage-be7e2c94

This sample code demonstrates how to use performancecounter to track the CPU usage of a system or a process.

 

Cscreateminidump, vbcreateminidump

Download
C # version: http://code.msdn.microsoft.com/CSCreateMiniDump-7956a407
VB: http://code.msdn.microsoft.com/VBCreateMiniDump-630c3f5d

Program crash is a headache. In particular, released programs crash on the customer's machine. Memory Dump needs to be analyzed to deal with such application crashes. However, most application users do not know how to generate a memory dump and send it back to the product manufacturer. This example shows how to embed the memory dump generation after a program crash into your application. It starts with your application and detects whether your application crashes unexpectedly. If a crash is detected, a memory dump is automatically generated for analysis by the product manufacturer.

 

Cssoftkeyboard, vbsoftkeyboard

Download:
C # version: http://code.msdn.microsoft.com/CSSoftKeyboard-0a86f914
VB: http://code.msdn.microsoft.com/VBSoftKeyboard-161d92d7

This example demonstrates how to create a soft keyboard (also known as a screen or virtual keyboard ).

 

----------------------------------------

Visual Studio extensibility (vsx) and TFs new sample code
Cscustomizevstoolboxitem, vbcustomizevstoolboxitem

Download:
C # version: http://code.msdn.microsoft.com/CSCustomizeVSToolboxItem-ed17051f
VB: http://code.msdn.microsoft.com/VBCustomizeVSToolboxItem-953058b9

If you customize the toolbox of Visual Studio 2010 and add a custom item to it, the display name and tooltip are the same by default. This example shows how to add a Visual Studio toolbox item and customize its tooltip content.

 

Cstfseventlistener, vbtfseventlistener

Download
C # version: http://code.msdn.microsoft.com/CSTFSEventListener-6dbeb03b
VB: http://code.msdn.microsoft.com/VBTFSEventListener-02ca7c2f

The sample code demonstrates how to create a TFs event listener through the WCF console application. The WCF Service is used to register a TFs checkin event. If a user checks in a Changeset that meets the condition, TFS will call the y method of the WCF Service.

Thanks to csdn for its support for the one-stop sample code library. If you have any feedback, please email to onecode@microsoft.com

 

This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/MSCodeSample/archive/2011/06/02/6460983.aspx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.