This article describes a design, implementation and usage of the Custom Routing Manager for managing messages via Routing Service built-in .Net 4 Technology.
Example of handling real-life challenges when hosting WebBrowser control: separate creation of hosting window and the control, keyboard shortcuts, control's dimensions, etc.
Windows has built inn support for a lot of keyboard languages, this class makes it possible to extract that info in an easy manner and present it to screen.
How to use CrashRptEx, to avoid some of the pitfalls of crash reporting in MFC apps or if you want the ability to continue your application after a crash
This is yet another example for memory mapped files. What is cool though is unlike other samples, I have a SetData(TCHAR* Key, TCHAR* value) / GetData(TCHAR* key) pattern here.
This article presents a commercial-grade cross-platform Harel UML StateChart Open-Source application framework named StateWizard for concurrent, distributed, and real-time reactive system development with simplicity, efficiency, and scalability.
This short article shows how to use an undocumented internal class method from the System.Deployment.Application.Win32InterOp namespace to get a PE images manifest resource.
Use QuickAccent to quickly copy accents and symbols to your clipboard. Also read the article to find out about the essentials when writing System Tray based applications
Thanks to Chakra (the JavaScript engine used by Microsoft Edge), it is now possible to host one of the fastest JavaScript engines (and also the one with the highest support of ECMAScript 6) inside any Universal Windows Platform application.
In this article, I discuss an example of how you can use information retrieval to grab data out of MSN Money pages to get a free Web Service for currency exchange rates and other quotes.
In this article I will explain the implementation of an infrastructure to host and manage windows services in a practical and interactive way.As a practical example of the solution will be implemented a dynamic ip update client of DucDNS
Introduce you to the key features of the new .NET OCR classes, provide you with a step-by-step approach for creating an OCR application, and provide you with sample code.
In this article, we will describe how information generated on data acquisition devices connected to servers running Windows Server 2003 can be efficiently integrated into Microsoft Office SharePoint Server 2007 using Windows PowerShell.
This article explains how to create a dynamic library that loads exported functions the first time they are used, opposed to loading them when the library is loaded.
Find out how to build a small document imaging workflow application using WF and Pegasus Imaging’s activity libraries (Part 1). Then discover how Pegasus’ activities may be used to add imaging workflows to MOSS using Visual Studio 2008 (Part 2).
In this article we explored a theory; would it be better to not utilize a heap construct when dealing with very large objects in .NET, in order to avoid Large Object Heap (LOH) fragmentation?
A detailed analysis of how to inject the .NET runtime and arbitrary .NET assemblies into unmanaged and managed processes; and how to execute managed code within those processes.
Implement services that start/stop automatically to some events like Device attached, Network Availability, Firewall port modified, Domain join, Group Policy change etc
Easy to use profiler for time and impact analysis of C/C++ code which uses the Visual Studio C/C++ compiler (/Gh and /GH flags) and the DIA SDK to gather profiling data.
The win32 subsystem often returns pointers to objects that need to be deallocated by the caller. In this article, I show a way to do this reliably and in an exception-safe manner.
A reflection based wrapper for the Oracle Data Provider for .NET – allows your application to dynamically load the Oracle.DataAccess.dll assembly installed on your client’s computer.
This article shows how to create a Tic Tac Toe game in C++ using different technologies such as Win32 and WinRT to prove that writing code in C++ is as fun and productive as in other programming languages.
PDF MERGER and PROTECTOR is the best pdf merger software which is fast and powerful way to join(Merge) PDF files with password protection as well as you can apply stamper with either any type of image or text. Using this utility you don’t required installation of Adobe Acrobat. Looks Exciting ???
A Class Library for building Forms with a folder navigation TreeView and form specific ListViews that can be tailored for your application and behave like Windows Explorer. Full documentation.
OOo::DocWindow and WTL::COOoCtrl classes to work on any Microsoft-Office document, and Open Office SDK integration in Visual Studio/VCExpress 2005/2008
Creation of a basic icon editor with as little code as possible, that is running on ReactOS and Windows, to check out the stability of application development capabilities on ReactOS
A look into what goes into the area of preventing reverse engineering, and gives developers some functions and ideas about preventing reversing engineering of their programs.
An alternative approach in which dialogs are entirely specified as C++ code that requires neither IDE support to be written nor IDE generated resources to be executed. Powered by the C++ type system.
The article shows how to interop between a WCF service and a WWS client, and also how to rewrite the WCF service in WWS retaining compatibility with existing WCF clients.
Slice sections out of a MIDI file, and stretch or compress playback time using this simple utility. Or use the Midi Library to build your own MIDI apps
FireKeys is a tool that lets you set up hotkey bindings for your favorite programs or places. See how it works, download it and find out how the code was written!
Intercept, fill and close windows originated by third-party components hosted in C# application. As an encountered case, making WebBrowser control silent is considered.
Image Control for viewing most common image formats with advanced features included (Import Image, Preview, Resize, Position, Pan, Zoom, Export Image, Extract Resource Icon).
This article tries to find a way to show standard controls, ActiveX controls, translucent controls on layered windows. Native MFC source code provided.
In this article, I will talk about the theories and implementations of API hooking. API hooking is a powerful technique that allows someone to hijack a function and redirect it to a custom one. Anything can be done in these functions before passing control back to the original API.
This article presents VirtualMemory.exe, a memory monitor application that visualizes Windows Mobile's virtual memory model graphically, and thus allows common memory issues, such as the infamous DLL Crunch, ordinary leaks, and a full device.exe, to be identified quickly and easily.
This article describes an object tracking approach by estimating a time averaged background scene for tracking static and moving objects in real-time on down-scaled image data.
Introduction to the open-source hxGrid library for distributed computing. Main benefits of the library: cluster uses only idle time of Windows 2000/XP/Vista workstation (no dedicated workstations required); easy to use; free.
Complete Client/Server Socket Communication class with threadpool implementation. Easy to use and integrate into C++ application. Linux/UNIX port available.
When calling into the win32 API, there are many times when you must deal with structures that have a variable size. This article shows how to do that in a convenient way.
Is it better to serialize types without default constructor with Custom Serializer or a Substitute Pattern? Example of serialization of FontFamily into isolated storage in WP7.
When discussing VB6, we should look at the reality of the situation and not on preconceived opinions. New source code projects are made daily in Visual Basic 6.0. The paper proposes the reintroduction of Visual Basic 6.0 on the market, in parallel with Visual Studio line.
Terminate a process, or check if it is running, using the full file path. It also enumerates processes returning the full path to the running EXE file.
In this article, I’m going to teach you how to write a full functional debugger using the Security Research and Development Framework (SRDF) … how to disassemble instructions, gather Process Information and work with PE Files … and how to set breakpoints and work with your debugger
C# Implementation of Eratosthenes/Sundarm/Atkins Sieve to generate prime numbers and comparison of performance numbers between the three implementations.
Remote control startup and shutdown of a server automatically by several clients, to have the server running only if the clients are active. Uses Wake On Lan, Windows Services, and .NET Remoting.
This article explains how to make a plug-in for Solitaire that displays a high score table. By way of Codecave, Solitaire will automatically execute a DLL for this plug-in -- thus no user intervention required!
In this article, we will be focusing on creating, editing, and deleting both user accounts or groups on the Active Directory or Machine SAM by using the System.DirectoryServices.AccountManagement namespace that .NET Framework 3.5 includes.
This article will show how to close the Microsoft Dynamics GP Report Destination window using both a .NET Add-in library and a stand-alone Windows Forms application.
Many Windows C++ programmers get confused over what bizarre data type identifiers like TCHAR and LPCTSTR are. Here, in brief, I will try to clear out the fog.
Finding another solution to change or alter the native Windows API method calls to replace the default output of the system with our own implementation.
The simple native DLL (made in VC++) uses Win32 Core API to capture the live audio signals from the default audio device (speaker or headphone). A little C# console EXE grabs the signal from the DLL and set the volume bars up/down in real time. It's fun to watch and easy to understand.
With this tool you can download whole .NET Framework source code at once, and enjoy offline browsing. With it, you can have whole the source code without any Visual Studio product installed
This article describes how WCF services can be loaded on-the-fly (without prior knowledge of the services’ contracts), setting its parameters and sequencing their invocation.
Windows IoT on Raspberry Pi doesn't yet have native support for a hardware real time clock. I've created a solution for getting Windows IoT to initialize its clock from RTC at bootup so that other solutions don't need to be modified to read from the RTC directly.
This article contains a brief look into the new Gestures API that is available for Windows Mobile 6.5 Professional Edition. We will walk through creating a small Smart Device application that is able to read gestures made by the user, and report back information about these gestures to the screen.
Building robots from the scratch with speech recognition, remote voice control, learning intelligence with Raspberry PI, Intel Galileo and Microsoft Azure.
How to serialize binary data to IsolatedStorage in a Silverlight client when there is no BinaryFormatter in Silverlight? Why not with sharpSerializer? - An open source XML and binary serializer for .NET and Silverlight
In his article, we will consider an interesting, universal and rarely used method of code injection into a Windows process using KnownDlls sections. To demonstrate the method work we will develop a sample project to inject into all running processes and intercept some calls from ws2_32.dll.
A WinForms application with command line execution that scans a folder tree, creates one or more Zip files, and emails them to a Gmail account along with a formatted message.
How self-describing components can emerge from responsibility-driven development practices, and how use of the Visual Studio 'code regions' tool can add value to this process.
How to write a reliable shellcode on win32, how to bypass the obstacles that you will face in writing a win32 shellcode and how to implement your shellcode into Metasploit
This article describes a class which may be used to convert any Windows.Forms.Form into a docked Application Desktop Toolbar. That is, by use of the AppBar.ApplicationDesktopToolbar class, one's Toolbar applet may be either floating or docked to an edge of the Desktop.
Here is a class that will help you to control the execution of your threads that involves looping/polling and also limits their CPU usage to a specified limit.
This dynamic keyword can be put to good use when doing COM. And in turn, you could be more productive when you need to complete tasks regarding the Windows API (that expose COM functionality).
TemplateTimer: A convenient and simple MSVC / C++ timer wrapper for Windows using templates, where a class function can be easily specified for the timed event callback.
The possibility of extraction of block of string data from the binary file of type of DBF with arbitrary access in memory (MMF) and sorting of these information in one of two temporal buffers is shown. Optimization on speed of sorting and an amount of used memory is applied.
Surprisingly, neither the C++ runtime library nor the Win32 Platform SDK provides any routines to read and write Unicode text files. This article provides high performance routines to read all types of Unicode files (both UTF-16 and UTF-8) as well as ANSI files.
When loading a keyboard dll as a 32-bit application on a 64-bit system, the keyboard-dll-files does not work as expected, this class fixes that problem
The article describes how to use the Microsoft's UPnP Control Point API for finding and controlling UPnP devices, and includes a description of simple library to facilitate the application of Control Point API in your own programs, together with an example of MFC and WinForms applications.
Allows to maintain and backup your contacts and also maintains a reminder. You can store data in any of the three different databases like Microsoft SQL Server, MySql, Microsoft Access
Learn the basics of how to draw with GDI on screen and to printer. We will look closer at the different GDI map modes, and how to do proper adjustments when you need to send the output to a printer. We will also create a metafile and load it back in again.
HTTP-only is a feature in IE 6 SP1, Opera, Safari and KDE to allow the setting of cookies that will only be sent via HTTP headers and never accessible via client side scripting.
Monitors All Skype4COM and API Messages for Skype Includes Command Input. Shows What Goes On Behind The Scenes with Skype Message Processing using the API and Skype4COM Library. Includes Microsoft ClickOnce Deployment Technology As Well As ClickOnce Automatic Updates Examples. A Must Have Tool!
XTrueColorToolBar is an MFC class based on CToolBar that provides support for true-color bitmaps, with optional support for an Office-style color picker button.
You can share a peer's desktop with any others using this software, designate the sharer and viewers in any way you can imagine. Detailed development document and user manual can be found in the Download.
This tool captures a screen shot of anything on your desktop, like a picture or a section of webpage. This tool allows you to select a partial section of the whole screen with shortcut key.
A console library capable of colored input and output. Includes user definable menus, ASCII character windows, save/restore a screen worth of characters, 256 console color combinations, and a smart coloring.
The demonstration of reading, writing and creation of standard DBF files with random access in memory instead of serialization of typical MFC application for descendants of CListCtrl classes in Virtual Mode.
SqlDependency ,can be used to pick changes without executing query to see there is any update from database , WHERE CLAUSE can also be applied for narrowing scope, Its way to push changes from SQL Server to SQLDependency , .NET library , SQL Server Broker service sends updates to SQLDependency.
It's a simple dialog based Screen Capture that uses Global Mouse Hooks to capture the area selected by user, controls( i.e. Buttons, etc.), and any other Window.
SQLite is very suitable for memory constraint systems like WinCE, Palms, Smart Phones, embedded devices and also normal single user desktop applications.
This article covers calling Java functions from C using JNI. It also covers passing/returning simple parameters, arrays, and structure arrays in Java functions.
GLW is a simple, compact, drop-in framework for developing simple OpenGL games and demos. Its focus is ease of use, platform abstraction and small footprint.
This article exposes the Microsoft Vista and Server 2008 (and Windows 7) exclusive features that can be programmed using .NET languages like C#. It includes UAC, the Vista Bridge control library, and the Windows Search Provider.
NASA Space Shuttle Mission Schedule reads Excel files published by NASA containing the television schedule for Space Shuttle missions and provides the ability to enter and update the schedule in Outlook’s Calendar.
IGotMesasge is an open source Web-based application that allows individuals to easily record and send video messages to others. The software is free to download, install and use, and is easy to integrate with any website.
This article guides you to simply, yet effectively, prevent your software customers from copying your product without your authorization. I admit it is not a top-security solution, and it will be easy to crack without protecting your compiled code, but it is just for conveying the idea.
A command promt web server that starts an application or opens a file given in as an argument in an HTTP address. Could potentially be used to show media on screen using QR-codes.
Sometimes you have to save the content of a ListView to the user's filesystem. That's very easy to manage with the XmlText-Writer and Reader from the .Net Framework 2.0.
Fast image inversion forms a good basis for optimizing pixel wise operations. We will discuss the ways to achieve the best speed on this inversion operator.