CodeProject
Browse by Tags - Microsoft All-In-One Code Framework - Site Home - MSDN Blogs
Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Microsoft All-In-One Code Framework - Developers' Pain Killer
Home
Homepage
Introduction
FAQ
Who We Are
About Us
Contact Us
How We Kill Developers' Pains
Overview
Code Samples
Sample Request Service
Sample Browser
Sample of the Day
Achievements
Global Microsoft Next 2011
3 Years, 5M Downloads
Kudos
News
What's Next
Coming Soon
2012 Plan
2013 Plan
Resources
Documents
Pictures
Videos
Links
Search
Browse by Tags
Archives
Archives
June 2013
(17)
May 2013
(26)
April 2013
(25)
March 2013
(25)
February 2013
(24)
January 2013
(32)
December 2012
(30)
November 2012
(31)
October 2012
(33)
September 2012
(6)
August 2012
(3)
July 2012
(31)
June 2012
(33)
May 2012
(37)
April 2012
(31)
March 2012
(34)
February 2012
(16)
December 2011
(2)
November 2011
(1)
October 2011
(2)
September 2011
(1)
August 2011
(2)
July 2011
(5)
June 2011
(1)
May 2011
(3)
April 2011
(3)
March 2011
(4)
February 2011
(3)
January 2011
(3)
December 2010
(1)
November 2010
(23)
October 2010
(3)
September 2010
(4)
August 2010
(3)
June 2010
(2)
May 2010
(3)
March 2010
(5)
February 2010
(2)
January 2010
(3)
December 2009
(3)
November 2009
(3)
October 2009
(4)
September 2009
(9)
August 2009
(3)
July 2009
(1)
June 2009
(1)
May 2009
(1)
April 2009
(2)
Tags
.NET Framework
ADO.NET
AJAX
ASP.NET
Blog
Entity Framework
Network
News
Office
Office Development
Release
SampleBrowser
SampleOfTheDay
SharePoint
Silverlight
TFS
VSX
Windows 8
Windows Azure
Windows Forms
Windows General
Windows Phone
Windows Phone 7
Windows SDK
WPF
Common Tasks
Blog Home
Email Blog Author
RSS for posts
RSS for comments
Tagged Content List
Blog Post:
[Sample Of May 15th] File handle operations demo
philip fu
Sample Download : http://code.msdn.microsoft.com/CppFileHandle-baa56c07 This VC++ code sample demonstrates two typical scenarios of using file handles - enumerate file handles and get file name from a file handle. You can find more code samples that demonstrate the most typical programming scenarios...
on
15 May 2013
Blog Post:
[Sample Of May 12nd] UAC self-elevation
philip fu
Sample Download : CS Version: http://code.msdn.microsoft.com/CSUACSelfElevation-644673d3 VB Version: http://code.msdn.microsoft.com/VBUACSelfElevation-4c014507 Cpp Version: http://code.msdn.microsoft.com/CppUACSelfElevation-981c0160 User Account Control (UAC) is a new security component in...
on
12 May 2013
Blog Post:
[Sample Of May 2nd] Create low-integrity process
philip fu
Sample Download : CS Version: http://code.msdn.microsoft.com/CSCreateLowIntegrityProcess-d7cb5e4d VB Version: http://code.msdn.microsoft.com/VBCreateLowIntegrityProcess-4df197cc Cpp Version: http://code.msdn.microsoft.com/CppCreateLowIntegrityProces-8dd7731d The code sample demonstrates...
on
2 May 2013
Blog Post:
[Sample Of Apr 30th] Shut down a computer using .NET
philip fu
Sample Download : http://code.msdn.microsoft.com/CSShutdownComputer-b2cfbc74 The application demonstrates how to shut down a computer using .net. I’ve pinvoked the native API’s to get this going. Following are the API’s implemented… ExitWindowsEx InitiateShutdown...
on
1 May 2013
Blog Post:
[Sample Of Apr 26th] Interactive Windows Service
philip fu
Sample Download : http://code.msdn.microsoft.com/CSCreateProcessAsUserFromSe-b682134e The sample demonstrates how to create/launch a process interactively in the session of the logged-on user from a service application written in C#.Net.. You can find more code samples that demonstrate the most...
on
26 Apr 2013
Blog Post:
[Sample Of Apr 20th] C# ActiveX control
philip fu
Sample Download : http://code.msdn.microsoft.com/CSActiveX-b86194f8 The sample demonstrates an ActiveX control written in C#. ActiveX controls(formerly known as OLE controls) are small program building blocks that can work in a variety of different containers, ranging from software development tools...
on
20 Apr 2013
Blog Post:
[Sample Of Apr 16th] A basic Windows service in C++
philip fu
Sample Download: http://code.msdn.microsoft.com/CppWindowsService-74bb412c This code sample demonstrates creating a very basic Windows Service application in Visual C++. The example Windows Service logs the service start and stop information to the Application event log, and shows how to run the main...
on
17 Apr 2013
Blog Post:
[Sample Of Apr 15th] Win7 Direct2D sample
philip fu
Sample Download : http://code.msdn.microsoft.com/CppWin7Direct2D-60bf7d72 The VC++ code sample demonstrates using the Direct2D API in Windows 7. You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or...
on
16 Apr 2013
Blog Post:
[Sample Of Apr 14th] List process type information for all running processes
philip fu
Sample Download : http://code.msdn.microsoft.com/CppCheckProcessType-1f81439d This sample code lists process type information for all running processes. Like: Is a Console Application or Is a Windows Application Is a Managed Application or Is a Native Application Is a .NET 4.0 Application...
on
14 Apr 2013
Blog Post:
[Sample Of Apr 11st] Enable NetBIOS over TCP/IP
philip fu
Sample Download : http://code.msdn.microsoft.com/CppEnableNetBiosOverTCPIP-ed32d818 This sample application demonstrates how to set the NetBIOS Over TCP/IP on the server. We are using here WMI’s class Win32_NetworkAdapterConfiguration under ROOT\CimV2 namespace. You can find more code samples...
on
11 Apr 2013
Blog Post:
[Sample Of Apr 10th] Print an image using ShellExecute
philip fu
Sample Download : http://code.msdn.microsoft.com/CSShellPrintImageWithShellE-adda9973 The sample demonstrates how to print an image using ShellExecute to invoke ImageView_PrintTo, equivalent to right clicking on an image and printing. Using the printto verb with ShellExecute may have unpredictable...
on
10 Apr 2013
Blog Post:
[Sample Of Dec 19th] Detect the argument of another program
philip fu
Sample Download : CS Version: http://code.msdn.microsoft.com/CSDetectArgsOfAnotherProces-dccb66cc VB Version: http://code.msdn.microsoft.com/VBDetectArgsOfAnotherProces-fb6c8bc6 This sample demonstrates how to detect arguments of another running process. You can find more code samples...
on
19 Dec 2012
Blog Post:
[Sample of Nov 30th] List files in directory in .NET
philip fu
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...
on
30 Nov 2012
Blog Post:
[Sample of Nov 12nd] UAC self-elevation
philip fu
Sample Download : CS Version: http://code.msdn.microsoft.com/CSUACSelfElevation-5736ee90 VB Version: http://code.msdn.microsoft.com/VBUACSelfElevation-39b7606f Cpp Version: http://code.msdn.microsoft.com/CppUACSelfElevation-5bfc52dd User Account Control (UAC) is a new security component in...
on
12 Nov 2012
Blog Post:
[Sample of Nov 11st] Window subclassing demo
philip fu
Sample Download : http://code.msdn.microsoft.com/CppWindowsSubclassing-2ef7ee53 If a control or a window does almost everything you want, but you need a few more features, you can change or add features to the original control by subclassing it. A subclass can have all the features of an existing...
on
11 Nov 2012
Blog Post:
[Sample of Oct 22nd] serviced component in .NET
philip fu
Sample Download : CS Version: http://code.msdn.microsoft.com/CSServicedComponent-d4d0aa0b VB Version: http://code.msdn.microsoft.com/VBServicedComponent-15bbeb55 A serviced component is a class that is authored in a CLS-compliant language and that derives directly or indirectly from the System...
on
22 Oct 2012
Blog Post:
[Sample of Oct 11st] Extract and convert audio file
philip fu
Sample Download : CS Version: http://code.msdn.microsoft.com/CSExtractAudioFile-f5b395f3 VB Version: http://code.msdn.microsoft.com/VBExtractAudioFile-7a64a040 The sample demonstrates how to extract and convert audio file formats, which include wav, mp3 and mp4 files. The sample uses Expression...
on
11 Oct 2012
Blog Post:
[Sample of Oct 8th] Print an image using ShellExecute
philip fu
Sample Download : http://code.msdn.microsoft.com/CSShellPrintImageWithShellE-adda9973 The sample demonstrates how to print an image using ShellExecute to invoke ImageView_PrintTo, equivalent to right clicking on an image and printing. Using the printto verb with ShellExecute may have unpredictable...
on
8 Oct 2012
Blog Post:
[Sample of Oct 7th] Adding/Removing Catalog Files using CAPI in C++
philip fu
Sample Download : http://code.msdn.microsoft.com/CppCATAdmin-6a7f5941 This program demonstrates how to add/remove catalog files from a Windows system (XP and higher) programmatically. This can come in handy when installing third party filter drivers via your own installation program. You can find...
on
7 Oct 2012
Blog Post:
[Sample of June 20th] Register hotkey for the current app
Jialiang Ge [MSFT]
Sample Download : http://code.msdn.microsoft.com/VBRegisterHotkey-50af3179 The sample demonstrates how to register and unregister a hotkey for the current application. User32.dll contains 2 extern method RegisterHotKey and UnregisterHotKey to define or free a system-wide hot key. The method Application...
on
20 Jun 2012
Blog Post:
[Sample of June 10th] Retrieving Volume GUID for a cluster volume
Jialiang Ge [MSFT]
Sample Download : http://code.msdn.microsoft.com/CppClusterDiskDetails-ef261cc2 Developed by Microsoft Support Escalation Engineer Jithesh Nair, this sample demonstrates how to retrieve the Volume GUID of the Cluster Disks. You can use this project to programmatically retrieve the...
on
11 Jun 2012
Blog Post:
[Sample of June 9th] Get MAC of local Ethernet and Wireless80211
Jialiang Ge [MSFT]
Sample Download : http://code.msdn.microsoft.com/CSMACAddress-23db2a0a Developed by Ruiz Yi, the sample demonstrates how to get the MAC of local Ethernet and Wireless80211 adapters or remote host using 3 approaches from C#. 1. Use Win32 WMI classes. 2. Use IP Helper APIs. 3. Use NDIS WMI classes...
on
11 Jun 2012
Blog Post:
[Sample of Mar 29th] Shut down a computer using .NET
Jialiang Ge [MSFT]
Sample Download: http://code.msdn.microsoft.com/CSShutdownComputer-b2cfbc74 Today’s code sample demonstrates how to shut down a computer using .net. I’ve pinvoked the native API’s to get this going. Following are the API’s implemented. The sample was written by Microsoft...
on
29 Mar 2012
Blog Post:
[Sample of Mar 18th] Create a low-integrity process in C# and VB
Jialiang Ge [MSFT]
Sample Download C# version: http://code.msdn.microsoft.com/CSCreateLowIntegrityProcess-d7cb5e4d VB version: http://code.msdn.microsoft.com/VBCreateLowIntegrityProcess-4df197cc Today’s code sample demonstrates how to start a low-integrity process. The application launches itself at the low integrity...
on
18 Mar 2012
Blog Post:
[Sample of Mar 13th] Track the system CPU usage
Jialiang Ge [MSFT]
Sample Downloads C# version: http://code.msdn.microsoft.com/CSCpuUsage-f009d9c1 VB version: http://code.msdn.microsoft.com/VBCpuUsage-be7e2c94 C++ version: http://code.msdn.microsoft.com/Track-the-system-CPU-usage-defc62b6 Today’s code sample demonstrates how to use the PerformanceCounter to...
on
13 Mar 2012
Page 1 of 2 (28 items)
1
2