Programming Tips - Design and Strategy
Trial of popular REST implimentations for NodeJS including the measuring of MongoDB insertion rates.
A pattern for an always available cache using asynchronous refresh.
6 Sep 2013
Ryszard Dżegan
How to not damage yourself when using inheritance.
11 Jun 2011
Omar Al Zabir
AspectF is a simple way to do Aspect Oriented Programming style coding which makes your code a lot cleaner and more maintainable.
Create loose coupled States using a Finite State Automation (FSM) model.
8 May 2014
Giovanni Scerra
A good architecture means money saved in learning, maintaining, testing, fixing, extending and scaling source code. The following guidelines are not exhaustive and are meant to be applied on top of the SOLID principles and proper use of OO Design Patterns.
12 Jun 2009
Alex Perepletov
Using the ComponentModel namespace to implement unlimited baselines.
Using a Dictionary instead of a switch-case construction to reduce complexity and increase testability
10 Dec 2007
Eric De Carufel
This article decribes an easy way to debug Windows Services without having to deploy it.
How to create a very simple and very basic IoC container from scratch
26 Jan 2013
Erich Ledesma
How to build an object to calm down event traffic.
An article demonstrating the usage of Chain of Command Design Pattern concepts to perform validation and processing of complex data.
The importance of creating a POC as the first step to your next adventure
An article explaining the benefits of learning assembly language
This article presents a method for controlling multiple Forms with a finite state machine
Using Perl's object oriented interface to extend existing types
20 Jan 2011
Carlos Conceição
Using data-structures to do away with boiler plate code.
15 Nov 2007
Danny Ruijters
An article on how to collapse the progress feedback given by multiple routines in a single progress bar
A pattern for simplifying the building of applications supporting undo/redo, applications with complex dialogs and distributed applications
18 Nov 2010
gaurav_verma_mca
An end to end article describing how to use file stream data type in SQL Server. This article discusses both SQL Server and .NET side of things.
Useful tips to excecute stored procedure using nHibernate
An article on XML parser or code generation automatically.
A suggestion for when to use or not use interfaces
Alternative way for implementing Abort/Retry/Ignore logic
Why to prefer object composition over inheritance
How to build a single datalayer DLL that can be used by any application
How to use SEH to supply a parameter to a function.
Simple example of MVC (Model View Controller) design pattern for abstraction
A beginner's guide on how to send emails (via SMTP) and SMS text messages when you don't have adequate access to the necessary resources
An article that describes how to write applications that always quit gracefully.
5 Dec 2006
John Simmons / outlaw programmer
Compare floating point numbers for equality at programmer-specified precision.
An article about application users and their perception.
We provide a challenge to conventional wisdom of verb first to aid in grouping of names.
In this article, an integration between a CRM and an Exchange will be explained by using WebDav
Programming Tips - General
Using this smart 'FIXME' macro will help you not to forget to fix your code.
Having spent far too much time benchmarking different code recently, here are some lessons learned!
About the bitness challenge in software development
20 Dec 2013
muhammadumairomee
Telemetry client software for an amateur UAV project which displays data in real-time and also for offline usage
JavaScript class library which partly replicates Microsoft .NET Framework structure and functionality.
Executing VC++ codes in STACK or HEAP
A method for profiling C++-applications with freely available tools (vsperfcmd, vsperfreport, and a C#-application for viewing the results)
11 Jun 2011
Omar Al Zabir
Everyone knows automated tests are good, unit test is good, we should all do it. But when you try to convince management that it's going to take double the time to deliver anything from now on, you are kicked out of the room. Learn how I convinced a dev lead to do automated test.
23 Jul 2009
Apriorit Inc, Alex Kolesnyk
This article describes the first steps in low-level programming on the example of developing of simple boot loader
13 Sep 2006
Nish Sivakumar
Shows how to use CFSTR_FILEDESCRIPTOR and CFSTR_FILECONTENTS to perform drag/drop with virtual files
17 Dec 2013
Florian Rappl
A close look at some powerful features of C# that are less known but sometimes come in very handy.
13 Aug 2000
Joseph M. Newcomer
Learn about the potential pitfalls of code optimization.
11 Jun 2011
Omar Al Zabir
A story of a typical offshore project which is overdue, customer shouting and screaming, offshore guys working day and night and how we brainstormed on some tricks to get out of this.
27 Oct 2002
Todd C. Wilson
Save time and space in your release builds - fight bloatware!
18 Jan 2012
Florian Rappl
Investigating the cost of an operation in cycles within a real world, i.e., no peak, performance measurement of C#, C++, Java, Fortran and JavaScript
Setting up doxygen, a free tool to document your code, in a few simple steps.
A beginner's guide to talking like a computer.
A shell extension that deletes compiler temp and intermediate files.
A simple implementation of an INI file reader using the boost::spirit framework
Programming an animated agent similar to the office assistant.
28 May 2003
Chavdar Dimitrov
An article describing how a C++ compiler uses the stack.
28 Feb 2013
Anuja Pawar Indore
Some tips that should be taken care before developing ant health care site.
26 Jun 2003
Marcelo A. B. Slomp
How compiler's code optimization models works and mixing its to create an hybrid optimization model.
Building boost libraries for Visual Studio
2 freeware utilities to quickly change Screen Depth and Resolution.
24 Feb 2003
Heath Stewart
Using alternatives to importing type libraries and COM objects can improve the portability of your source code.
26 Sep 2013
Shakeel Iqbal
This article will guide you step by step to write good software every time.
25 Oct 2013
Niel M.Thomas
Automating the Attach to Process from within Visual Studio.
5 May 2011
Garth J Lancaster, Jeffrey Walton
Avoid common pitfalls when using Crypto++ and VC++.
How I used Scrum as guide for gambling in Vegas
Comparing the code styles when you use a normal event handler, Rx (Reactive Extensions) and YieldAwait library.
28 Jan 2012
Bayram Üçüncü
The aim of this article is developing a Factorial Application using Test Driven Development
25 Aug 2004
Jörgen Sigvardsson
This article shows how to extract accelerators and convert them into human readable text, using the language settings for the current user.
Using JNI and COM technology generate Word documents in Java under Windows platform
9 Sep 2011
Vasily Tserekh
Ten things to achieve when starting 3D programming
12 Apr 2005
Nish Sivakumar
A class derived from CSMTPConnection that queries the MX record for a target domain and uses that to send mail
An example of how to program in assembly by using Visual Studio 2010 or 2012
11 Apr 2011
John_P_Cronan
The article discusses ways to prevent defects resulting from mismatched units.
29 Oct 2013
Software Developer's Journal
A brief discussion on what is involved in making the text background of the desktop icons transparent.
A UserType.dat file that provides syntax coloring for user-defined keywords in Visual Studio
11 May 2014
Giovanni Scerra
Discussion on the root causes of failure when undertaking code refactoring
8 Mar 2008
Christian Graus
A primer for people looking to learn to help themselves find answers to programming questions
This article is intended to help conceptualize the area of JavaScript Object Oriented Programming by comparing it to the way .NET CLR works.
28 Jun 2001
Victor Vogelpoel
This article describes how to hook up a protocol, in the example "vss:", to a custom handler to open a document from a Visual SourceSafe repository using automation.
17 May 2000
Joseph M. Newcomer
Learn effective methods for logging and debugging your Windows apps.
An article on developing software while running with least privileges in Windows
7 Jun 2007
Stephen Boissiere
A description of a bug in the Visual C++ 2003 compiler and a workaround
Still struggling to find the ultimate COFF to OMF converter to link some code with Delphi? You don't need to anymore.
22 Feb 2008
Stephen Inglish
The implementation for a deep clone helper class
31 Jan 2007
Volodymyr Frolov
The article describes an idiom which can help create a highly customizable template library in C++ by applying an immense level of parameterization.
11 Dec 2001
Brandon Bray (MSFT)
Visual C++ .NET goes to an entirely new level with Whole Program Optimization. This article discusses everything that the compiler can do using this new framework for optimization and how little the developer must do.
A simple MFC demo application that demonstrates using the res: protocol to use resources in your applications
11 Feb 2012
Venkat Chaitanya Kanumukula
Tips and Enhancements in Dynamics AX
Choosing your open source license
10 Mar 2010
_ Kunal Chowdhury _
In this article I will describe about some new features of Visual Studio 2010 which I explored till now. These features are really very useful in terms of productive development. This article is mainly targeted for beginners of Visual Studio 2010 but everybody can get benefit on the same.
2 Jun 2005
Nish Sivakumar
Describes a function that overcomes the inadequacies of IsAppThemed and IsThemeActive.
This article will address tools and technologies to identify bottlenecks and key consideration points for performance improvement.
Using Borland Assembler Language in 32-bit and 64-bit Delphi programs.
A scripted approach to automating Visual Source Safe backups
This article presents a reusable base class for implementing singletons in C#.
How to display the "Find" window in a CWebBrowser control.
17 Sep 2002
Ernest Laurentin
Series of tips for Visual C++ Developers
18 Jan 2000
Sean Echevarria
Having problems with Devshl.dll? Don't reinstall Visual Studio until you've read this!
14 Feb 2001
Paul Westcott
Use templates to initialize structures or simple member variables.
Basic Regular Expressions with detailed examples.
Learn how to take advantage of the caching support in FrameworkGen
10 Dec 2010
David Thielen
If you're going to do much more than place a line of text in a form, then the details start to matter.
12 Sep 2012
Jayson Ragasa
Passing Values Between Multiple Projects using Interface
7 Feb 2014
muhammadumairomee
Understanding character encoding with the help of simple examples
Save time and impress co-workers with these great keyboard shortcuts
25 May 2006
Boby Thomas P
C++ Development using eclipse IDE– Starters guide
29 May 2012
Adam Roderick J
A brief and basic explanation about the PE data structures, with a sample
27 Sep 2010
Andreas Gieriet
.NET 4 finally allows to define polymorphic extension visitors
How to extract the full name, including version, public token key from an assembly and then unload the assembly!
A tip for using object serialization
What is RSS and how it is used to retrieve information.
This article presents four useful code snippets, solving four common coding problems
A simple registry modification to make Visual Studio apply syntax colouring to VBScript files.
30 Mar 2004
Nish Sivakumar
Article explains the differences between malloc/free and new/delete in a C++ context
How accessing the Yahoo! Finanace page sppeds up your application.
A utility that lets you browse to a MS Knowledge Base article right from the Run dialog
VS Editor Tip: How to use Quick Macros
A compendium of short cuts, tips and tricks, features, whatcha-may-callits for the Visual Studio .NET IDE.
The topic of this article is pointers. I describe below some problems, bugs and technique solutions that correspond with using pointers. This article would be useful for beginners and programmers who use other programming languages and are starting to study C++ now.
An article on using the Gallery to resuse classes.
Second Part: How to take advantage of the goodness of SQL Parameters also in Transactions
An article on how to call an existing description in the designer
22 Oct 2007
Kirill V. Lyadvinsky
Article describes a way to place complex class containing dynamic array with non-trivial members in continuous memory block
16 Oct 2008
Ciro Sisman Pereira
Demonstrates how to create a simple application that interacts with terminal standard I/O ports to provide an IPC pipe based between processes
This article shows how you can make your existing C++ code available to .NET environment
24 Jul 2002
Moritz Leutenecker
Modifies the new VS7 Member Function wizard to add a member function without using the parameter list
21 Jul 2010
Miki Rozloznik
Introduces a scoped handle template class to call delete handle methods automatically.
An article that demonstrates how to write C# to draw via the WPF engine
28 Jan 2008
Manish Ranjan Kumar
This article explains how to make your application shutdown aware
11 Mar 2008
mav.northwind
How to make your life a little easier while developing a service
This article describes ways to reduce the final size of your applucation's EXE file.
New method of calculating a contrasting color for a given color
26 May 2007
Matthew Faithfull
Presents an easy method to control order of initialization for static objects
29 Aug 2004
Lim Bio Liong
This article demonstrates the importance of the sequence order of object creation in C++
How to take advantage of the goodness of SQL Parameters also in Transactions
A beginner's introduction to one of the optimization methods.
25 May 2010
Richard Blythe
Helpful tips and insights from one single developer to another.
Demonstrates, with simple code, what happens when you pass a parameter ByVal or ByRef
Measuring Processor Performance
Optimised code for valid data length to FFT
13 Sep 2009
Scott Norberg
Here I suggest some guidelines that all programmers, regardless of language, can follow to keep their code maintainable by others.
Visual Studio Coding Themes
23 Dec 2010
David Thielen
If you write code that touches a text file, you probably need this.
Explains Memory Model and ways to implement singleton pattern
How to reformat Microsoft VC wizard template generated code so the generated code is more palatable
17 Apr 2008
Mr.PoorEnglish
Converting complex Object-structures to string and reverse. Storing the result in an application-setting improves configurations flexibility substantially
10 Sep 2002
Milind Shingade
This article gives tips on internationalization of existing software
18 Oct 2010
John Paul Walker
How to think like a programmer
10 Mar 2000
Shankar Chandra Bose
A Hex Viewer Shell Extension.
A profiler which calculates the total and execution time elapsed for each function profiled
22 Aug 2007
Alexei Valyaev
An article provide new C++ idom to avoid code duplication.
This is an article about the const keyword, its details and why you should worry about it.
How to extract the full name from an assembly including the public key token
27 Sep 2002
Jörgen Sigvardsson
This article describes a design pattern on how to implement generic delegates as found in .NET, but using ordinary/unmanaged C++
Remote Commands on a Computer
An article that explains some ways to learn the F# language
An article explaining the rudiments of how to deal with Flags in C++
18 Mar 2011
Rajamohan.Rajendran
How to build a .NET application using Maven
22 Dec 2011
Bangla Gopal Surya Prakash
How to work with Leads package in salesforce
How to hide a combo's list after selection if the selection starts a long operation
Kill your program before the user will do it! Traps techniques and VC++/C++ notes for beginners
Synopsis of GPL v3 discussed in simple terms
An article on how to use text template with replacement variables in VBA
6 Jan 2011
John Paul Walker
Some things we can do to make QuickSort more efficient
How to send a user-defined message with SendMessage, PostMessage or PostThreadMessage
14 Aug 2002
Andreas S. Franci Gonçalves
Explaining the phenomenon of x^=y^=x^=y;
This article describes a way to make matrix vector multiplication faster.
24 Mar 2002
AFShin Dehghani
Get the Start button handle and manage it.
7 Jan 2009
Thilina S Hasantha
In this article, I’ll show you how to compress and extract files easily in Java using ziputil.jar.
18 Mar 2006
Mohammad Ashraful Alam
This article presents a new sorting technique. According to a certain characteristic of the distribution of data elements, performance of sorting can be highly improved.
This article demonstates how to use Microsoft C++ as a spellchecker while programming by making excessive use of the user-defined keyword feature
A small function to retrieve the directory a program is being executed from
4 Jan 2009
Rupesh Kumar Swami
An article for beginners that describes that how can we apply form level validation and some common database functions
18 May 2006
Richard Lewis
Straight-to-the-point reckoner for avoiding security issues when allocating memory in C and C++ by Richard Lewis
21 Feb 2008
PIEBALDconsult
A brief comparison of techniques of testing for empty strings
In this article, I will explain how to use Microsoft SQL Management Objects (SMO) to create a Microsoft SQL database from C# code.
5 Feb 2002
Joseph M. Newcomer
An example of one of the most effective uses of the the call to FormatMessage
Tips to write useful code
Find/Replace text in Visual Studio using regular expressions
21 Oct 2003
Duncan Edwards Jones
7 tips to make you a better citizen in the developer community.
27 Mar 2006
hector [.j.] rivas
Tired of searching for the __FUNCTION__ macro to debug your apps in VC++ 6.0? Here's a little overkill to replicate it
A small program for removing debug information from object files that aids incrementally linking extremely large projects.
20 Jan 2000
Jeremiah Talkar
A tip on organising your project files in the DevStudio Workspace window
18 Jul 2001
Joseph M. Newcomer
A simple method of creating a unique name or identifier.
Programatically get the default mail client using registry
Explain why and how to use PIMPL
16 Jul 2002
John Alessi, Quiksoft Corporation
An easy and accurate way to use bounced messages to clean your address list.
26 Apr 2008
Derek Bartram
This article, the first of a series of articles, presents an objective analytical analysis of language performance for Java and C# .NET
7 Dec 2003
John L. DeVito
This code is a simple way to disable the close button on a Windows Console Application. It can also be used to disable any of the system menu buttons
Explain how to get the address of KeServiceDescriptorTableShadow
26 Mar 2009
Vuyiswa Maseko
How to Store and Retrieve a ConnectionString from a Web.Config or App.Settings File
This article explains how to use Internet Explorer add-ins to view documents that cannot be usually viewed from inside Visual Studio.
25 Sep 2008
Kivanc Ozuolmez
For the software itself, it is easier to discuss its quality by measuring its performance, memory usage, number of the bugs etc. But what if we talk about the code file, how can we write code that we are proud of.
Using UNION when porting a Fortran EQUIVALENCE code.
14 Feb 2001
Ivan Martynov
Samples of C++ coding styles that will help you to create solid code
Broadcast a message to multiple instances of an application
Ever wondered why that GetVersion function reported your operating system was Windows 98, when infact it is indeed Windows ME?
One of my favorite refactoring tools is Visual Studio's "Replace in Files" dialog
29 May 2002
Andreas S. Franci Gonçalves
How to (really) annoy your friends and foes or even your boss.
Some traps to lookout when packing bits into a structure
When using SqlParameters in a query, the array of Parameters can give a headache. How to prevent the use of paracetamol.
trick to pass variable-argument list to next va-function
Inline Development Comments Automation
This article describes how to lock some functions in a shareware product. Users can unlock them only after obtaining keyfile
Extend the "runas" command to run a program as a specified user.
16 Nov 2008
Gopi Krishna Nuti
Bad coding practices
Routines to validate E-Mail addresses and Phone numbers
How to easy download images from the web and save as bitmap supported format.
How mangling changes in VC++ 6.0 and VC 8.0 can cause problems in your existing application and how to solve it.
Functor implementation. Event mechanism creation.
14 Jul 2005
Balamurali Balaji
This articles focuses on building your classes and the cohesion factors you need to keep in mind while writing programs.
Shows how to make callback to functions within classes that are non-static.
25 May 2002
Rajesh Parikh
How to create splash screens that display more than 256 colors
How to take user's action when your program is busy.
A series for simplifying the learning of software architecture
A Smallest Game Demo Code
An article on designing a DAL in a personal way
28 Sep 2004
Milind Murlidhar Shingade
Explains object oriented principles
20 Apr 2005
Vivek Ragunathan
An article on C++ coding style, practices and discipline.
28 Jan 2012
Venkat Chaitanya Kanumukula
Extract All tables from Dynamics AX 2009 Data Dictionary Configuration keys
So I’m working on a ‘dashboard’ style datawindow in an application which shows a grid of data along with some graphics so the user can easily see changes/important stuff. There are a number of reasons to use a grid datawindow for this, especially since they can easily be changed by