[Sample Of Apr 4th] How to automate HTML elements loaded in WebBrowser control

  Sample Download : http://code.msdn.microsoft.com/CSWebBrowserAutomation-78910884 The sample demonstrates how to create a WebBrowser which supplies following features 1. Manipulate the html elements and login a website automatically. 2. Block specified sites. 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 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 effects since this may be configured differently on different operating systems.  The approach demonstrated here invokes ImageView directly with…

0

[Sample Of Dec 3rd] How to create a soft keyboard in Windows Forms Application

  Sample Download : CS Version: http://code.msdn.microsoft.com/CSSoftKeyboard-0a86f914 VB Version: http://code.msdn.microsoft.com/VBSoftKeyboard-161d92d7 The sample demonstrates how to create a soft keyboard. It has the following features 1. It will not get focus when a key button clicked. 2. If the user presses the left mouse button within its nonclient area(such as the  title bar), it will be…

0

[Sample Of Nov 30th] How to check the executable file type in .NET

  Sample Download : http://code.msdn.microsoft.com/CSCheckExeType-aab06100 The sample demonstrates how to check an executable file type. Given an exe or a dll,the sample application detects:  1. exe type (console or GUI, or other exe type) by checking the subsystem flag in PE 2. Is it a .NET assembly?     If no,         – detect the exe bitness…

0

[Sample Of Nov 7th] How to identify the process type at runtime

  Sample Download :  CS Version: http://code.msdn.microsoft.com/CSCheckProcessType-62b7f649 VB Version: http://code.msdn.microsoft.com/VBCheckProcessType-1fbafcf1  The sample demonstrates how to identify the process type in run time, including  whether this process is a 64bit process, managed process, .NET 4.0 process, WPF  process or console process. NOTE: This application must run on Windows Vista or later versions because the EnumProcessModulesEx function is only available…

0

[Sample Of Nov 5th] How to obtain and display the security descriptor for various Kernel Objects in Windows

  Sample Download :  http://code.msdn.microsoft.com/CppCheckSD-6bac6d3a The sample demonstrates how to obtain and display the security descriptor for various Kernel Objects in Windows.  The sample by default only obtains the  Access Allowed Aces (DACLs) and NOT the System Audit Acess (SACLs) although Integrity Aces are SACLs so these will be displayed as well.  By default the Security Descriptor is…

0

[Sample Of Nov 4th] How to set proxy in WebBrowser control

  Sample Download :  http://code.msdn.microsoft.com/VBWebBrowserWithProxy-5c2f707e The code sample demonstrates how to set proxy in the WebBrowser 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 samples, download samples…

0

[Sample Of Nov 3rd] How to watch the process creation/modify/shutdown events by using WMI

  Sample Download :  http://code.msdn.microsoft.com/CSProcessWatcher-538524f4 The project illustrates how to watch the process creation/modify/shutdown events by using the Windows Management Instrumentation(WMI). 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

[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 typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension….

1

[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 Is a WPF Application Is a 64 Bit Application or Is a 32 Bit Application…

0