Wednesday, April 30, 2008

[CodeProject] Offers - Create More Dynamic Web Applications

This offer has been sent by The Code Project on behalf of our sponsors. Allowing us to send you an occasional email such as this is a great way of supporting your favorite resource site. If you experience difficulty viewing this message, you can view it online here.

Superior Support Web Hosting
Windows Server 2008 — More Secure, Flexible, Innovative. . . .

Offering our customers the latest Microsoft technologies ensures that they stay one step ahead of the completion. Microsoft Windows Server 2008 with Internet Information Services 7 is the most advanced Windows Server operating system ever created. MaximumASP and its customers have found that IIS 7.0 helps streamline application development for greater productivity.

"This new server is amazing — it instantly sped up my sites by over 40%; it's like getting a code rewrite with no work. I can tell you so far that as long as everything keeps on like this I want to use this for ALL of my new IIS servers."
— Deke Hooper, CTO CyberTV LLC

IIS 7 will reduce total cost of ownership, improve manageability, and create new business opportunities. Here are a few things you can do with IIS 7:

Scale Your Infrastructure
Easily sandbox thousands of Web sites on a single server servers
Improved site and server management experience

Reduce Costs
Control delegated features settings with the new IIS Manager
Rapid troubleshooting and built-in request tracing
Simplify deployments

Go to Market Faster
Extensible, modular architecture allows you to quickly bring new features to market
Deeply integrate IIS into your environment using public configuration and control APIs
World-class performance and reliability hosting of ASP, ASP.NET, and PHP applications
New, extensible FTP server providing secure connections, improved site isolation and more

Order

Create More Dynamic Web Applications!
Microsoft Windows Server 2008 — Built for the Web!

Order Your Next-Gen Development-Class Server Now $225 a month / Sign-up

Maximum ASP - smart hosting, smart choice


This email was sent to kzhao99@gmail.com. To stop receiving The Code Project offers click here.
The Code Project. 503-250 Ferrand Drive
Toronto Ontario, M3C 3G8 Canada. +1 416-849-8900
Your privacy is important to us. Please review The Code Project's online Privacy Policy.

Monday, April 28, 2008

[CodeProject] Newsletter (28 Apr 2008)

For comments or enquiries please contact webmaster@codeproject.com View online Monday, April 28, 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've been doing a lot of construction these last few weeks and one of the most eagerly awaited peices of the puzzle, for us, has been a project that will allow us to scale out (instead of up) our database capabilities. Dmitry has worked his magic so hang on to your hats as we test drive the new beast and see what it can do. As always, if you see anything really odd then post a report in our 'Bugs and Suggestions' forum (linked from the homepage under 'Message boards')

The best articles of last month have been chosen by you and the lucky (and hard working) winners this time around are:

Best C# article of March 2008Eric Haddan - Burning and Erasing CD/DVD/Blu-ray Media with C# and IMAPI2
Prizes:Dundas Chart for .NET Pro - Dundas; Shell MegaPack.Net - LogicNP Software; FlyGrid.Net - 9rays; iGrid.NET - 10Tec; Klik! EntryLib.Net (WinForms) - Kliksoft; The latest C# books from Apress - Work Outsource; SmartOutline 2010 - SmartOutline; Database Restyle - Perpetuumsoft; Nevron Chart for .NET (Professional edition) - Nevron Software
Best VB.NET article of March 2008Tim Greenfield - Progress Bar Best Practices
Prizes:Shell MegaPack.Net - LogicNP Software; iGrid.NET - 10Tec; Klik! EntryLib.Net (WinForms) - Kliksoft; Dundas Chart for .NET Pro - Dundas; The latest VB books from Apress - Work Outsource; Spices.VSIP.Obfuscator - 9rays; SmartOutline 2010 - SmartOutline; .Net Dashboard Suite - Perpetuumsoft; Nevron User Interface for .NET (Professional edition) - Nevron Software
Best C++/MFC article of March 2008Maruf Maniruzzaman - Home Made Java Virtual Machine
Prizes:iGrid.NET - 10Tec; SmartOutline 2010 - SmartOutline; Codejock Xtreme ToolkitPro - CodeJock; Nevron 3DChart for ActiveX - Nevron Software
Best ASP.NET article of March 2008mohamad halabi - ASP.NET Internals: Viewstate and Page Life Cycle
Prizes:FlyTreeView for ASP.NET 2.0 - 9rays; Dundas Chart for .NET Pro (Web) - Dundas; The latest ASP.NET books from Apress - Work Outsource; SmartOutline 2010 - SmartOutline; Report Sharp-Shooter - Perpetuumsoft; Nevron Chart for .NET (Professional edition) - Nevron Software

If you're interested in seeing our new projects, or enjoy spotting small tweaks that haven't yet made it to the main site, then feel free to take a look at our Java and LAMP sites to test drive things and get that special guinea pig feeling.

The Code Project Offers

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.
Document! X - Documentation made easy
Comprehensive documentation solution for .NET, ActiveX, VB6, VBA, Database Schemas and XSD Schemas. Includes a unique Visual XML Comment editor integrated with Visual Studio. Used by Industry leaders. Download a free trial now.
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
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
Hello Secure World: Write safer code, build safer net, surf safer Web. Visit Microsoft's Virtual Laboratory and find out how to protect your ASP.net applications from cross-site scripting attacks and mitigate SQL injection attacks.
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!
Dundas Chart for .NET v6.1 is here – Dundas Chart for .NET v6.1 now includes full optimization for Visual Studio 2008, additional Rose Chart styles, versatile vertical column labels, efficient server scroll events (for AJAX) and more. Click here for details.

Weekly Poll Results

What is the main reason a deadline would not be met?

Survey period: 21 Apr 2008 to 28 Apr 2008

We've all experienced that whooshing sound of a deadline flying past. What's your best excuse? (suggested by Paul Jonathan)

OptionVotes% 
Incomplete (or missing) specs?939.6693 votes, 9.66%
Changing specs27628.66276 votes, 28.66%
Insufficient budget or resources202.0820 votes, 2.08%
A lack of understanding as to the scale of the work involved11011.42110 votes, 11.42%
The deadline was decided by marketing rather than R&D12813.29128 votes, 13.29%
The developers involved weren't asked how long it would take717.3771 votes, 7.37%
The project was interupted by other work or demands13814.33138 votes, 14.33%
Plain old bad estimations of how long it would take10210.59102 votes, 10.59%
Total963  100%963 votes

View optional text answers (38 answers)

Most popular new articles 21 Apr 2008 - 28 Apr 2008

Latest Additions

103 articles overall 61 new, 43 updated, 1 moved. 26 were edited, 77 unedited
Article topics listed: All Topics

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

New articles added Last week

Combo & List Boxes

  • Customizable ComboBox Drop-Down - lhayes00
    A combobox control with a customizable drop-down.
    C# (C# 2.0), Windows, .NET (.NET 3.0), GDI+, Dev, Intermediate

Dialogs and Windows

  • Restore Form Position and Size in C# - Samuel Allen
    Presents some logic and code to intelligently restore windows' sizes and positions. (Unedited)
    C#, .NET, WinForms, Dev, Beginner

  • Customised Modal Dialog - lata07mahi
    Modal dialog with a user-defined look and feel (Unedited)
    C++ (VC6, VC7, VC7.1, VC8.0), C++/CLI, C, Windows (WinXP), MFC, Dev, Intermediate

Grid & Data Controls

Miscellaneous

Printing

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), Windows, .NET (.NET 2.0), GDI+, WinForms, Dev, Intermediate, Advanced

Selection Controls

Shell and IE programming

  • Making your browser Talk - Fred Ackers
    Use the Speech SDK to make Internet Explorer read documents or portions of documents to the user. (Unedited)
    C++ (VC9.0), Windows (Vista), ATL, Dev, Intermediate

  • A class to load and use file associated icons - Vitaly Zayko
    An article about using SHGetFileInfo in C# (simple class and demo are included) (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0), Windows (NT4, Win2K, WinXP, Win2003, Vista), .NET (.NET 3.5, .NET 3.0, .NET 1.0, .NET 1.1, .NET 2.0), WinForms, Dev, Beginner, Intermediate, Advanced

Ajax and Atlas

  • Auto Resize TabContainer - PopeDarren
    Automatically resize a TabContainer or TabPanel.
    C#, VB, JScript, CSS, HTML, .NET (.NET 2.0, .NET 3.0), ASP, ASP.NET, Ajax, Dev, Intermediate

Applications & Tools

ASP.NET

ASP.NET Controls

  • About GridView, HyperLinkField, UrlEncode - percyboy
    Tired of converting HyperLinkField into TemplateField in order to solve UrlEncode? It is right for you. (Unedited)
    C# (C# 2.0, C# 3.0), .NET (.NET 2.0, .NET 3.5, .NET 3.0), ASP.NET, Dev, Beginner, Intermediate

HTML / CSS

  • Custom Styled Checkboxes - Matt Gullett
    A JavaScript widget to customize the look and feel of check boxes (Unedited)
    JScript, CSS, HTML, Ajax, ASP, ASP.NET

Internet / Network

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

Silverlight

  • Networking in Silverlight and WPF or how to make them speak one each other - Tamir Khason
    How to use raw sockets in Silverlight application and how to make silverlight to speak with windows forms and wpf (Unedited)
    VBScript, JScript, XML, C# (C# 1.0, C# 2.0, C# 3.0), VB, HTML, XSLT, Windows, .NET, Win32, Win64, IIS (IIS 7, IIS 5, IIS 5.1, IIS 6), Visual Studio (VS2008, VS2005), Ajax, XAML, WPF, WinForms, GDI+, ASP, ASP.NET, Arch, Dev, Intermediate

  • A simple treeview in Silverlight - Member 3501027
    Créating a templatable treeview in silverlight (Unedited)
    C#, Advanced

  • Silverlight 2.0 components development - Enterra
    This article has been initiated by some knowledge that we wanted to share based on our Silverlight experiences from one of the projects that we made. (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0).NET 2.0, .NET 3.0, XAML, WPF, Dev, Beginner, Intermediate

SharePoint Server

.NET Framework

COM / COM+

LINQ

  • Linq in Multi-tier Applications - Ralph Varjabedian
    Transfer data between Linq entity classes and your own data transfer objects efficiently (Unedited)
    C# (C# 3.0), LINQ, .NET (.NET 3.5), Arch, DBA, Dev, Beginner, Intermediate, Advanced

Mobile Development

  • Tetris for Pocket PC - Marcelo Ricardo de Oliveira
    A .NET Compact Framework version of worldwide awarded game Tetris (Unedited)
    C# (C# 2.0), .NET CF, WinForms, Dev, Intermediate

Windows Communication Foundation

  • Runtime Generated WCF Service Exposing .NET or COM Types - Igor Ladnik
    A WCF service wrapper is generated at runtime around a .NET or COM type to expose its interface.
    C++, C#, .NET (.NET 3.5), COM, WCF, Dev, Intermediate

  • Integrating WCF Services - taufufah
    This article describes how WCF services can be loaded on-the-fly (without prior knowledge of the services' contracts), setting its parameters and sequencing their invocation. (Unedited)
    C# (C# 3.0), Windows, Win32, Visual Studio (VS2005), WCF, WinForms, Design, Arch, Dev, Advanced

Windows Presentation Foundation

  • WPF Real-time Monitor Control (Rolling Monitor) - Derek Bartram
    An article introducing the WPF Realtime Monitor Control, for creating a real-time view of continuous data (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0), Windows (Win2K, WinXP, Win2003, Vista), .NET (.NET 3.5, .NET 3.0), Win32, Win64, WPF, Design, Dev, Intermediate

  • A WPF Digital Clock - Derek Bartram
    A WPF Digital Clock for displaying the current time, styled using RibbonStyleHandler (Unedited)
    C# (C# 3.0), Windows (Win2K, WinXP, Win2003, Vista), Win32, Win64, WPF, Dev, Beginner

  • Using Vista Preview Handlers in a WPF Application - Tamir Khason
    This article is about how to use Windows Vista Preview handlers within a WPF application
    C# (C# 1.0, C# 2.0, C# 3.0), Windows (Win2K, WinXP, Win2003, Vista), .NET (.NET 3.5, .NET 3.0, Mono), Win32, Win64, XAML, WPF, WinForms, Dev, Intermediate

  • WPF Command-Pattern Applied - Jani Giannoudis
    Usage of the Command Pattern in a WPF application.
    C# (C# 3.0), Windows, .NET (.NET 3.0), WPF, Intermediate

  • A solution for fast BitmapEffects - h32
    A shameless (and for sure buggy) clone of Identitymine's ElementSnapshot (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0), Windows, .NET, XAML, WPF, Design, Dev, Intermediate, Advanced

C / C++ Language

  • Recursion Primer Using C++: Part 1 - Zeeshan Amjad
    An introduction to Recursion using C++, Part 1.
    C++, Arch, Dev, Design, Intermediate

  • 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++/CLI, C, Windows, ATL, STL, COM, Arch, Dev, Intermediate, Advanced

C#

  • 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), .NET (.NET 1.1, .NET 2.0), ADO.NET, Dev, Intermediate

VB.NET

XML

  • XML Serialization and deSerialization - mukeshkumar123
    This is a sample windows application on how .NET does serialization and deserialization of strongly typed custom collection, while handling derived collection items
    C# (C# 1.0, C# 2.0, C# 3.0), Windows, .NET (.NET 2.0), WinForms, Dev, Intermediate

Algorithms & Recipes

  • Image Alignment Algorithms - Part II - Oleg Krivtsov
    Implementing and comparing forwards compositional and Hager-Belhumeur algorithms (Unedited)
    C++ (VC6, VC7, VC7.1, VC8.0), C, Windows, Dev, Advanced

  • Looking up items in HashTable/Dictionary objects that have multiple keys - Paul B.
    Dictionary objects take a single key as a look up key. This class simplifies using a Dictionary when you have multiple keys, such as two strings and an int, etc. (Unedited)
    C# (C# 2.0), .NET (.NET 2.0)VS2005, VS2008, Arch, Dev, Intermediate, Advanced

  • Dynamic Formula Processing Library - Derek Bartram
    An article presenting a basic dynamic formula processor (including an infix to prefix convertor) (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0), Windows (Win2K, WinXP, Win2003, Vista), .NET CF, .NET (.NET 3.5, .NET 3.0, .NET 1.0, .NET 1.1, .NET 2.0), Win32, Win64, Arch, Dev, QA, Design, Intermediate

Cryptography & Security

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

  • Cryptographic Interoperability: Digital Signatures - Jeffrey Walton
    Sign and Verify Messages using Crypto++, Java, and C# (Unedited)
    C++ (VC7, VC7.1, VC8.0), C# (C# 2.0, C# 3.0), Windows (Win2K, WinXP, Win2003, Vista), Win32, Dev, Intermediate

Programming Tips

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), Windows, .NET, Dev, Beginner

Threads, Processes & IPC

  • Duplex Web Services - Boaz Davidoff
    Using multi-threading techniques to create a duplex(two-way) web service that can push events/messages to the client. (Unedited)
    C# (C# 2.0, C# 3.0), Windows (Win2K, WinXP, Win2003), ASP.NET, IIS (IIS 6, IIS 7), WinForms, Arch, Dev, Advanced

Design and Architecture

  • Traceability in Layered Architecture: A Roadmap - Mohammad Ashraful Alam
    Traceability in layered architecture lets software architects to define, utilize, reuse and re-engineer existing, current and future application architecture in more structured way. This article provides a roadmap to trace multi-layer architectures easily. (Unedited)
    .NET, Arch, Dev, QA, Design, Beginner, Intermediate

  • Building an MVP Framework for .NET. Part 4: Strongly Typed Associations - Oleg Zhukov
    In this article we continue developing a Model-View-Presenter framework for .NET platform. The new features we are implementing here are strongly typed asscoiations between controllers, views and tasks for higher convenience and type safety.
    C#, .NET, Dev

  • How to add your application to Windows Startup - Sandeep Aparajit
    This article will help you add your application to Windows startup using various ways. (Unedited)
    Windows (Win2K, WinXP, Win2003), Arch, Dev, Design, Intermediate

  • Simple, and Clean .NET Design and Implementation Method - Part 1 - Yang Yu
    A fast and simple way in application design patterns - Part 1 (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0), Windows, Visual Studio (VS2005), WinForms, Design, Arch, Dev, Intermediate, Advanced

  • Evolving Responsible, Self-Describing Components - Matthew Cannon
    How self-describing components can emerge from responsibility-driven development practices, and how use of the Visual Studio 'code regions' tool can add value to this process (Unedited)
    C#, .NET (.NET 1.1, .NET 2.0), Win32, Visual Studio (VS2005, VS2008), Arch, Dev, Design, Intermediate

Book Chapters

Articles updated added Last week

Combo & List Boxes

Files and Folders

  • nFS - File System Within a File - Radu Gruian
    A portable library for emulating a file system within a file
    C, VC6, VC7, VC7.1, Windows, MFC, VS6, Arch, Dev, Advanced

Grid & Data Controls

  • ListView Layout Manager - Jani Giannoudis
    WPF: Customizing ListView/GridView Column-Layout
    C# (C# 3.0), Windows, .NET (.NET 3.0), WPF, Dev, Intermediate

Miscellaneous

  • Codez Bank. A code snippet bank application - steveb
    Application stores and manages useful code snippets and keeps them always handy (Unedited)
    C++ (VC8.0, VC9.0), Windows (Win2K, WinXP, Win2003, Vista), MFC, Arch, Dev, Intermediate

Applications & Tools

ASP.NET Controls

  • Multiple File Upload User Control - Samir Nigam
    This article describes how to create a user control with event & properties. (Unedited)
    C# (C# 2.0), JScript, CSS, HTML, .NET (.NET 2.0), ASP.NET, Dev, Intermediate

SharePoint Server

GDI+

  • An Alternative to Barcodes - defwebserver
    A method to create and read a number represented as a binary string of boxes printed on a page (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0), .NET (.NET 3.5), GDI+, Dev, Beginner, Intermediate, Advanced

Database

.NET Framework

  • An interactive SQL Console - wizofaus
    An interactive SQL console application written to improve upon the "osql" console application that comes with SQL server (Unedited)
    Windows, .NET, Visual Studio, Dev, Intermediate

  • Create Item Templates which have nested items - Sarafian
    A template creation method, implementing IWizard in order to add nested items in the solution (Unedited)
    C# (C# 2.0), .NET, Visual Studio (VS2005), Advanced

  • ADO.NET Connection Pooling at a Glance - Neeraj Saluja
    Connection pooling can increase the performance of any application by using active connections of the pool for consecutive requests, rather than creating a new connection each time.And at the same time, the developer who is the best judge of his/her application, can configure the connection pooling. (Unedited)
    C# (C# 1.0, C# 2.0), .NET, ADO.NET, Design, Arch, Dev, Intermediate

Game Development

  • IndieLib - Fast Game Development - Loover
    IndieLib is a c++ 2.5d engine for game development and fast game prototyping in a really easy way. (Unedited)
    C++ (VC6, VC7, VC7.1, VC8.0), C++/CLI, C

MFC

Vista API

  • Using Vista Controls on Aero Glass - Omnicoder
    Using Windows Form Vista Controls on Aero Glass, and Cool Form Backround FX (Unedited)
    VB 7.x, VB 8.0, VB 9.0.NET 3.0, .NET 2.0, .NET 3.5, Win32, VS2008, VS.NET2002, VS.NET2003, VS2005, Arch, DBA, Dev, QA, Design, Beginner, Intermediate

Windows Presentation Foundation

  • A WPF Graph Control Library - Derek Bartram
    An article presenting a WPF library for producing extensible runtime customisable graphs (Unedited)
    C# (C# 3.0), XML, Windows (Win2K, WinXP, Win2003, Vista), XAML, WPF, Win32, Win64, Arch, Dev, Design, Intermediate

  • WPF C# Ribbon Control Library - Derek Bartram
    A WPF / C# Library for implementing Office 2007 Style Ribbon Interfaces (Unedited)
    C# (C# 2.0, C# 3.0), Office, Windows (Win2K, WinXP, Win2003, Vista), Win32, Win64, XAML, WPF, Design, Dev, Intermediate, Advanced

  • A Demonstration for WPF Ribbon Control Library - Derek Bartram
    A demonstration application for showing the use of the WPF Ribbon Control as presented elsewhere (Unedited)
    C# (C# 2.0, C# 3.0), Windows (Win2K, WinXP, Win2003, Vista), WPF, Win32, Win64, Arch, Dev, Design, Intermediate, Advanced

C#

  • DataSets, Xml Schemas and Excel - Oh My! - George Zabanah
    This article demonstrates the amazing transformation power of the DataSet with agnostic Xml Schemas, Xml and Excel Read/Write (all with colourful XML rendering using XmlBrowser) (Unedited)
    C# (C# 2.0), XML, Office, ADO.NET, Intermediate

  • Another DataGridView Printer - aureolin
    DataGridView printing encapsulated in a stand-alone object. Very easy to use! Updated to allow printing columns wider than one page. (Unedited)
    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), Dev

  • United States Postal Service (USPS) Web Tools Wrapper - johnnycantcode
    United States Postal Service (USPS) Web Tools Wrapper is a .NET library you can use for address validation, retrieving rates and YES even printing label. (Unedited)
    C#, Windows, .NET, Visual Studio, ASP.NET, Dev, Intermediate

  • 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), JScript, XML, CSS, HTML, ASM, MSIL, UML, Forth.NET, XSLT, LINQ, Office, XBox, Windows (Win2K, WinXP, Win2003, Vista), WinCE, .NET CF, .NET (Mono, DotGNU, .NET 3.5), ASP, ASP.NET, Win32, Win64, SQL (SQL 2000, SQL 2005), 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), XML, .NET CF, .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

  • Delete Links from the Recent Projects List on the Start Page of Visual Studio 2003, 2005 and 2008 - Carlos Saraiva Jr.
    This application deletes links from the Recent Projects list on the Start page of Visual Studio 2003/2005/2008
    C# 2.0.NET 2.0, Win2K, WinXP, Win2003, WinForms, VS.NET2003, VS2005, Dev, QA, Intermediate

C++ / CLI

VB.NET

  • How To Program For Windows Registry - Mohd Arshad (Sam)
    This article will guide you, how to create/retrieve/delete key entries in Windows Registry. (Unedited)
    VB (VB 7.x, VB 8.0, VB 9.0, VB 6), Windows (WinXP), .NET (.NET 2.0), Visual Studio (VS2005), Dev, Intermediate

  • Export to Excel using VB.Net - Senthil S
    Export data from VB.Net Dataset to Excel without using Datagrid/DataTable (Unedited)
    VB 7.x, VB 8.0, VB 9.0, VB 6, .NET (.NET 3.0, .NET 2.0), Visual Studio (VS2008, VS2005), WinForms, Arch, Dev, QA, Beginner, Intermediate

  • Form Changed Control - Duncan Edwards Jones
    A component that allows you to monitor all the controls on the form and list any that have changed (for dirty checking) (Unedited)
    VB 8.0, VB 9.0, Windows, .NET 2.0, Visual Studio, WinForms, Dev, Intermediate

  • File Association in VB.NET - Nickr5
    Easily associate your programs with file types (.jpg, .html, .mp3) with just 2 lines of Visual Basic code. (Unedited)
    VB 8.0, VB 9.0.NET 3.0, .NET 2.0, WinXP, Vista, WinForms, VS2005, Dev, Intermediate

  • Running the Microsoft AppLocale Utility in an Automated Batch Script - Austin Rappa
    Getting AppLocale to run in a batch script (Unedited)
    VB (VB 7.x, VB 8.0, VB 9.0, VB 6), .NET (.NET 3.0, .NET 3.5, .NET 1.1, .NET 2.0), Visual Studio (VS.NET2003, VS2005, VS2008), Arch, Dev, Design, Intermediate, Advanced

XML

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

Algorithms & Recipes

Macros and Add-ins

  • 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. (Unedited)
    C++ (VC6, VC7, VC7.1, VC8.0, VC9.0), Windows (WinXP, Vista), Visual Studio (VS.NET2002, VS.NET2003, VS2005, VS6, VS2008), ATL, STL, Dev, QA, Intermediate, Advanced

  • Source code generator for any data type - Guillaume Hanique
    How to extend Visual Studio so it can generate code for any data type (Unedited)
    C# (C# 2.0, C# 3.0), VB (VB 8.0, VB 9.0), .NET, Visual Studio (VS2008, VS2005), COM, Dev, Intermediate

Programming Tips

String handling

  • String Format Library - Wong Shao Voon
    Another type-safe alternative to Boost's string format library.
    C, VC6, VC7.1, VC8.0, Windows, Visual Studio, Dev, Intermediate

Debug Tips

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

Thursday, April 24, 2008

[CodeProject] Offers - How do you secure your .NET Applications?

This offer has been sent by The Code Project on behalf of our sponsors. Allowing us to send you an occasional email such as this is a great way of supporting your favorite resource site. If you experience difficulty viewing this message, you can view it online here.

 

How do you secure your .Net applications?

• Do you manage User Authentication to grant access to your applications or websites?
• Do you manage Permissions and Roles to define what users can see and modify?
• Do you use Windows Accounts (from Active Directory) to identify users of your application?

If so, discover Visual Guard for .NET


Visual Guard implements Role Based Access Control in your projects:

Manage permissions independently from the application lifecycle:
You can grant permissions anytime while the application is in production
Give power-users & administrators the ability to manage security by themselves:
A web console lets them manage memberships and permissions (no technical skills required).
Comply with reporting and auditing requirements (like SOX):
Who has permissions? Who granted these permissions? Who used these permissions?
For which transaction? When?


Try Visual Guard now

Visual Guard supports all existing or new .Net projects:
Winforms, Webforms, Webservices, VB.NET, C# and ASP.NET
The integration and the deployement are fast and simple.


Do not hesitate to contact us should you have any questions.
Sandra LEVY
Novalys - MICROSOFT Partner
http://www.visual-guard.com


Novalys - 41/43 rue Paul Bert - 92100 Boulogne Billancourt - France
Phone :+33 1 41 31 82 82 - Fax: +33 1 41 31 82 90


This email was sent to kzhao99@gmail.com. To stop receiving The Code Project offers click here.
The Code Project. 503-250 Ferrand Drive
Toronto Ontario, M3C 3G8 Canada. +1 416-849-8900
Your privacy is important to us. Please review The Code Project's online Privacy Policy.

Monday, April 21, 2008

[CodeProject] Newsletter (21 Apr 2008)

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

Welcome to this week's CodeProject newsletter.

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

Voting for the monthly article competition is on for the main www.codeproject.com site but we'd like to get new competitions setup for our new topics areas http://Java.codeproject.com and http://LAMP.codeproject.com. If you are a component vendor or develop tools specifically for Java or LAMP software development and have a few spare licenses you'd like to donate then please email me at chris@codeproject.com.

...and obviously I'd like to make a big call out to all our Java, Linux, Apache, MySQL or Perl/Python/PHP developers out there: We want your articles! Submit your works of art to submit@codeproject.com or use the submission wizards directly. See the 'Submit your Article' links on the homepages.

The Code Project Offers

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.
Nevron .NET Vision is a component suite for creating unique and powerful data presentation applications with spectacular data visualization capabilities. Flexible and extensible, it delivers powerful Charting, Diagramming and User Interface components for Windows Forms and ASP.NET
Free Microsoft Expression Web with any PEER 1 Windows Managed Hosting Plan. Expression Web is a cutting-edge professional design tool used to create modern, standards-based sites that deliver superior quality on the web. Find out more about this offer and PEER 1 Managed Hosting plans.
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
SQL Server 2008 is coming and it's got the industry buzzing. How will it impact the way you work? Read Quest's new white paper "Worth the Wait: Why SQL Server 2008 is So Great" and learn about this important release.
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 Chart for .NET v6.1 is here – Dundas Chart for .NET v6.1 now includes full optimization for Visual Studio 2008, additional Rose Chart styles, versatile vertical column labels, efficient server scroll events (for AJAX) and more. Click here for details.

Weekly Poll Results

When do you write the specs for your projects?

Survey period: 14 Apr 2008 to 21 Apr 2008

There's 'When we should do it' and 'When we actually do it'. Your answer is anonymous so be honest!

OptionVotes% 
During requirements gathering9112.1591 votes, 12.15%
Before Design8711.6287 votes, 11.62%
During Design7910.5579 votes, 10.55%
After Design233.0723 votes, 3.07%
During initial development374.9437 votes, 4.94%
During development as a whole466.1446 votes, 6.14%
Near the end of development202.6720 votes, 2.67%
After the project is complete415.4741 votes, 5.47%
Continuously during the lifetime of the project14819.76148 votes, 19.76%
We don't (or rarely) write specs for our projects17723.63177 votes, 23.63%
Total749  100%749 votes

Most popular new articles 14 Apr 2008 - 21 Apr 2008

Latest Additions

81 articles overall 46 new, 36 updated, 1 moved. 23 were edited, 58 unedited
Article topics listed: All Topics

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

New articles added Last week

Button Controls

Combo & List Boxes

  • FULLY data-bound CheckedListBox - vbar
    BoundCheckedListBox is bindable to 3 tables representing a many-to-many data relation (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0), Windows, .NET, ADO.NET, WinForms, Intermediate

Grid & Data Controls

Hardware & System

  • Build Your Own NAS Device - John Simmons / outlaw programmer
    How to go about buildingyour own NAS device (Unedited)
    Intermediate

Miscellaneous

  • Creating Audio CDs using IMAPI2 - Eric Haddan
    Using the Image Mastering API to create Red Book Audio CDs (Unedited)
    C# (C# 2.0, C# 3.0), Windows (WinXP, Win2003, Vista), .NET (.NET 3.5, .NET 3.0, .NET 2.0), Win32, COM, WinForms, Dev, Intermediate

  • Connect Multiple UI Elements to a Single Command Object - MarkLTX
    An easy way to group several UI elements (menu items, toolbar buttons, etc.) so they all execute the same command and are enabled/disabled together (with Visual Studio designer support). (Unedited)
    C#, Windows, .NET, Visual Studio, WinForms, Dev, Intermediate

Ajax and Atlas

ASP.NET

ASP.NET Controls

Custom Controls

  • Keyword Matching RSS Reader Control - xbadenx
    Display RSS results that contain specific keywords. (Unedited)
    XML, HTML, C# (C# 1.0, C# 2.0, C# 3.0), ASP.NET, Arch, Dev, Design, Beginner, Intermediate, Advanced

Internet / Network

  • A WCF-WPF Chat Application - Islam ElDemery
    An Internet chat application with file transfer.
    C# (C# 1.0, C# 2.0, C# 3.0), .NET (.NET 2.0, .NET 3.5, .NET 3.0), Visual Studio (VS2008), WCF, XAML, WPF, Intermediate

General Graphics

  • FrameGrabber - Jacob Klint
    A class for extracting individual frames from a video as bitmaps
    C# (C# 2.0), Windows, .NET (.NET 2.0), Dev, Intermediate

Database

.NET Framework

  • using Xaml in app.config and web.config - Edward Moemeka
    a continuation of using xaml for configuring applications (Unedited)
    C++/CLI, C# (C# 3.0), VB (VB 9.0), Forth.NET, .NET (.NET 3.0, .NET 3.5), ASP.NET, WinForms, ADO.NET, WCF, XAML, WPF, Design, Arch, Dev, Intermediate

  • Reflection BenchMark and Optimize - Sarafian
    Benchmarking Reflection and Optimizing it (Unedited)
    C# (C# 2.0, C# 3.0), .NET (.NET 2.0, .NET 3.5, .NET 3.0), Dev, Beginner, Intermediate, Advanced

  • P2P Communication - Proxy Listeners and Proxy Clients - Victor Pirkle
    Implementation of Listener and Client objects that communicate through a web proxy (Unedited)
    C++, C#, VB, Windows (WinXP, Vista), .NET (.NET 2.0, .NET 3.0, .NET 3.5), Visual Studio (VS2008, VS.NET2003, VS2005), WinForms, ASP.NET, Design, Arch, Dev, Intermediate, Advanced

Windows Communication Foundation

Windows Presentation Foundation

  • WPF 3D : Part 2 of n - Sacha Barber
    A WPF 3D Panel that allows tabbing, and activates current item (Unedited)
    C# (C# 3.0), .NET (.NET 3.0, .NET 3.5), WPF, Design, Arch, Dev, Intermediate

  • An article on sorting ItemsControl (with some bonuses) - Sacha Barber
    An article on sorting ItemsControl (with some bonuses) (Unedited)
    C# (C# 3.0), .NET (.NET 3.0, .NET 3.5), WPF, Design, Arch, Dev, Intermediate

  • WPF - Schema Diagrammer Part I - Marc Clifton
    Programmatically placing UI elements on a Canvas (Unedited)
    C#, Windows, XAML, WPF, Arch, 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), XML, XSLT, .NET (.NET 3.5, .NET 3.0), XAML, Arch, Dev, Beginner, Intermediate

C / C++ Language

C#

  • Microsoft.Reporting without Sql Server Reporting Services - Josh Christensen
    Learn how to use the Report Viewer with any data source and build reports on the fly for use on the web or in Windows applications. (Unedited)
    C# (C# 2.0), .NET (.NET 2.0), ASP.NET, Dev, Intermediate

  • Personal Time Tracker - Vance Kessler
    This article describes what I did to write an application to track my billable and non-billable time.
    C# 2.0, Windows, .NET 2.0, WinForms, Dev, Intermediate

Java

VB.NET

XML

Algorithms & Recipes

Macros and Add-ins

Programming Tips

String handling

  • Plural forms - Peter Kankowski
    Spelling messages like "5 file(s) found" correctly in any language. (Unedited)
    C++, C

  • A Naive String Comparer - Pete O'Hanlon
    A class to perform a "naive" comparison of two chunks of text to see if they look to be the same. (Unedited)
    C# (C# 2.0, C# 3.0), ASP.NET, Beginner

Design and Architecture

  • Dependency Injection in C# 3.0 with Autofac - N Blumhardt
    Use the Autofac dependency injection container to simplify the configuration of object-oriented applications (Unedited)
    C# (C# 3.0), .NET (.NET 3.5), Arch, Dev, Design, Advanced

Installation

Scrapbook

Articles updated added Last week

Button Controls

  • A Managed C++ Button Control - CodeWizard1951
    This is an example custom button control written entirely in managed C++ (Unedited)
    C++/CLI, .NET (.NET 2.0), WinForms, Dev, Intermediate

Clipboard

  • Copying a DIB to the Clipboard - John Simmons / outlaw programmer
    Helps with copying a device independant bitmap to the clipboard.
    VC6NT4, Win2K, Visual Studio, Dev, Intermediate

Files and Folders

  • Convert PBS Legacy Files to XML - Henrik Thomsen
    Legacy file formats, such as UN-EDIFACT with a record per line and fixed-length fields, still exists and are widely used for B2B transactions. A tool that can convert legacy files to human-readable XML might come in handy. (Unedited)
    C#, .NET (.NET 2.0), Dev, Intermediate

Miscellaneous

  • High-speed Charting Control - Cedric Moonen
    A flexible charting control to display 2D data.
    VC6, VC7NT4, Win2K, Visual Studio, MFC, Dev, Intermediate

Tabs & Property Pages

Ajax and Atlas

Applications & Tools

  • KeePass Password Safe - Dominik Reichl
    KeePass is a free, open-source, light-weight and easy-to-use password safe.
    VC6, VC7, VC7.1NT4, Win2K, WinXP, Win2003, MFC, VS6, Dev, Intermediate

  • QuickSYS - Chunhua Liu
    A tool to generate Windows driver framework
    VC6NT4, Win2K, WinXP, Win2003, VistaVS2005, VS6, Dev, Intermediate

ASP.NET

ASP.NET Controls

Silverlight

  • Developing a Custom Control for Silverlight 2.0 - Attila Hajdrik
    In this article I show the key steps to develop a Silverlight 2.0 custom control (Unedited)
    C# (C# 1.0, C# 2.0, C# 3.0), Windows, .NET (.NET 3.5), XAML, Design, Dev, Beginner

SharePoint Server

DirectX

  • Falling Blocks - Xavier John
    A game written using Visual C++ and DirectX.
    VC6, VC7NT4, Win2K, DirectX, VS.NET2002, VS6, VS2008, Dev, Intermediate

Database

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++/CLI, C, Windows (NT4, Win2K, WinXP, Win2003, Vista), Win32, STL, CEO, Arch, Dev, Intermediate, Advanced

Win32/64 SDK & OS

  • JLib - A Windows Console Library - Pepsibot
    A console library capable of colored input and output. Includes user definable menus, ASCII character windows, save/restore a screen worth of characters, 256 console color combinations, and a smart coloring.
    C++/CLIWinXP, Win32, STL, Dev, Intermediate

C / C++ Language

C#

  • DataSets, Xml Schemas and Excel - Oh My! - George Zabanah
    This article demonstrates the amazing transformation power of the DataSet with agnostic Xml Schemas, Xml and Excel Read/Write (all with colourful XML rendering using XmlBrowser) (Unedited)
    C# (C# 2.0), XML, Office, ADO.NET, 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), Dev

  • VTD-XML: XML Processing for the Future (Part I) - Jimmy Zhang
    Introduce VTD-XML, the future of XML processing
    C, C# (C# 1.0, C# 2.0, C# 3.0), XML, LINQ, Office, Windows (Win2K, WinXP, Win2003, Vista), .NET (.NET 3.5, .NET 3.0, .NET 1.1, .NET 2.0), Win32, Visual Studio (VS.NET2002, VS.NET2003, VS2005, VS6, VS2008), Dev, Design, Beginner, Intermediate, Advanced

  • 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), JScript, XML, CSS, HTML, ASM, MSIL, UML, Forth.NET, XSLT, LINQ, Office, XBox, Windows (Win2K, WinXP, Win2003, Vista), WinCE, .NET CF, .NET (Mono, DotGNU, .NET 3.5), ASP, ASP.NET, Win32, Win64, SQL (SQL 2000, SQL 2005), 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), XML, .NET CF, .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

  • XML String Browser (just like Internet Explorer) using WebBrowser Control - George Zabanah
    This article will show you how to view a colourful collapsible treeview for XML Strings/XmlDocument in a browser (just like Internet Explorer) without the need for XML files (Unedited)
    C# (C# 2.0), Windows, Arch, Dev, Beginner

VB.NET

  • Export to Excel using VB.Net - Senthil S
    Export data from VB.Net Dataset to Excel without using Datagrid/DataTable (Unedited)
    VB (VB 7.x, VB 8.0, VB 9.0, VB 6)

XML

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

Algorithms & Recipes

  • C++ Strtk Tokenizer - Arash Partow
    A brief introduction to a tokenizer implementation in C++ (Unedited)
    C++ (VC7.1, VC8.0), C++/CLI, C, Dev, Beginner

  • Computational Geometry, C++ and Wykobi - Arash Partow
    A brief introduction into computational geometry processes using Wykobi and C++ (Unedited)
    C++ (VC7.1, VC8.0), C++/CLI, Windows (NT4, Win2K, WinXP, Win2003, Vista, TabletPC, Embedded), WinCE, .NET (.NET 1.0, .NET 1.1, .NET 2.0, Mono, DotGNU, .NET 3.0, .NET 3.5), STL, GDI, GDI+, OpenGL, Arch, Dev, Beginner

  • Simple Random Number Generation - John D. Cook
    A simple random number generator in C#
    C# 2.0, Windows, .NET 2.0, Dev, Intermediate

Macros and Add-ins

  • Barcode Image Generation Library - Brad Barnhill
    This library was designed to give an easy class for developers to use when they need to generate barcode images from a string of data.
    C# (C# 2.0), Windows (Win2K, WinXP, Win2003), .NET (.NET 2.0), Visual Studio (VS2005), WinForms, Dev, Intermediate

Design and Architecture

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