Browse by Tags - Microsoft All-In-One Code Framework - Site Home - MSDN Blogs
Microsoft All-In-One Code Framework - Developers' Pain Killer
Tagged Content List
  • Blog Post: [Sample Of June 4th] How to retrieve the Volume GUID of the Cluster Disks

    Sample Download : http://code.msdn.microsoft.com/CppClusterDiskDetails-ef261cc2 This sample demonstrates how to retrieve the Volume GUID of the Cluster Disks. You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample...
  • Blog Post: [Sample Of Feb 2nd] How to print an image using ShellExecute

    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...
  • Blog Post: [Sample Of Jan 22nd] How to retrieve the Volume GUID of the Cluster Disks

    Sample Download : http://code.msdn.microsoft.com/CppClusterDiskDetails-ef261cc2 This sample demonstrates how to retrieve the Volume GUID of the Cluster Disks. You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample...
  • Blog Post: [Sample Of Jan 7th] How to detect arguments of another running process by using WMI

    Sample Download: CS Version: http://code.msdn.microsoft.com/CSDetectArgsOfAnotherProces-dccb66cc VB Version: http://code.msdn.microsoft.com/VBDetectArgsOfAnotherProces-fb6c8bc6 The code sample shows how to detect arguments of another running process by using WMI. You can find more code samples...
  • Blog Post: [Sample Of Dec 10th] How to create and sign a cabinet file

    Sample Download : CS Version: http://code.msdn.microsoft.com/CSCreateCabinet-117f3934 VB Version: http://code.msdn.microsoft.com/VBCreateCabinet-effd39ef The cabinet format provides a way to efficiently package multiple files. Creating and signing a cabinet is very useful to deploy IE ActiveX...
  • Blog Post: [Sample Of Nov 9th] How to add/remove catalog files using CAPI in C++

    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. Catalog files...
  • Blog Post: [Sample Of Oct 10th] Get MAC of local Ethernet and Wireless80211

    Sample Download : CS Version: http://code.msdn.microsoft.com/CSMACAddress-23db2a0a VB Version: http://code.msdn.microsoft.com/VBMACAddress-86df039b The sample demonstrates how to get the MAC of local Ethernet and Wireless80211 adapters or remote host using 3 approaches. 1. Use Win32 WMI classes...
  • Blog Post: [Sample Of May 15th] File handle operations demo

    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...
  • Blog Post: [Sample Of May 12nd] UAC self-elevation

    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...
  • Blog Post: [Sample Of May 2nd] Create low-integrity process

    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...
  • Blog Post: [Sample Of Apr 30th] Shut down a computer using .NET

    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...
  • Blog Post: [Sample Of Apr 26th] Interactive Windows Service

    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...
  • Blog Post: [Sample Of Apr 20th] C# ActiveX control

    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...
  • Blog Post: [Sample Of Apr 16th] A basic Windows service in C++

    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...
  • Blog Post: [Sample Of Apr 15th] Win7 Direct2D sample

    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...
  • Blog Post: [Sample Of Apr 14th] List process type information for all running processes

    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...
  • Blog Post: [Sample Of Apr 11st] Enable NetBIOS over TCP/IP

    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...
  • Blog Post: [Sample Of Apr 10th] Print an image using ShellExecute

    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...
  • Blog Post: [Sample Of Dec 19th] Detect the argument of another program

    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...
  • Blog Post: [Sample of Nov 30th] List files in directory in .NET

    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...
  • Blog Post: [Sample of Nov 12nd] UAC self-elevation

    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...
  • Blog Post: [Sample of Nov 11st] Window subclassing demo

    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...
  • Blog Post: [Sample of Oct 22nd] serviced component in .NET

    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...
  • Blog Post: [Sample of Oct 11st] Extract and convert audio file

    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...
  • Blog Post: [Sample of Oct 8th] Print an image using ShellExecute

    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...
Page 1 of 2 (35 items) 12