Download cSharpWebSite - 141.99 KB Introduction & Background
Model
View Presenter (MVP) is a design pattern used for web as well as windows
application. It specially uses where the application has some user interface
for interaction like winform for windows app and webform for web app. In this
tutorial, I will show you how to implement MVP in web app as well as windows
app. Another im
Download ArticleAutoUpdater - 284.84 KB
Launcher/Updater
Introduction
When we develop web-based solutions, usually, we are in charge of updating the installations to use a current version. We fix some bugs, add a feature, make a patch, and deploy it so that our customers can continue using our software without interruption. But when we have clients installing our software, we still need to give
Download AnalyzeTestResults - 591 B
Download TestResult - 67.57 KB
Introduction
The code corresponding to this article is available on CodePlex here.
Articles in this series:
Aimee.NET - Refactoring Lucene.NET: Setting up the Project
Aimee.NET - Faster Unit Tests and Refactoring the Documents Folder
This is the second in a series of article on refactoring Lucene.NET to follow .NET be
Download BTable.zip - 115.81 KB
Introduction
This article describes a text table control with editing, checkboxes, cells merge, multiline and customizable appearance. Data binding is NOT supported.
Here is a screenshot:
Background
In one of my projects I needed simple table/grid control for text with minimal edit functions but with word wrap and
Download source code - 163.97 KB
Introduction
Many web pages can benefit from an ability for the user to change the font size dynamically. This article describes a method to build web pages that provide that functionality using HTML and JavaScript.
Background
Quite often, I find myself using the Ctrl-Plus shortcut (in Internet Explorer) to increase the size of a web page font. Unfortunately
Download BikeInCitySource.zip - 759.15 KB
Contents
Contents
Contents
Introduction
Background
Architecture
Data Model
Using and emulating GPS
GPS in emulator
Computing distance on Earth’s surface
Getting the data
Getting information from the bike system
Getting list of all stations
Getting the details of a station
Using Bing Maps Services
Geocoding address
Calculating Route
Preparing t
Source
Download Xml2Xsd.zip - 5.07 KB
Download Binary Xml2Xsd_bin.zip - 6.07 KB
Introduction
Frequently in line of business projects you need to generate complex schemas.
This article outlines rapid prototyping of high quality/maintainable schema from sample xml such that derivative object models generate cleanly in all platforms.
Background
There are many tools for creating a
Download Datalinking_Sample - 54.16 KB
Data linking with jQuery
Introduction
What is jQuery
Prerequisite
Data linking
One way linking
Converters
Two way linking
Conclusion
Feed back
Introduction:
Recently, Microsoft anounced three jQuery plugins as Official plugin.
jQuery Client Templating
Data linking
Globalisation.
In my last article, I discussed about the jQuery Templating.
Introduction
The point of using plain old class objects (POCO) is to abstract your data from the Entity Framework v4 (EF4) .edmx files for the purposes of portability, testing, data security, data validation, and providing data services; further abstraction is placing the POCO classes in a DLL separate from the EDMX file. This article does just that by demonstrating how to generate plain old clas
Download zzutils_codeblocks - 16.82 KB
Download zzutils_eclipse - 4.72 KB
Introduction
Here have some open source projects which can create word documents in java, like apache poi, itext, etc. But use COM is a simple way to create word documents in java under windows platform. So I will show how to use JNI technology call windows COM in this article.
Setup development environment
1. Downl
Introduction
Every professional C++ programmer knows about the complexity levels of C++ programs, about the deeply buried bugs in code and difficult approach to find and resolve them. Even after compiling the code with highest warning levels, few bugs remain persistent in code. Thus, the need for a tool that can analyze the code in heuristic manner, i.e. by intelligently looking at surrounding co
Download source files - 65.4 KB
Introduction
Mapinfo tab to ESRI shapefile converter can convert MapInfo vector tables to the ESRI shape format. It is implemented as a command line interface to IMUT.exe.
Using the Code
This is a code sample, and will only work with Universal Translator Imut files.
char szExeFile[1024];
sprintf(szExeFile, "\"%s\\imut.exe\" CFGenerate "
"MAPINFO SHA
Download solution (VS 2005) - 1.53 MB
Download solution (VS 2008) - 1.19 MB
Introduction
Here are two projects that work together to remote control PCs. This software only works for XP and above, and is very stable. The server can handle multiple clients, and each client can handle multiple connections to the same or different servers.
The projects are a server and client pair. The server is
Table of contents
Introduction
1. Prerequisites
2. Transfer process
2.1 Removing the unnecessary code
2.2 Preprocessor and conditional compilation.
2.3 switch and goto operators
2.4 Time to gather stones
2.5 Preprocessor again and multiple inheritance
2.6 typedef operator
2.7. Pointer arithmetic
2.8 Function pointers
2.9 Isolation of the "problem code"
2.10 Changing compiler
2.11 Making it all wo
Introduction
As it is well known smart pointer with reference counting in C++ are responsible for sharing object pointer and managing its memory life cycle. When using smart pointers it is assumed that internal object pointer that is managed by the smart pointer is not accessible outside the smart pointer. Accessability of the internal object pointer outside the smart pointer may lead to an accid
Download source code - 153.22 KB
Download demo - 75.8 KB
Introduction
In MFC, resizing or repositioning controls could be quite bothersome. If you are familiar with the .NET platform, things are much more simplified with the use of the Anchor and Dock properties of the Control class and design-time support for adding child controls to container controls. I tried to mimic some of th
Download code from SVN (Code Google)
Introduction
Xpdf is an Open Source library released under GPL license; they have an ActiveX with commercial license, but some time ago,
before I knew about this commercial control, I wrote this wrapper library to render PDF files in C#.
Background
The basic idea is create a preview of PDF files in C#. After looking at many places
Download source code of FileEnum - 55.6 KB
Download demo of FileEnum - 35.14 KB
Download source code of QuickOpenFiles - 122.32 KB
Download demo of QuickOpenFiles - 62.96 KB
The demo application, QuickOpenFiles.
Introduction
Microsoft provided a sample code for Listing Files in a Directory, but that example code cannot be used to list files in the sub-directory, so how can we do that?
E
Download XLineCounter_1.0_source.zip - 4.29 MB
Introduction
XLineCounter is a open source C# program to analyze source code files and count number of source code line. It can count number of source line, comment line and blank line.
Background
Million of programmers work hard year after year, and write many source codes in C++, C#, VB or Delphi. Some times they want know how many line
Download mp_object - 1.01 KBDownload main - 447 B
IntroductionSometimes it is useful to have dynamic message passing as in Objective-C. The small header presented below allows any class to contain a dynamic message map that can be used to add methods dynamically to an object.BackgroundObjective-C is deemed more flexible than C++ because it allows a form of dynamic dispatch known as message pas