Open Source Tutorials & Articles
-
Exception Handling In C#
by Kamran ShakilAn introduction to exception handling, and the try...catch syntax
-
Simple PHP includes
by Jamie LindgrenEver had a website with a menu based system, and had to constantly update every page or use frames? With this tutorial, you'll learn to get around that with PHP, and it's easy, too.
-
Using ASP.NET Server Controls
by Carvin WilsonA basic overview of ASP.NET and how to use server controls
-
Process Management
by Joseph M. NewcomerSome techniques for managing processes in a program. Oriented to MFC programmers, since it includes MFC examples and defines a class for asynchronous process completion notification.
-
Saving the DC context
by Joseph M. NewcomerHaving trouble keeping your DC intact? Here's an article on how to do this far more easily using ::SaveDC/::RestoreDC, or CDC::SaveDC/CDC::RestoreDC, as well as a C++ class to make it even easier
-
WinChat For .NET
by Patrick LamWinChat For .NET is a simple peer-to-peer chatting program that functions very similarly to the WinChat program provided by Windows 2000.
-
Passing Variables By Value or Reference
by Mike JAn introduction to how best to pass a value to and between statements. Including hints to Optional, Defaults and Constant arguments.
-
Why are we criticizing VB.NET?
by David R. K. DeLovehDavid DeLoveh takes a look at the pros and cons of VB.NET
-
A comparison of C/C++ and C#
by John GodelIs C# a new programming language or a new version of C/C++ ?
-
A Quick view from C/C++ to C#
by John GodelA quick view from C/C++ to C#, the new .NET language from Microsoft
-
Handling Errors in VB/VBA/VBS/ASP
by Mike JThis article will discuss some of the more basic and practical ways to solve general error handling in your Visual Basic applications and MS Office VBA modules. It is in many ways applicable to VBA, VBScript and ASP, in much based on the same syntax and practical solutions in your code.
-
Using Components and Objects in ASP
by Talal Ahmed SiddiquiAn introduction to COM objects, and their use in ASP
-
Surviving the Release Version
by Joseph M. NewcomerOK, you've built the project, debugged it, and you're ready to ship. You compile the Release version of the program, and your world crumbles to dust. Find out what can be wrong, and what you can do about it.
-
Optimization: Your Worst Enemy
by Joseph M. NewcomerOptimizing a program before you know where the time is going is a meaningless activity. It wastes your time, produces code that is harder to write, harder to debug, and harder to maintain, than unoptimized code. This essay discusses some of the issues of why you should not do pre-optimization.
-
Using User-Interface Threads
by Joseph M. NewcomerI discovered the utility of user-interface threads a few weeks ago. This essay captures what I learned. In particular, there are some interesting issues of thread initialization that are not readily addressed. This also discusses why a user-interface thread may have no GUI objects associated with it
-
Avoiding Multiple Instances of an Application
by Joseph M. NewcomerIn Win16 it was easy: you looked at the hPrevInstance parameter to WinMain and if it was nonzero, you were the second instance. Done. In Win32 it isn't as easy. And there are several wrong ways, and some that don't work at all. This essay explores the techniques and tells you what the pitfalls are,
-
Worker Threads
by Joseph M. NewcomerThis describes techniques for proper use of worker threads. It is based on several years' experience in programming multithreaded applications.
-
Message Management
by Joseph M. NewcomerThe use of user-defined messages gives you additional power and control over your application, and provides an often convenient method for passing information between threads and applications. This essay goes into considerable depth on how to handle user-defined messages, inter-thread messages, and
-
Attaching and Detaching Objects
by Joseph M. NewcomerWhen you create an Windows-related object in MFC, you are actually creating a "wrapper" around the underlying object. There are interactions between MFC and Windows which can get you into serious trouble if you are not careful. Read this to learn more.
-
A Validating Edit Control
by Joseph M. NewcomerHave you ever wanted a control that only accepted valid values and gave feedback to the user? This is a little project that illustrates the techniques for building a validating edit control.