Tuesday, May 6, 2008

[CodeProject] Newsletter (5 May 2008)

For comments or enquiries please contact webmaster@codeproject.com View online Monday, May 05, 2008

Welcome to this week's newsletter from The Code Project.

To ensure that future newsletters you receive from The Code Project aren't mistakenly blocked by antispam software, be sure to add the maillist.codeproject.com domain to your list of allowed senders.

Site News

We're constantly adding and improving the features on CodeProject.com but I wanted to mention a few that I thought would be most valuable:

  • RSS feeds on all programming and general discussion forums
  • A quick filter in all Tables of Contents for articles. Just start typing the article title and the list will shrink down until you've found what you are after.
  • Simplified voting for Questions and Answers on the message boards.Even if you can't answer a question please mark a question as Good or Bad to help others spot the ones most deserving of an answer.

And there's still a ton more on our TODO list.

Calling all Java, PHP, Linux, Apache and MySQL authors

We're built the sites now we'd love for you to fill them! If you have an article on Java, PHP (or Perl, or Python), Linux, Apache or MySQL then you can post them directly to Java.CodeProject here or LAMP.CodeProject via  this link.

Does your company produce a tool or component of interest to Java and LAMP developers? If you'd like to sponsor a monthly competition similar to the C++/.NET ones we currently run then please contact me at chris@codeproject.com

The links to the voting forms for the best articles of last month are up on the homepage so please take a moment to vote for the most helpful authors of last month.

The Code Project Offers

Windows Installer without Rocket Science
Easily produce bullet proof Vista certified MSI installations without having to learn the internals of Windows Installer. Our unique MSIcode technology offers runtime branching, setup chaining, conditional compilation, interactive Flash billboards, and more. Download FREE Trial
Are you VS 2008 ready? Is your UI toolset?
Line of Business UI Components for CLR 2.0, 3.0 and 3.5
Winforms, ASP.NET, or WPF - sample code & Free support!
Learn, download & try the bits before you buy!
EMC Documentum XML Store OEM Edition enables the fastest, most scalable, and most complete native XML database. XML Store uses and supports all XML standards and offers numerous features to help make XML processing in applications easier than ever.
Free Paperback Book Best Kept Secrets of Peer Code Review. See how lightweight processes result in effective review without the burdens of traditional inspections. Case studies and stories from the field. Brought to you by the makers of Code Collaborator, a tool for lightweight code review.
IMSL® C# Numerical Library for Microsoft .NET - industry standard numerical analysis and charting for C# and VB.NET. Unprecedented analytic capabilities. Most comprehensive and accessible advanced mathematical, statistical and finance algorithms. Free trial or 20% purchase discount on first license!
Generate Web 2.0 Applications in Minutes
Generate database and reporting applications for .NET in minutes. Quickly create visually stunning, feature-rich Web 2.0 applications that are easy-to-customize and ready-to-deploy. Download Now
Dundas Reporting Services CPU Sale – Get more attractive and sophisticated reports in SQL Reporting Services - and save! For May only, buy a primary license of any of our Reporting Services products and receive an extra CPU license free (up to a $1599 value).

Weekly Poll Results

What office environment suits you best?

Survey period: 28 Apr 2008 to 5 May 2008

Do you like to see and talk to your fellow developers or do you prefer a little privacy?

OptionVotes% 
Working from home37234.29372 votes, 34.29%
Private cubes32529.95325 votes, 29.95%
Separate desks, open area29026.73290 votes, 26.73%
Shared desks, open area524.7952 votes, 4.79%
Shared cubes464.2446 votes, 4.24%
Total1085  100%1085 votes

Most popular new articles 28 Apr 2008 - 5 May 2008

Latest Additions

82 articles overall 42 new, 40 updated, 12 moved. 34 were edited, 48 unedited
Article topics listed: All Topics

Too many articles? Visit your profile page to change your newsletter article filters.

New articles added Last week

List Controls

  • Enable MultiSelect in WPF ListView - Leung Yat Chun
    Make your ListView support Item Selection by Dragging, (Unedited)
    C# (C# 3.0, C#), Windows (Windows, WinXP, Vista), WPF, Design, Beginner

Ajax and Atlas

  • Dynamic UpdateProgress Control - Jamie Pompu
    Hide sections of the page when an UpdateProgress control is activated (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0, C#), .NET (.NET, .NET 3.5, .NET 3.0), Visual Studio (VS2008, VS, VS2005), ASP.NET, Dev, Intermediate, Advanced

  • ASP.NET client validation call out extender - Enoch Tsai
    An extender that "hacks' into .Net 3.5 client validation without tempering its base structure to provide rich and interactive client validation enhancement with visual effect from jQuery library. (Unedited)
    C# (C# 3.0, C#), .NET (.NET, .NET 3.5, .NET 2.0, .NET 3.0), ASP.NET, Ajax, Design, Dev, Intermediate, Advanced

  • Triggering AJAX UpdatePanel from a Button Click or DropDownList Selection Change in Code-Behind - Robert Pittenger
    This article shows how to make a Button click or DropDownList selection change trigger an update to an AJAX UpdatePanel with all code written in code-behind
    C#.NET 2.0, ASP.NET, Dev, Beginner

  • Faster JavaScript StringBuilder - Ferreri Gabriele (Megasoft78)
    A faster Javascript StringBuilder.
    C#, JScript, ASP.NET, Ajax, Dev, Beginner, Intermediate

ASP.NET

ASP.NET Controls

  • GridView Rows Navigation Using The Arrow (Up/Down) Keys. - Samir Nigam
    This article describes how to navigate GridView rows with the help of the arrow (up/down) keys using JavaScript. (Unedited)
    C# (C# 2.0, C#), JScript, CSS, HTML, .NET (.NET, .NET 2.0), ASP.NET, ADO.NET, Ajax, Dev, Intermediate, Advanced

Client side scripting

Internet / Network

  • A Code Project Article Information Library (Part 2) - Derek Bartram
    This library provides a framework for using Code Project article information in applications, and provides a utility for extracting user information (Unedited)
    C#, Windows (Win2K, WinXP, Win2003, Vista, Windows), .NET (.NET 2.0, .NET 3.0, .NET 3.5, .NET), Win32, Win64, Arch, Dev, Beginner

  • The Code Project Kevin Bacon Game (Part 3) - Derek Bartram
    A Code Project orientated Kevin Bacon game utilising the CodeProject.dll (Unedited)
    C#, SQL, Windows (Win2K, WinXP, Win2003, Vista, Windows), .NET (.NET 2.0, .NET 3.0, .NET 3.5, .NET), Win32, Win64, CEO, Arch, DBA, Dev, QA, Design, Intermediate, Advanced

Silverlight

  • Silverlight2 Lightbox - Tim Mason
    A Silverlight2 lightbox control (Unedited)
    C# (C# 3.0, C#), JScript, .NET (.NET, .NET 3.5), Visual Studio (VS2008, VS), XAML, Design, Dev, Intermediate

  • Silverlight 2.0: The first native rich text editor - Christoph Husse
    In contrast to existing ones, my RTE is fully written in C# and doesn't use any HTML rendering or JavaScript. Most common features are supported! (Unedited)
    C# (C# 3.0, C#), .NET (.NET, .NET 3.0, .NET 3.5), XAML, WPF, Design, Dev, Beginner, Intermediate

  • A Textured Triangle Control for Silverlight 2 - the Basic Building Block for 3D - Florian Kruesch
    This article is all about implementing a triangle primitive as custom control in Silverlight 2.0 that can be used for 3D effects in Silveright. (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0, C#), .NET, XAML, Dev, Beginner, Intermediate, Advanced

Web Security

  • Query string encryption for ASP.NET - Michael Ulmann
    Clear text query strings are a potential security threat for your web application. Thus, query strings should be always encrypted. (Unedited)
    JScript, CSS, HTML, C#, ASP, ASP.NET, Ajax, Dev, Beginner, Intermediate

Database

.NET Framework

  • Publishing Remote Object From IIS - ayrilmaz
    How to publish a remote object using IIS (Internet Information Server) (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0, C#), Intermediate

  • JIT Optimizations - Sasha Goldshtein
    In this article, we will look into JIT optimizations, with specific focus on inlining.
    C# (C# 1.0, C# 2.0, C# 3.0, C#), ASM, MSIL, Windows, .NET, Dev, Design, Advanced

  • Handling HTML Events from .NET, using C# - Sharon Salmon
    This article demonstrates a simple way to bind to any HTML document event from a .NET WinForms application or a BandObject or a Browser Helper Object.
    C#, VB (VB 7.x, VB 8.0, VB 9.0, VB 6, VB), .NET, WinForms, Intermediate

  • Running a ClickOnce application from another program - dwrogers
    A bootstrap loader to execute a ClickOnce application - written in C# (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0, C#), VB, Windows, .NET, WinForms, Arch, Dev, Intermediate

Windows Communication Foundation

  • Simple WCF - X509 Certificate - meetsenthilbtech
    how to create Temporary X509 certificate and also to implement X509 Certificate security in WCF service and client (Unedited)
    WCF, Dev, Intermediate

Windows Presentation Foundation

  • Simple slide game using Viewbox - Sacha Barber
    A simple 9 peice puzzle using ImageBrush.ViewBox (Unedited)
    C# (C# 3.0, C#), .NET (.NET, .NET 3.5), WPF, Design, Arch, Dev, Intermediate

  • Creating the Same Program in Windows Forms and WPF - Josh Smith
    Shows how to write the same simple program in Windows Forms and WPF (Unedited)
    C# (C# 3.0, C#), .NET (.NET, .NET 3.5), XAML, WPF, WinForms, Arch, Dev, Beginner

  • Aggregating WPF Commands with CommandGroup - Josh Smith
    Introduces a generic technique of chaining commands together (Unedited)
    C# (C# 2.0, C# 3.0, C#), .NET (.NET, .NET 3.5, .NET 3.0), XAML, WPF, Arch, Dev, Intermediate

Windows Workflow Foundation

C#

  • Simple C# Downloader - Sean Dastouri
    Connect and download any file from the internet using .NET and C#. (Unedited)
    C# (C# 3.0, C#), .NET, Beginner

  • MySQL Table Manager - AKA MAJO
    MySQL engine permits user level locks. The program explains how to manipulate these lock types. (Unedited)
    C#, .NET (.NET 2.0), WinForms, Intermediate

Java

  • EJB 3.0 Remote Session Bean Lookup - bijulsoni
    This article describes a way to perform remote lookup of EJB 3.0 session bean into simple Java application.
    Java, Java (J2EE), Dev, Intermediate

VB.NET

  • Drag and Drop on a Windows Form - Sigurd Johansen
    How to insert an image on a form in runtime mode, dragging it to the right position and by using a database retrieve the position and shape when starting the application up again
    VB, SQL, .NET, Dev, Intermediate

Algorithms & Recipes

  • Virtual Cursor - Hatem Mostafa
    This article demonstrates a new technique to optimize DBMS' output cursor storage using Virtual Cursor. (Unedited)
    C++, C, Advanced

  • Calculating Percentiles in Memory-bound Applications - John D. Cook
    How to compute percentiles of a stream of data too large to fit into memory at once
    C++, WindowsVS2005, Dev, Intermediate

Threads, Processes & IPC

Design and Architecture

  • Designing Application Using Test Driven Development - azamsharp
    In this article we will take a look at designing application using test driven development.
    C#, ASP.NET, Arch, Dev, Design

  • Secrets for Setting Up Continuous Integration - wallism
    A few simple tips that should help when you are considering setting up CI (Unedited)
    SQL, C# (C# 1.0, C# 2.0, C# 3.0, C#), VB (VB 7.x, VB 8.0, VB 9.0, VB), .NET (.NET, .NET 3.5, .NET 3.0, .NET 1.1, .NET 2.0), SQL (SQL 2005, SQL), WinForms, WebForms, ASP.NET, Arch, DBA, Dev, Beginner, Intermediate, Advanced

Hardware & System

  • WMI Provider Extensions in .NET 3.5 - Sasha Goldshtein
    In this article, we will write a full-blown WMI provider in managed code and consume that provider from managed code using the WMI extensions in .NET 3.5.
    C++/CLI, C# (C# 1.0, C# 2.0, C# 3.0, C#), Windows (Windows, Win2K, WinXP, Win2003, Vista), .NET (.NET, .NET 3.5), Arch, Dev, QA, Design, Beginner, Intermediate

Product Showcase

  • Visualize Data on a Mobile Device using Visual Studio - Vladimír Gregor
    This article is about displaying data in mobile applications built on the .NET Compact Framework platform. It demonstrates several typical data structures and their visualization on the small display of a mobile device.
    Windows, .NET CF, Visual Studio (VS2008, VS), Arch, Dev, Intermediate

Articles updated added Last week

Combo & List Boxes

Desktop Gadgets

  • Developing a Realtime Stockreader using WPF and Yahoo Finance Data - michbex
    RealtimeSockreader is a desktop widget for viewing live stock data of your portfolio (Unedited)
    C# (C# 1.0, C# 2.0, C#, C# 3.0), Windows (Windows, WinXP, Vista), .NET (.NET, .NET 3.0), Visual Studio (VS, VS2008), XAML, WPF, Design, Dev, QA, Intermediate

Edit Controls

  • A C# Numeric Field Control - Michael Chapman
    An abstract base for a numeric fielded control.
    C# 2.0, Windows, .NET 2.0, Visual Studio, Dev, Intermediate

Grid & Data Controls

  • Cell Blink for DataGridView - Raghavan Ram Raja
    An article on adding a cell blink feature for DataGridView
    C# 2.0, Windows, .NET 2.0, Visual Studio, WinForms, Dev, Intermediate

List Controls

  • A Much Easier to Use ListView - Phillip Piper
    This article describes a much easier to use ListView that supports sorting and grouping.
    C# 2.0, Windows, .NET 2.0VS.NET2003, VS2005, Dev, Intermediate

Miscellaneous

  • A C# IP Address Control - Michael Chapman
    A C# analogue to the MFC CIPAddressCtrl
    C#, Windows, .NET 1.1VS.NET2003, Dev, Intermediate

Progress Controls

  • ColorBar - A Gradient Colored ProgressBar - Copper
    ColorBar is a gradient colored progress bar control written using VB.NET. (Unedited)
    VB (VB 8.0, VB), Windows, .NET (.NET, .NET 2.0), GDI+, WinForms, Dev, Intermediate, Advanced

Tree Controls

  • Visual Studio 2005 ToolBox Clone - Popangler
    A simple clone of the Visual Studio 2005 toolbox using a standard treeview. (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0, C#), Windows (Windows, Win2K, WinXP, Win2003, Vista), Win32, GDI+, Dev, Design, Beginner

Applications & Tools

ASP.NET

ASP.NET Controls

Client side scripting

Internet / Network

Silverlight

Libraries

  • Xport: XHTML Parsing and Objective Reporting Toolkit - Mitchel Haas
    Open source C++ class template library for generating and parsing xhtml documents. (Unedited)
    C++ (VC6, VC7, VC7.1, VC8.0, C++), C++/CLI, C, Windows (Windows, NT4, Win2K, WinXP, Win2003, Vista), Win32, STL, CEO, Arch, Dev, Intermediate, Advanced

Mobile Development

  • Pocket PC and Smartphone 99% .NET MAPI - rwt33
    A wrapper for using MAPI on the Pocket PC and Smartphone, written 99% in .NET, resulting in a fast and easy-to-maintain library.
    C++, C# 2.0, Windows, .NET CF, .NET 2.0, Visual Studio, Dev, Advanced

Windows Presentation Foundation

  • WPF Runtime Localization - Andrew Wood
    A WPF localization solution with runtime updating and design-time support in Visual Studio and Expression Blend
    C# (C# 2.0, C#), Windows, .NET (.NET, .NET 3.0), XAML, WPF, VS2005, Design, Dev, Intermediate

  • Introduction to XPS - Part 1 of n(ot too many) - Lee Humphries
    XPS is a fixed document format derived from XAML - so how do you use it to produce the documents you want? (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0, C#), XML, XSLT, .NET (.NET, .NET 3.5, .NET 3.0), XAML, Arch, Dev, Beginner, Intermediate

C / C++ Language

  • C++ Memory Management Innovation: GC Allocator - xushiwei
    Most of the C++ programmers do not benefit from "Garbage Collection" technique (GC). Here is a new memory management technique named "GC Allocator" (Note it is not "GC"). (Unedited)
    C++ (VC6, VC7, VC7.1, VC8.0, C++), C++/CLI, C, Windows, ATL, STL, COM, Arch, Dev, Intermediate, Advanced

C#

  • EventyList: The List with Events - gajatko
    Generic list class based on Microsoft's implementation with few additional events to handle like BeforeAdd, OnAdd, BeforeRemove, etc.
    C# 2.0, Windows, .NET 2.0VS2005, Dev, Intermediate

  • VTD-XML: XML Processing for the Future (Part II) - Jimmy Zhang
    Reveal XML processing issue #1 and explain why document-centric XML Processing is the future (Unedited)
    C#, XML, .NET (DotGNU, .NET), Dev

  • Index XML Documents with VTD-XML - Jimmy Zhang
    Introduce a simple, efficient, human-readable XML index called VTD+XML (Unedited)
    C, C# (C# 1.0, C# 2.0, C# 3.0, C#), JScript, XML, CSS, HTML, ASM, MSIL, UML, Forth.NET, XSLT, LINQ, Office, XBox, Windows (Windows, Win2K, WinXP, Win2003, Vista), WinCE, .NET CF, .NET (.NET, Mono, DotGNU, .NET 3.5), ASP, ASP.NET, Win32, Win64, SQL (SQL 2000, SQL 2005, SQL), IIS, GDI, GDI+, OpenGL, DirectX, Ajax, WCF, XAML, WPF, COM, COM+, ADO, ADO.NET, VS.NET2002, VS.NET2003, VS2005, VS2008, Design, CEO, Arch, DBA, Dev, QA, Beginner, Intermediate, Advanced

  • Schemaless C#-XML data binding with VTD-XML - Jimmy Zhang
    Agile, efficient XML data binding without schema (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0, C#), XML, .NET CF, .NET (.NET, .NET 3.5, .NET 3.0, .NET 1.0, .NET 1.1, .NET 2.0), ASP, Win32, Win64, WCF, Ajax, Design, CEO, Arch, DBA, Dev, QA, Beginner, Intermediate, Advanced

  • Multiple Ways to do Multiple Inserts - Neeraj Saluja
    Various ways to do Multiple Inserts in SQL Server 2000/2005 or Oracle Database using ADO.NET in single database round trip. (Unedited)
    C# (C# 1.0, C# 2.0, C#), .NET (.NET, .NET 1.1, .NET 2.0), ADO.NET, Dev, Intermediate

XML

  • XML on a Chip - Jimmy Zhang
    Discuss the technical considerations of porting XML processing to custom chips.
    XML, Arch, Dev, Intermediate

Algorithms & Recipes

Cryptography & Security

  • Cryptographic Interoperability: Keys - Jeffrey Walton
    Import and export Cryptographic Keys in PKCS#8 and X.509 formats, using Crypto++, C#, and Java.
    C++ (VC6, VC7, VC7.1, VC8.0, C++), C# (C# 2.0, C# 3.0, C#), Windows (Windows, Win2K, WinXP, Win2003, Vista), .NET (.NET, .NET 3.5, .NET 3.0, .NET 2.0), Win32, Win64, Dev, Intermediate

Macros and Add-ins

  • Common Add-Ins - Sp1ff
    Writing add-ins for DevStudio, Visual Studio, and Office
    VC6, VC7, VC7.1, VC8.0Win2K, WinXPVS2005, VS6, Dev, Intermediate

  • Increment File and Product Version Number - Multiple IDE - Jordan Walters
    An add-in to automatically increment the FileVersion and ProductVersion fields in your application's resource file. Works in VC6 and VS2005, and probably all versions in between.
    C++ (VC6, VC7, VC7.1, VC8.0, C++, VC9.0), Windows (Windows, WinXP, Vista), Visual Studio (VS.NET2002, VS.NET2003, VS2005, VS6, VS2008, VS), ATL, STL, Dev, QA, Intermediate, Advanced

String handling

  • Parsing command line arguments - trupik
    CommandLineParser library provides simple way to define command line arguments and parse them in your application (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0, C#), Windows, .NET, Dev, Beginner

Threads, Processes & IPC

Hardware & System

cheers,
Chris Maunder
The Code Project


This email was sent to kzhao99@gmail.com. To stop receiving this newsletter click here.
The Code Project. 503-250 Ferrand Drive
Toronto Ontario, M3C 3G8 Canada +1 416-849-8900