|
|
|
|
|
| | Total Hits: 24 | Today: 0 | Author: Boby Thomas P | Rating:  |
| |  This article explains a generic communication interface to a peripheral device with a slower or faster data transfer rate than the data input. A typical scenario would be transferring data from a file to a serial port or a USB device or to the Internet wherein the data transfer rate is slower.... |
| | Total Hits: 9 | Today: 0 | Author: mystro_AKA_kokie | Rating:  |
| |  The decision to share this software isn't so much in the spirit of open source as it is a humble protest against not being able to find a job as a programmer. If they won't hire us, then we'll flood the market with free software. SOLIDARITY!... |
| | Total Hits: 9 | Today: 0 | Author: k4_pacific | Rating:  |
| |  This console program uses the GetTopWindow and GetNextWindow calls recursively to iterate through the entire tree of windows in the system. The program outputs information on these windows in a text based tree view. For each window, it shows the title, the registered class, the handle of the owner process, the coordinates, and whether or not the window is visible.... |
| | Total Hits: 8 | Today: 0 | Author: moloned | Rating:  |
| |  To any Matlab user interested in performance, the lack of a precision timer with microsecond resolution is a major shortcoming. Under Linux there are kernel patches available which provide this functionality, however under Windows one has to make to with millisecond resolution. Thankfully Keith Wansbrough has put his TSCtime package into the public domain providing precision timing from C/C++ programs under Visual C++.... |
| | Total Hits: 15 | Today: 0 | Author: Carlos Buelna | Rating:  |
| |  This is an AppWizard created using the MSVC's built-in Custom AppWizard. It is called GenWiz and it can be used with MSVC to create simple generic wizard skeletons. It is based on the CTreePropSheet class developed by Sven Wiegand.
This wizard is basically a clone of the MSVC's Custom AppWizard in terms of creating application skeletons by using templates and macros. The main reason to develop such a wizard was because I wanted the wizards to be independent executables instead of AWX exec... |
| | Total Hits: 24 | Today: 0 | Author: Simon Ellis | Rating:  |
| |  The company I work for, AutoUpdate+, creates software that manages updates for Win32-based software, which is great for mid to large scale users who need such a solution, but is a bit of overkill for the small developer. Many small developers only require a simple update solution, and frequently, it is only required to manage the update of the main project executable. This article will describe an autoupdate class I created, which is very simple to add to a project and which runs a little trick ... |
| | Total Hits: 43 | Today: 0 | Author: bcryner | Rating:  |
| |  There have been many times where I've created a batch of files with a specific piece of information, such as a date or id number. Prior to the creation of the mass find & replace tool, I had to manually change each file. The tool was created to take the standard windows find & replace idea and apply it to a whole directory of files.... |
| | Total Hits: 45 | Today: 0 | Author: PIEBALDconsult | Rating:  |
| |  The class presented in this article can be used to transform a mathematical expression from infix notation to Reverse Polish notation. By default, there is no validation of the expression, but some simple validation may be turned on through an Options parameter.... |
| | Total Hits: 21 | Today: 0 | Author: Thiagarajan Alagarsamy | Rating:  |
| |  Some of you would have faced a scenario where you wanted to pass data from one form to another in WinForms. Honestly, I too had a similar problem (that’s why I am writing this article!).... |
| | Total Hits: 21 | Today: 0 | Author: Greg Orchard | Rating:  |
| |  A couple of weeks ago, I finally managed to get a copy of Visual Studio 2008. Toying around with the new features of C# 3.0, I discovered some interesting tricks using extensions. Extensions are static functions introduced in C# 3.0. They allow developers to extend existing types without having to change the original code.... |
| | Total Hits: 29 | Today: 0 | Author: Vasudevan Deepak Kumar | Rating:  |
| |  When we host an ASP.NET application in a shared web host and in similar cases, we would not be in a position to use EventViewer to view System EventLogs. In these cases, we can use a simple ASP.NET page which will read all System Logs and display it page by page in the web browser.... |
| | Total Hits: 34 | Today: 0 | Author: Andrew_Thomas | Rating:  |
| |  This code example shows how to make your public methods safer to use. Especially, if they are to be used as libraries by others who don't have access to the source code.... |
| | Total Hits: 29 | Today: 0 | Author: Carl Johansen | Rating:  |
| |  A while ago, I was looking for a way to compare two objects as part of a unit test. I didn't want Assert.AreSame() because I didn't just want to see if they were the same object, and I didn't want Assert.AreEqual() because I didn't want to have to override Equals(). Ideally I wanted a general utility that would compare any two objects and say whether they were equal. I decided to define “equal” as “having the same value for all public properties”. I wanted a deep comparison, so if a public prope... |
| | Total Hits: 45 | Today: 0 | Author: Glaxalg | Rating:  |
| |  This article introduces a compare/synchronize tool written using C#. The control was initially created for the synchronization of two tables from different databases (production and testing databases). However, I noticed that it could be extended for comparison and synchronization of any object types. The demo presented in the article is used for comparing and synchronizing string based key-value pairs.... |
| | Total Hits: 49 | Today: 0 | Author: Yazeed Hamdan | Rating:  |
| |  This is a helper class to serialize/deserialize objects from/to bytes or files. This class encapsulates the BinaryFormatter for both operations.
Although the binary formatter usage is straightforward and it only requires couple lines of code, I think it's annoying to keep repeating the same lines on each piece that requires this functionality, and that's why I created a class to encapsulate such lines, and with only one line of code you will get your expected results.... |
| | Total Hits: 41 | Today: 0 | Author: BeSoft | Rating:  |
| |  While .NET class BinaryReader provides many useful methods, e.g., ReadByte, ReadDouble, etc., there are no such methods in TextReader. As far as I know, there is neither a .NET class similar to good Java Scanner class (java.util.Scanner) nor a .NET class providing methods similar to C/C++ CRT function scanf. This means that the reading of text files may become, especially for beginners, a nightmare. The common way is to read the whole line, split it into tokens and convert these tokens into the ... |
| | Total Hits: 47 | Today: 0 | Author: NaveenNayak | Rating:  |
| |  This tool is used to modify version information of .NET assemblies. This tool allows you to auto increment or to manually choose Assembly Version, and to increment version information of all assembly files under a selected folder.... |
| | Total Hits: 36 | Today: 0 | Author: Mohammad Dayyan | Rating:  |
| |  In this project, you will familiarize yourself with Random and Directory and File classes and a little with the Thread class.... |
| | Total Hits: 42 | Today: 0 | Author: TheChindu | Rating:  |
| |  HTML inspector is a really tiny utility that I wrote to spy on HTML pages. It is written in C# with just a couple of lines. It uses a web browser control for displaying web pages and a property grid control to display the attributes of the selected element. We can find everything about an HTML element by just clicking on it. If you make changes in the property grid, it will be reflected on the page.... |
| | Total Hits: 44 | Today: 0 | Author: drdandle | Rating:  |
| |  One day I was writing some code and had the need to work with the Windows registry. I was so happy that I was coding in .NET using C#. "How I love the framework", I was saying to myself. Then all of the sudden, I found that a critical method was missing. I found that I could not simply call a method in the framework to rename a registry key.... |
|
|
|
|
|
|
|
|
|
|
|
|
|