|
| For comments or enquiries please contact webmaster@codeproject.com | View online | Monday, June 22, 2009 |
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
The top articles of June have been voted and we're proud to announce some very worthy winners:
| Best overall article of May 2009 | |
| M.M.Al-Farooque Shubho - Forms authentication and Role based authorization: a quicker, simpler, and correct approach | |
| Prizes: | DXperience™ ASP.NET Subscription - Developer Express; InstallAware 8 Express, - InstallAware; REALbasic Professional Edition, - REAL Software; DevForce Silverlight - IdeaBlade; |
| Best VB.NET article of May 2009 | |
| _Khallaf - Custom GMail Vacation Auto-Responder | |
| Prizes: | iGrid.NET - 10Tec; Dundas Chart for .NET Pro - Dundas Software Ltd.; .Net Dashboard Suite - Perpetuumsoft; Nevron User Interface for .NET (Professional edition) - Nevron Software; Klik! EntryLib.Net (WinForms) - Klik! Software; Shell MegaPack.Net 2009 - LogicNP Software; The latest VB books from Apress - Apress; SmartOutline 2010 - SmartOutline; |
| Best ASP.NET article of May 2009 | |
| M.M.Al-Farooque Shubho - Forms authentication and Role based authorization: a quicker, simpler, and correct approach | |
| Prizes: | Report Sharp-Shooter - Perpetuumsoft; Dundas Chart for .NET Pro (Web) - Dundas Software Ltd.; Nevron Chart for .NET (Professional edition) - Nevron Software; The latest ASP.NET books from Apress - Apress; SmartOutline 2010 - SmartOutline; |
| Best C# article of May 2009 | |
| Daniel Vaughan - Calcium: A modular application toolset leveraging the Composite Application Library (PRISM) – Part 1 | |
| Prizes: | Dundas Chart for .NET Pro - Dundas Software Ltd.; iGrid.NET - 10Tec; Nevron Chart for .NET (Professional edition) - Nevron Software; Klik! EntryLib.Net (WinForms) - Klik! Software; Shell MegaPack.Net 2009 - LogicNP Software; The latest C# books from Apress - Apress; SmartOutline 2010 - SmartOutline; Report Sharp-Shooter for Silverlight - Perpetuumsoft; |
| Best C++/MFC article of May 2009 | |
| programmersmind - An Introduction to "Iterator Traits" | |
| Prizes: | iGrid.NET - 10Tec; Codejock Xtreme ToolkitPro - Codejock Software; Nevron 3DChart for ActiveX - Nevron Software; The latest C++ books from Apress - Apress; SmartOutline 2010 - SmartOutline; CryptoLicensing For MFC - Enterprise Edition - LogicNP Software; |
Well done guys!
And remember that you have just over a week to get your entries in for the Smart Client contest. We've thrown a little extra into the pot with two prizes of $1000 USD each to the highest-rated blog articles so get writing!
The Code Project Offers
| Liquid XML Studio 2009 - The complete XML Development Environment - Graphical XML Schema Editor with all the XML tools you need. - Integrates with Visual Studio®, C++, C#, Silverlight Code Generation. - Community version still priced at $0.00. | |
![]() | Defy all challenges. Together. Microsoft® Visual Studio Team System. |
![]() | We need your expert Opinion! Based on your Developer background, MyView Research would like receive your feedback on a short IT survey. Your responses are COMPLETELY ANONYMOUS and we'll share the results with you at the conclusion of the study. |
![]() | Security vendor - SecuTech seeks worldwide connection SecuTech, a security vendor of USB-based UniKey software protection dongle and UniToken security authentication Token, is looking for distributors to sell and market its products to the trade worldwide. |
![]() | New InstallShield 2010 – Try it now! InstallShield 2010 is the InstallShield you've always wanted. It has over 400 new and improved features and supports the latest technologies like Windows 7. It even has support for Microsoft App-V virtual packages. |
![]() | No Charge Visual C# 2008 Training Download up to 3 hours of award-winning AppDev training for C# 2008 at no charge. You'll receive step-by-step instruction by experts like Ken Getz and Robert Green, plus hands-on labs, sample code, and printable courseware. Download now (Offer not available in all Countries) |
![]() | Dundas Chart For .NET v7 Now Available – The industry leader in .NET charting technologies has gotten even better. Version 7.0 includes the new Silverlight Add-on, Scorecard, Contour, Wafer and Timeline Custom Chart types, Pie Plus drawing styles, and more. Download an evaluation now. |
Weekly Poll Results
Are you doing or plan to do any mobile application development?
Survey period: 15 Jun 2009 to 22 Jun 2009
Are you working on or planning to work on apps for mobile phones, etc.? If yes, please choose the technologies you're using or plan to use.
| Option | Votes | % | ||
| Nope, no wireless for me | 415 | 41.01 | ||
| Windows Mobile | 411 | 40.61 | ||
| iPhone | 171 | 16.90 | ||
| Google Android | 109 | 10.77 | ||
| J2ME | 76 | 7.51 | ||
| Symbian | 66 | 6.52 | ||
| RIM Blackberry | 58 | 5.73 | ||
| Other (please specify) | 33 | 3.26 | ||
| WebOS | 25 | 2.47 | ||
| Brew | 15 | 1.48 | ||
| Responses | 1009 | |||
| This is a multiple choice question. Totals may not add up to 100% | ||||
View optional text answers (40 answers)
Most popular new Job Vacancies 23 May 2009 - 22 Jun 2009
- Senior SW Engineer, C++ -
- Senior Software Developer -
- C#.Net Developer -
- Dallas-Fort Worth based small business seeks user interface design engineer to implement screens for criminal justice information system -
- Web - Web Developer (HTML/CSS/JavaScript) -
Most popular new articles 15 Jun 2009 - 22 Jun 2009
- SongBird - a Twitter hybrid smart client - Pete O'Hanlon
- How Programming Should Be Done - Marc Clifton
- A Project Dependency Graph Utility for Visual Studio 2008 - Marc Clifton
- PDF Viewer Control Without Acrobat Reader Installed - Ron Schuler
- Auto Ellipsis - Thomas Polaert
Latest Additions
140 articles overall 100 new, 59 updated, 5 moved. 52 were edited, 88 unedited
Article topics listed: All Topics
Too many articles? Visit your profile page to change your newsletter article filters.
New articles added Last week
Files and Folders
- FileTrack: Co-Editing Files without Tears - Gabriyel
A nifty tool to help people track changes in files in real-time
VB, Windows, .NET, Dev
Grid & Data Controls
- Datagrid - Editing, Updating, Cancel, Selecting Rows - Muhammad Ahmad
How to work with data grid view
C#, .NET, Dev - Databinding - Bindinglist, BindingSource and BusinessObjects - Part 1 - Arindam Sinha
Databinding - Bindinglist, BindingSource and BusinessObjects
C#, .NET (.NET 3.5), WinForms, Architect, Dev
List Controls
- Double-buffered tree and list views - Eugene Sichkar
Implementing native WinForms flicker-free TreeView and ListView descedants (Unedited)
C#, Windows, .NET (.NET 2.0), Win32, Win64, WinForms
Printing
- DataGridView Print/Print Preview Solution - Part II - Alessandro Lentini
This article is the second one of two articles in which I want to show a solution for the Print Preview of the DataGridView object. One of the goals of my solution is to print the DataGridView keeping its styles automatically.
C# (C# 1.0, C# 2.0, C# 3.0), Dev
Smart Client
- SongBird - a Twitter hybrid smart client - Pete O'Hanlon
Using the WCF RESTful services to create a Twitter hybrid smart client. (Unedited)
C# (C# 3.0), .NET (.NET 3.5, .NET 4.0), Win2003, Vista, Win2008, Win 7, WCF, WPF, Dev - Genesis Hybrid Smart Client Framework part VI - Stephan Johnson
This is part II of a VII part series. This article covers how to manage the hosted applications, user interface and security using the Genesis Management System (Unedited)
C# (C# 3.0), Windows (Win2003, Vista, Win2008, Win 7), Architect, DBA, Dev, SysAdmin
Applications & Tools
- PDF Viewer Control Without Acrobat Reader Installed - Ron Schuler
PDF document viewer control that does not require any Acrobat product to be installed
VB, Windows, .NET (.NET 2.0), Dev
ASP.NET
- A Note on Web application with Reference to ASP.NET and AJAX - Suchi Banerjee, Pune
This article helps in understanding the overall programming model of a web application with reference to ASP.NET and AJAX.
Windows, .NET (.NET 2.0, .NET 3.0, .NET 3.5), ASP.NET, Ajax, Dev - Consuming a WCF Service from an SSRS (RDL) Server Report - John Gathogo
An article illustrating how to consume a WCF service from an SSRS Server Report (Unedited)
C# (C# 3.0), .NET (.NET 3.5), ASP.NET, Win32, Visual Studio (VS2008), WCF, WebForms, Dev
ASP.NET Controls
- Editable Gridview with Textbox, CheckBox, Radio Button and DropDown List - sagnik mukherjee
Edit Gridview that containg various Asp.NET contols (Unedited)
C# (C# 1.0, C# 2.0, C# 3.0), .NET (.NET 2.0), ASP.NET, Dev
Silverlight
- One way, Two way and One time bindings using SilverLight - Shivprasad koirala
This article will talk about three ways of binding object properties with SilverLight user interfaces. (Unedited)
C#, Windows (Vista, Win2008, Win 7), Silverlight, Architect, Design - 4 Simple Steps to Consume WCF Service using Silverlight - Shivprasad koirala
4 simple steps to consume WCF service using Silverlight
WCF, Silverlight, Architect - Silverlight Auto Complete Treeview - HarishBhattbhatt
Silverlight AutoComplete Treeview which takes Hierarchical data as its datasource (Unedited)
C# (C# 1.0, C# 2.0, C# 3.0), LINQ, Silverlight
Office Development
- Outlook Automation - Rolf_atSC
This article shows how to automate Outlook using VS2008 rather than VSTO or VBA
C#, Windows, .NET (.NET 2.0), Office, Visual Studio (VS2008), Dev
GDI+
- Implementation of Laplacian of Gaussion Edge Detection Algorithm using C# - Kunal Pawar
This code helps to implement LOG using C#
C# (C# 1.0, C# 2.0, C# 3.0), .NET, GDI+
Database
- How to integrate an OLE object with SQL Server. - Md. Marufuzzaman
This article will demonstrate on how we can integrate T-SQL with external application. (Unedited)
C# (C# 2.0, C# 3.0, C# 4.0), .NET (.NET 2.0, .NET 3.0, .NET 3.5), SQL Server (SQL 2000, SQL 2005, SQL CE, SQL 2008), Visual Studio (VS2008), COM, COM+ - Working with SQL Server Logins - Mohammad Elsheimy
Learn the details of how to work with SQL Server logins. (Unedited)
C# (C# 1.0, C# 2.0, C# 3.0, C# 4.0), SQL, .NET (.NET 1.0, .NET 1.1, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0), SQL Server (SQL 2000, SQL 2005, SQL CE, SQL 2008), Visual Studio, ADO.NET, DBA - Sum of previous row values in SqlServer - S.Vinothkumar
Sum of previous row values in SqlServer (Unedited)
SQL Server (SQL 2005), Architect, DBA, Dev
.NET Framework
- Trigger Based Rule Engine - Deepak-VS
Simple Rule Engine with Triggers to apply the rule
C# (C# 1.0, C# 2.0, C# 3.0), WPF, WinForms, Dev, Design - Writing the read only application-scoped settings - freedeveloper
A method to programmatically write the application-scoped setting in NET Framework (Unedited)
C# (C# 2.0, C# 3.0), .NET (.NET 2.0, .NET 3.0, .NET 3.5), Visual Studio (VS2005, VS2008), WinForms, LINQ, Architect, Dev, Design - A New Way to Approach APM in .NET - mahosi1
A wrapper for the Asynchronous Progamming Model in .NET
C#, .NET (.NET 3.5), Visual Studio (VS2008), WinForms, WebForms
Game Development
- Multi-Threaded Game Server Browser - Greenhorn999
A project that allows users to query Source and Half-Life-based master servers and individual servers
VB, .NET (.NET 3.5) Topics, Architect, Dev, QA, Design, SysAdmin
Vista API
- Display Progress and Overlay Icons for Multiple Views from .NET in Windows 7 Taskbar - George Mamaladze
This article describes how to use Windows 7 new taskbar features, progress indication and overlay icon, from unmanaged .NET code. The second part shows you how to manage progress indication and overlay icons in case of multiple views (windows) and provides appropriate missing classes for Windows API
C#, Windows (Win 7), WinForms, Dev
Windows Communication Foundation
- WCF Service Behavior Example: IPFilter - Allow/Deny Access by IP Address - Ziad Elmalki
WCF Service Behavior Example: IPFilter - Allow/Deny Access by IP Address (Unedited)
C# (C# 3.0), .NET (.NET 3.5), WCF, Dev
Windows Powershell
- Using Powershell to backup your SVN repositories - TexasMensch
How to automate backing up Subversion repositories using Powershell (Unedited)
Windows, PowerShell, Dev, SysAdmin
Windows Presentation Foundation
- PhotoBooth - rudigrobler
A article on how to create a kiosk application that displays photos received via bluetooth (Unedited)
C# (C# 1.0, C# 2.0, C# 3.0), Windows, .NET, XAML, WPF, Dev, Design - ImageMagic - WPF Image Color Spaces - Doug Wyrembek
An article on using WPF to display and manipulate image data in popular colorspaces
C# (C# 3.0), .NET (.NET 3.5), WPF, Dev - WPF Glass Brush Markup Extension - LarryCharlton
A WPF XAML markup extension with a "Glass" look. (Unedited)
VB (VB 7.x, VB 8.0, VB 9.0, VB 6), Windows, WPF, Dev - XAML Graphics Series - Part 1 Silverlight 1.0 XAML Desktop Art Animation - TheArchitectualizer
This is an introduction to creating XAML applications using Silverlight 1.0 and JavaScript. (Unedited)
Javascript, HTML, Windows (Win2K, WinXP, Win2003, Vista, TabletPC, Win2008, Win 7), .NET (.NET 1.0, .NET 1.1, .NET 2.0, Mono, DotGNU, .NET 3.0, .NET 3.5, .NET 4.0), XAML, WPF, Silverlight, Dev, Design, SysAdmin, Sales, Marketing
Windows Workflow Foundation
- Microsoft Windows Workflow Foundation - logicchild
An artilce that explains how to call external data and methods (Unedited)
C# (C# 1.0, C# 2.0, C# 3.0)
C / C++ Language
- Image Compressor - Muhammad Hassan Haider
Compressing Images the easiest way
C++VS2008, Dev - Auto Release Pool in Pure C Language - Chilap
Using pure C language to mimic the memory auto release pool in objective-C
C, Windows
C#
- A Project Dependency Graph Utility for Visual Studio 2008 - Marc Clifton
Review your project dependencies.
C# 1.0, C# 2.0, C# 3.0.NET 3.5, WinForms, Dev - War Card Game Simulation in C# - Gary Stafford
Windows Forms Application using LINQ expressions and Dictionary objects to recreate a classic card game
C# (C# 3.0), Windows, .NET (.NET 3.5), Visual Studio (VS2008), Dev, Design - A multipanel control in C# - liron.levi
this control acts like a tab control but without the tabs... (Unedited)
C# (C# 1.0, C# 2.0, C# 3.0), .NET (.NET 2.0), WinForms, Dev - Extending Polymorphism Backward in Class Hierarchy - Stas Kashepava
This article explains how to apply polymorphic behavior back in the class hierarchy
C#, Windows, .NET (.NET 3.5, .NET 4.0), Visual Studio (VS2008), Dev - Full Outer Join of Two DataTables C# Code - dakshithaw
This article explains how to join two data tables and get the result set into a new data table using C#. Here, this has been done without using Database Access.
C# (C# 1.0, C# 2.0, C# 3.0), .NET (.NET 2.0), ADO.NET, Dev - RCM - Radical (Non)Client Modification Library - Steppenwolfe
A complete skinning engine; modify the appearence of forms and common controls. (Unedited)
C# 1.0, C# 2.0, C# 3.0, .NET, Dev - A Generic Method for Cross-thread Winforms Access - colonel720
A convenient shortcut using generics to check for InvokeRequired on a Winforms control
C# (C# 1.0, C# 2.0, C# 3.0), .NET (.NET 2.0, .NET 3.0, .NET 3.5), WinForms, Dev - Auto Ellipsis - Thomas Polaert
Add "Auto Ellipsis" feature to any Windows Form control
C# (C# 2.0), Windows, .NET (.NET 2.0), WinForms, Dev
Java
- OpenNxSerialization - .Shoaib
Speed up object serialization in Java.
Java, Java, Dev
Other .NET Languages
- Introduction to Delphi Prism - Corinna John
First steps tutorial for Delphi developers.
.NET (Mono, .NET 3.5), ASP.NET, WPF, VS2008, Dev
Algorithms & Recipes
- Creating a XY Chart/Plot as a BlackBerry Custom Field - becker666
Extend a field to make into a chart/plot field
Java, Java (J2ME), Mobile (Blackberry), Dev, Design - BEncode Lexing in C++ - airlobster
A very efficient BEncode Lexer in C++.
VC6, VC7, VC7.1, VC8.0, Dev
Bugs & Workarounds
- How To Inspect the Content of a Program Database (PDB) File - breakpoints
Get to know the files you use on a daily basis when debugging your application with Visual Studio or WinDbg
C++ (VC6, VC7, VC7.1, VC8.0), C++/CLI, C, Windows (Vista), Win32, Visual Studio (VS2008), MFC, COM, Architect, Dev, Design, SysAdmin
Programming Tips
- Execute stored procedure in SQL server using nHibernate - ziaulh
Useful tips to excecute stored procedure using nHibernate (Unedited)
C# (C# 2.0), .NET (.NET 2.0, .NET 3.0, .NET 3.5) Topics - Session of low-level optimization of memory usage in the C++ programs with the total exposure - Victor A. Milokum, Apriorit Inc
In this article we will try to make our algorithms working faster using the methods of low-level optimization of memory allocation in C++. (Unedited)
C++ (VC7.1, VC8.0), Visual Studio, Architect, Dev - Memory Model, Memory Barrier and Singleton Pattern in .NET - rohits1979
Explains Memory Model and ways to implement singleton pattern
C# (C# 1.0, C# 2.0, C# 3.0), .NET (.NET 3.0, .NET 3.5, .NET 4.0), Dev
Threads, Processes & IPC
- Testing distributed memory pools - Valery Grebnev
This article describes a simple approach and test results when creating distributed pools of objects for high-performance applications on a Multi-core PC.
VC6, VC7, VC7.1, VC8.0, Dev
Design and Architecture
- How Programming Should Be Done - Marc Clifton
Cx: A prototype on component loose coupling (Unedited)
C#, .NET, WinForms, Architect, Dev, Design
Book Chapters
- Chapter 3: JavaFX Primer3 - Prentice_Hall
JavaFX Script blends declarative programming concepts with object orientation. This provides a highly productive, yet flexible and robust, foundation for applications. However, with this flexibility comes responsibility from the developer.
Java, Java, Dev
Scrapbook
- Unleash the power of Search Engines - Sandeep Aparajit
Let's unleash the power of a search engine and see how effectively we can use it for searching! (Unedited)
All Topics
Articles updated 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
Files and Folders
- Multithreaded File/Folder Finder - Roger500
File Find is fast, especially if you have multiple physical drives
C# (C# 1.0, C# 2.0, C# 3.0), Windows (WinXP, Vista), Dev, SysAdmin
Miscellaneous
- Programming Microsoft Agent in Windows Forms - Mohammad Elsheimy
Learn how to program with Microsoft Agent in Windows Forms applications (Unedited)
C# (C# 1.0, C# 2.0, C# 3.0, C# 4.0).NET 1.0, .NET 1.1, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, WinForms
Printing
- 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.
C# (C# 2.0), Windows, .NET (.NET 2.0), Visual Studio (VS2005), Dev
Smart Client
- Genesis Hybrid Smart Client Framework part II - Stephan Johnson
This is part II of a VII part series. This article covers the basics of what the Genesis Smart Client is and serves as required reading before reading parts III - VII (Unedited)
C# (C# 1.0, C# 2.0, C# 3.0) - Genesis Hybrid Smart Client Framework part III - Stephan Johnson
This is part III of a VII part series. This article covers the back-end of the Genesis Smart Client Framework including the database design. (Unedited)
C# (C# 1.0, C# 2.0, C# 3.0) - Genesis Hybrid Smart Client Framework part IV - Stephan Johnson
This is part IV of a VII part series. This article covers the windows client of the Genesis Smart Client Framework (Unedited)
C# (C# 1.0, C# 2.0, C# 3.0) - Genesis Hybrid Smart Client Framework part V - Stephan Johnson
This is part V of a VII part series. This article covers the programming concepts that are involved in writing code for the Genesis Smart Client Framework (Unedited)
C# (C# 1.0, C# 2.0, C# 3.0) - Genesis Hybrid Smart Client Framework - Part I - Stephan Johnson
This is part I of VII in a series of articles describing the Genesis Smart Client Framework. This article covers an overview of all the articles available in the series.
C# (C# 1.0, C# 2.0, C# 3.0)
Ajax and Atlas
- How to Create an HTML Editor for ASP.NET AJAX - Eric Williams (winthusiasm.com)
This article discusses how to create an HTML editor server control specifically for the Microsoft AJAX environment.
C#, HTML, ASP.NET, Ajax, Dev
ASP.NET Controls
- ASP.NET PartialHyperLink Control - Uwe Keim
Introducing a small user control to simplify localization of literal text with contained hyperlinks
C#, HTML, XHTML, ASP, ASP.NET, WebForms, Ajax
Web Services
- ExtJS and .NET Web Services - Rafal Ziolkowski
How to use .NET Web Services in ExtJS
C# (C# 2.0), Javascript, .NET (.NET 2.0), ASP.NET, Dev
SharePoint Server
- SharePoint Workflow Basics - Shivprasad koirala
SharePoint workflow basics
All Topics, Architect
Audio and Video
- MP3, Wav, and PCM Audio Recorder Using iTunes in C# - Lukasz Kwiecinski, Istrib, EdMan196
A program that integrates with iTunes and DirectSound to record music
C# 1.0, C# 2.0, C# 3.0WinXP, DirectX, COM, VS2008, Dev
Database
- Overview of XQuiSoft Data using the provider pattern (open source) - Mike Lang
A data abstraction layer for .net applications. Write your application code to be database neutral. Swap out the type of database your application uses without updating or even recompiling your business components. (Unedited)
C#, Windows, .NET, SQL Server, Visual Studio, ADO.NET, Oracle, Architect, DBA, Dev - Fast and Easy Data Access with oSo.SimpleSql - Charles T II
A Data Access Framework using Generics, Lambda Expressions, Fluent Interfaces, and the SqlProviderFactory.
C# (C# 3.0), .NET (.NET 3.5), ASP.NET, ADO.NET, Dev - SqlMetalPlus- A VS Add-in to Manage Custom Changes to DBML - Azeet
This add-in adds easily accessible context menu commands to your DBML files to either apply custom changes or to refresh the whole DBML file with the latest changes from the database.
XML, C# 1.0, C# 2.0, C# 3.0WinXP, Vista, LINQ, VS2008, DBA, Dev
.NET Framework
- Silver JukeBox with an Alternative Client - disore
An article on how to connect Silverlight 2 with web services in order to create a music library application with browse, search and download features.
C# (C# 3.0), .NET (.NET 3.5), XAML, WPF, LINQ, Silverlight, Dev - Enterprise Library Wrapper Class to Implement Run-time Dynamic Connection Strings Without Using Config File - Raja.Lakshman
Enterprise Library wrapper class to implement run-time dynamic connection strings without using config file
VB (VB 7.x, VB 8.0, VB 9.0, VB 6), .NET, ASP.NET, ADO.NET, Dev - Changing Display Settings Programmatically - Mohammad Elsheimy
Learn how to change display settings programmatically via API and .NET Framework (Unedited)
C# (C# 1.0, C# 2.0, C# 3.0, C# 4.0), .NET (.NET 1.0, .NET 1.1, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0), Win32, WinForms, Hardware Topics, Dev - Clearing the Console Screen using API - Mohammad Elsheimy
Learn how to clear the console screen via API calls. In addition, learn some console techniques such as moving the text around the screen. (Unedited)
C# (C# 1.0, C# 2.0, C# 3.0), .NET (.NET 1.0, .NET 1.1, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0), Win32, WinForms
Win32/64 SDK & OS
- Win32 SDK C Tab Control Made Easy - David MacDermot
This article describes formatting a non-MFC based tab control
C++, C, Visual Studio, Dev
Windows Communication Foundation
- WCF Duplex, SMS, a WebServer and a Windows Client (and a couple of other things) - Dary Hint
Sending and receiving text messages from a Windows client (Unedited)
C# (C# 1.0, C# 2.0, C# 3.0), Windows, WCF, Dev
Windows Presentation Foundation
- WPF/xaml NotifyIcon and Taskbar (system tray) popup window - Murray Foxcroft
Integrating WPF and XAML with the windows forms NotifyIcon control to produce a slick, styled popup window when the mouse is moved over the NotifyIcon (Unedited)
C# (C# 3.0), Windows (WinXP, Win2003, Vista, TabletPC, Win2008, Win 7), .NET (.NET 3.0, .NET 3.5, .NET 4.0), XAML, WPF, WinForms, Architect, Dev, Design - WPF Menu using ViewModel - Part 1 - Visu.v
Implementation of WPF menus using View Model approach
C# (C# 1.0, C# 2.0, C# 3.0), WPF
Windows Workflow Foundation
- State Machine Work Flow Discussion - Shivprasad koirala
State Machine Work Flow Discussion (Unedited)
C# (C# 1.0, C# 2.0, C# 3.0), .NET (.NET 3.0, .NET 3.5), ASP.NET, Architect
C / C++ Language
- Chatbot Tutorial - Gonzales Cenelia
Tutorial on making an artificial intelligence chatbot (Unedited)
C++ (VC6, VC7, VC7.1, VC8.0), C++/CLI, C, Java - INI Reader / Writer Class for MFC and ANSI C++ ( Windows \ Linux ) - Ludvik Jerabek
Object based INI file editing in Windows and Linux
C++, Windows, .NET, Linux, ASP.NET, Visual Studio, Dev
C#
- Overview of XQuiSoft Logging using the provider pattern (open source) - Mike Lang
An Introduction to XQuiSoft Logging with a comparision to other log components (Unedited)
C#, Windows, .NET, Visual Studio, Architect, Dev - Solving the .resx Merge Problem - Tom Clement
This article provides a console utility and a method for extending a merge tool to ensure that only real changes (not reordering) appear when merging files from different source control branches.
C#, Windows, WinForms, LINQ, Dev
VB.NET
- File Association in VB.NET - Nickr5
Easily associate your programs with file types (.jpg, .html, .mp3) with just 2 lines of Visual Basic code.
VB (VB 8.0, VB 9.0), Windows (WinXP, Vista), .NET (.NET 2.0, .NET 3.0), Visual Studio (VS2005), WinForms, Dev
Algorithms & Recipes
- Permutations in C# Using Recursion - Gary Stafford
Calculate all permutations of a set of elements using a simple recursive algorithm
C# (C# 2.0, C# 3.0), Windows, .NET (.NET 2.0, .NET 3.0, .NET 3.5), Visual Studio (VS2008), Dev - JSON Spirit: A C++ JSON Parser/Generator Implemented with Boost Spirit - John W. Wilkinson
A C++ JSON parser/generator written using boost::spirit
C++, Windows, Visual Studio, Dev
DLLs & Assemblies
- server pinger and sms reporter via GSM Modem AT COMMAND - Arash Javadi
a software that ping many servers inside a company and report network health (Unedited)
C# (C# 1.0, C# 2.0, C# 3.0), .NET (.NET 2.0, .NET 3.0, .NET 3.5), Dev
Internet / Network
- A Simple C++ Client/Server in CORBA - Carlos Jiménez de Parga
An introduction to the Visual C++ CORBA development
C++ (VC6, VC7, VC7.1, VC8.0), C++/CLI, C, Windows (Win2K, WinXP), Win32, Visual Studio (VS2005), Architect, Dev, Design - Programming control point application using the UPnP Control Point API - amatecki
The article describes how to use the Microsoft's UPnP Control Point API for finding and controlling UPnP devices, and includes a description of simple library to facilitate the application of Control Point API in your own programs, together with an example of MFC and WinForms applications. (Unedited)
C++, C++/CLI, C#, Windows (WinXP, Win2003, Vista), Win Mobile, .NET (.NET 2.0), Win32, Visual Studio (VS.NET2003, VS2008), MFC, ATL, STL, COM, WinForms, Dev
Programming Tips
- Object oriented JavaScript class library in C#/.NET style - EJocys
JavaScript classes ported from .NET (Unedited)
Javascript, CSS, HTML, .NET (.NET 1.0, .NET 1.1, .NET 2.0, Mono, DotGNU, .NET 3.0, .NET 3.5), ASP, ASP.NET, Ajax
Design and Architecture
- Showing Dialogs When Using MVVM Pattern - disore
One solution on how to solve the problem of opening dialogs from a ViewModel when using the MVVM pattern
C# (C# 3.0), .NET (.NET 3.5), XAML, WPF, Dev
Technical blogs added Last week
Document / View
- Styling A ScrollViewer/Scrollbar In WPF - Sacha Barber
A while back I was looking at the Infragistics WPf showcase,Tangerine and I was quite jealous about the scrollbars that they managed to use. I mean styling a Button is one thing, but the ScrollBar is made of lost of nasty different control parts, (Part_XXX elements). Incidently I wrote an article ab (Unedited)
C++, Windows, COM - WPF Flow Document For Beginners - Sacha Barber
As part of an article that I am creating for www.codeproject.com I decided to look into using the System.Windows.Documents namespace and have a look at seeing if I could make a semi-cool’ish looking document.Now when you use FlowDocuments, there are several container WPF container controls wh (Unedited)
C++, Windows, COM
Ajax and Atlas
- ASP.NET AJAX-based Source Code Browser - Jeremy Likness
This project started out when I began searching for an quick way to put source code on my website to make it easy for guests to browse projects. Time is very valuable so I don't always like downloading a zipped archive and then exploding it to see it - I'd rather have a space online. (Unedited)
C#, Windows, .NET (.NET 3.5), ASP.NET, GDI+, Ajax, Architect, Dev
Custom Controls
- Custom Tab Style - Sacha Barber
A little while ago I mentioned about how important I thought it was to create a brand, and I showed you that you can create some interesting looking controls by Templating/Styling the standard System.Windows controls to create a brand.I also showed you a ScrollViewer and a Tab control which I had a (Unedited)
Windows - Creating Custom Panels In WPF - Sacha Barber
WPF has a number of layout Panels that you could use straight out the box, there isWrapPanelStackPanelGridCanvasDockPanelAll of which are great, but occasionally you want something a little bit special. Whilst its probably true that you make most creations using a combination of the existing (Unedited)
Windows - Writing Custom LINQ Extension Methods - Sacha Barber
Microsoft have done a great job with LINQ IMHO. However there are times when it might be handy to create your own LINQ extension methods. LINQ extension methods can be applied to any type provided that the source is of type IEnumerable<T>, so thats really the only requirement.So how do we w (Unedited)
Windows - Direct Input Custom Action Mapping (refresh) - Inaki Ayucar
ManagedDirectx is quite a bit outdated, and no longer supported by Microsoft, but it will make it for this example on custom action mapping. I´d suggest you to go XNA or SlimDX if you want to do some serious .Net graphics or game development. What´s this post about? It´s about having a decent cont (Unedited)
Windows
Silverlight
- Code Browser Take 2: Silverlight - Jeremy Likness
After publishing an AJAX-based source code browser last week, I decided to do an iteration with Silverlight support. Our company is exploring this technology, so it was the perfect "proof of concept" project to get familiar with Silverlight before wiring it in at the office.Download the Source Code (Unedited)
C# (C# 3.0), .NET (.NET 3.5), ASP.NET, Silverlight Topics, Architect, Dev - Exposing Bindings as Properties of a Control - Colin Eberhardt
Demonstrates how to create versatile controls which expose bindings for the elements which they contain internally. (Unedited)
C#, WPF
Web Services
- Using SoapExtension to manage sessions - Diego Resnik
If you don't really need a big session management solution that will cost you in performance (no matter what..) and you only want 2-3 parameters that will help you identify some user's preference without all the fuss, consider - soap extension. (Unedited)
C# (C# 2.0), Windows, .NET (.NET 2.0), ASP.NET, IIS, Architect, Dev
Database
- SQL. How to find holes in sequences. - Anton Burtsev
Hello,Did you ever been asked to find all holes in document numbers (docs are sequentially numbered)? I had to do this search twice. Once for auditing purposes: holes may mean some sort of forgery. And now customers want to reuse numbers of deleted docs. And how do you think holes can be found using (Unedited)
WCF - SQL. Running Totals. - Anton Burtsev
Running totals... Accountants like them so much. But there is no way in SQL to make efficient query that calculate running total. Why? What is running total? It is just previous running total plus current value. But SQL syntax does not give an access to previous rows. (Unedited)
WCF
.NET Framework
- MSBuild: Factorial! - Stephen Cleary
Using MSBuild Targets as general-purpose functions, complete with parameters and return values. (Unedited)
XML, Windows, .NET Topics, Dev
Win32/64 SDK & OS
- WPF GlassEffect For Non Vista OS - Sacha Barber
For those of us fortunate enough to own Windows Vista we can now see transparent windows that show the content behind our window through a glass window. This is down to the Desktop Windows Manager ability to extend the glass effect into the client area. This is however only possible on Windows Vista (Unedited)
C#
Windows Presentation Foundation
- Binding To The WPF Visibility Property - Jay Peer
Click Here to Goto my Blog HomeTargeting visual studio 2008; wpf, xbap, silverlightRecently I had a business need to hide specific XAML elements based off of whether an xml node was present in a bound XML Document. Note though that I did not want to hide the element when I was formatting it in (Unedited)
VB (VB 9.0), .NET (.NET 3.0), Visual Studio (VS2008), XAML, Dev
C#
- C#. Static cache and multithreading. - Anton Burtsev
A few months ago I had to optimize web portal (classified ad). The portal was built on asp.net 1.1. It seemed that portal had 2 main problems: It failed when it was more than 1 user (Collection was modified, etc.)It returned different data for the same page when I setup more than 1 IIS worker proces (Unedited)
C#
C++ / CLI
- How To Create A WCF Client Proxy Without Having a Deployed WCF Service - Sacha Barber
At work we are currently using a very very Agile process, which involves 1/4 hourly builds, which was all going brilliantly with a WPF solution and some Mocks and some NUnit test projects. Then we got to the point where we had to start building our WCF service and have the WPF project obtain a [...] (Unedited)
VB, Windows, .NET
Algorithms & Recipes
- Asynchronous Callback Contexts - Stephen Cleary
End-users do not expect components to raise events after they have been disposed. One major issue when designing asynchronous components is the difficulty of cancellation, particularly during object disposal. (Unedited)
.NET Topics
Date and Time
- Creating classes at runtime - S1mm0t
I've been working on an application that has a number of forms that need to be laid out based on configuration data in the database, this enables the application to meet the requirements of many different customers. Laying out the forms based on the configuration data is relatively trivial - it (Unedited)
XML, Windows - Calling Method Asynchronously With A Timeout - Sacha Barber
As part of an ongoing project I am just about to finish, I had a need to use a 3rd party web service. Now I am quite an cautious sort of chap when it comes to using web services. So I generally try and ensure that I try and make my code as robust as [...] (Unedited)
XML, Windows
Internet / Network
- Detection of Half-Open (Dropped) TCP/IP Socket Connections - Stephen Cleary
How to detect a dropped TCP/IP connection. (Unedited)
Windows, .NET CF, .NET Topics, Dev - TCP/IP Protocol Design: Message Framing - Stephen Cleary
(This post is part of the TCP/IP .NET Sockets FAQ)The ProblemOne of the most common beginner mistakes for people designing protocols for TCP/IP is that they assume that message boundaries are preserved. For example, they assume a single "Send" will result in a single "Receive".Some TCP/IP docu (Unedited)
All Topics, Dev
Threads, Processes & IPC
- Threadsafe Events - Stephen Cleary
When writing components in a multithreaded world, one question that commonly crops up is, "how do I make my events threadsafe?" The asker is usually concerned with threadsafe subscription and unsubscription, but threadsafe raising must also be taken into consideration. (Unedited)
C#, .NET CF, .NET, Dev - ThreadSafeObservableCollection - Sacha Barber
As part of an ongoing article I am just about to finish, I needed a thread safe ObservableCollection<T>. Now the native .NET framework doesn’t have one of those, but luckily it supplies you with the right job to create one using some of the Threading APIs.Here is what I came up with. (Unedited)
C++, Windows, MFC
Design and Architecture
- Singleton Pattern - bmwz9
Sometimes it's important to have only one instance for a class. For instance, there should be only one window manager (or only a file system or only a print spooler) in a system. Usually singletons are used for centralized management of internal or external resources and (Unedited)
All Topics
Uncategorised Technical Blogs
- WPF: Center Child Window - mastermel
Here’s a method I’ve found for centering a window to either its parent or the main window for the application, in WPF. It’s not too far different from how you do it in WinForms. For the child window set it’s WindowStartupLocation to “CenterOwner.” This will cause (Unedited)
All Topics - Useful WPF Threading Extension Method - Sacha Barber
If you are working with WinForms or WPF you will more than likely run into some long running operation that you would like to run in a new thread. A novice may actually try and create a new Thread, which is ok, but that means you are responsible for the entire lifecycle of your new [...] (Unedited)
All Topics - Restyling WPF ListView Header - Sacha Barber
Of late I have been working with Net Advantage for WPF by Infragistics, but today we didn’t really need the fully functionality of a DataGrid and needed a rather lighter weight component (basically simply sorting list, no paging, no grouping…just a list), so I turned my attention back to (Unedited)
All Topics - Generic Support In XAML - Sacha Barber
I have worked with XAML/WPF for a while now, but it wasn’t until recently I thought about generic support in XAML. I had no idea if it was possible, so I decided to have a quick look into this.Luckily the WPF team thought about this and do actually enable WPF developers the correct mechanisms (Unedited)
All Topics - A little var love - Sacha Barber
As we all know one of the things that LINQ gives us is anonymous types that can be used by using the selection query operator, such as 1: var x = new { DateNow = DateTime.Now }; Which will give us an anonymous type with a single DateTime property called "DateNow", which i (Unedited)
All Topics - How To Bind To Generic Method In XAML - Sacha Barber
As some of you that have worked with XAML and Generics may know, there is currently no support for Generics in XAML (that is no support for direct binding of methods that use generics).So consider this problemThat I have various bits of static data that are used through out the system, that are he (Unedited)
All Topics - NUnit STA Threads & Testing WPF - Sacha Barber
During the course of the WPF project we are working on at work, we decided to go down the Agile/XP/TDD/Mocks/Continuous Integration route, which means Unit tests, lots of them.We are using NUnit, which I really like, but we are also using WPF, we are obviously using the latest/greatest patterns AKA (Unedited)
All Topics - xamDataGrid RecordsFound Adorner - Sacha Barber
At work we are using the Infragistics .NET Advantage For WPF, one control of which is the xamDataGrid. We had a small requirement that was to show a label over the grid whenever no records were obtained for the xamDataGrid.DataSource.Now I could have tackled this in a simple manner where I placed t (Unedited)
All Topics - Lookless Controls / Themes - Sacha Barber
One of the great things about WPF is that it separates the functionality of a control from the way it looks, this has become known as “lookless controls”. Which is great, but how can we ensure that our custom controls behave and also have a default look in the first place. This mini arti (Unedited)
All Topics - .NET 3.5 SP1 StringFormat Binding Property Weirdness (A Rant) - Sacha Barber
There are some great things in the .NET 3.5 SP1 for sure, one of them is very useful which is the new StringFormat Binding property, which means that you do not need to write ValueConverters any more to create a formatted value for the Binding. I really like this little addition to WPF. The o (Unedited)
All Topics - Reading Feeds with XLINQ - Sacha Barber
I have done a number of projects that all parse RSS Feeds using XLINQ. Which in itself is awesome, and much easier than using old XML techniques. Where I would so something like 1: public static List<PhotoInfo> LoadLatestPictures() 2: { 3: try 4: [...] (Unedited)
All Topics - WPF Localization - Sacha Barber
recently at work I was asked to look into Localization techniques when working with WPF/XAML. There are some excellent sources around that cover the various different techniques such asthis excellent article which outlines the following techniquesUsing LocbamlLocbaml is a localization tool that M (Unedited)
All Topics - A Moan About ImageBrush In WPF - Sacha Barber
I am working on a 3D article in WPF, and I wanted to use an ImageBrush but was having some issues with it, so I decided to split this out into a small test app.I had the following setupAnd I simply wanted to test this out by creating an ImageBrush that I could use to [...] (Unedited)
All Topics - Dragging Element In A Canvas - Sacha Barber
You know when there is something you have done a million times, but for the life of you, you just can’t seem to be able to remember how to do it. Well responding to mouse movements, is my bug bear.Today I had to drag an element in a container in WPF, and try as I [...] (Unedited)
All Topics - Creating A Scrollable Control Surface In WPF - Sacha Barber
Have you ever had a requirement that called for the user to be able to scroll around a large object, such as a diagram. Well I have, and I have just started working on a hobby project where I need just such a feature. We probably all know that WPF has a ScrollViewer control which [...] (Unedited)
All Topics - WPF : Binding to individual collection items (but not in a ItemsControl) - Sacha Barber
Well I had a great day yesterday, and quite a surprising one, I had an issue with an idea I was working on, so naturally I turned to Josh Smith.And guess what I, yes me the mere mortal managed to teach Josh something about WPF…Ha Ha, check that.So here is what I taught Josh…..(still ca (Unedited)
All Topics - Cool Database Tool - Sacha Barber
For the last 2 months Jan/Feb 2008, I have won the C# article of the month at codeproject, and as such, I receive a lot of free software. Which I normally don’t ever look at. The reason for this is simple. I write articles to share with people, so these free bits of software really [...] (Unedited)
All Topics - All New .NET 3.5 3D Elements - Sacha Barber
I have started looking at 3D again in WPF. I have in the past blogged about the Viewport2DVisual3D 3D WPF element. Well for what I am working on I didn’t need to be able to put 2D interactive elements on a 3D surface, but I did want the 3D object to able to respond to [...] (Unedited)
All Topics - Explicitly Updating And Validating Databindings In WPF - Sacha Barber
The other day I was working on something for a Codeproject article, where I needed to bind part of my UI to an underlying data object. I want to use all the good validation thing such as a Validation Style to use for my TextBox, and also the use of the new .NET 3.5 interface [...] (Unedited)
All Topics - A WPF GiftWorse (AKA Xceed DataGrid for WPF) - Sacha Barber
Now some time ago I wrote an article at Codeproject that was a simple contact keeper which used LINQ / XLINQ and one of its core requirements was an editable datagrid.The article was published at Codeproject and can be found right here.Those that use WPF will know that there is NO native control w (Unedited)
All Topics - Winforms / WPF Interop - Sacha Barber
In this blog entry I will discuss what you need to do to successfully interop Winforms with a WPF application and vice versaIn order to evaluate these 2 different interop methods, 2 demo projects have been created which carry out the functionality shown below :.NET Winforms userControl within a . (Unedited)
All Topics - Consistent Window Look & Feel - Sacha Barber
As part of a beginners WPF series (Beginners WPF series) that I am writing at codeproject, I just start to write an article on DependancyProperties. As part of that, I started to write a bunch of demo projects to illustrate the joy of DependancyProperties to people. As a side effect, I had to think (Unedited)
All Topics - How to stream XLINQ - Sacha Barber
From time to time when you are using XLINQ to query XML data, you may find that you are dealing with a very large XML file. Loading a very large XML file using the standard XLINQ Load() method may not be appropraite due to the size of the XML file. Instead some sort of streaming [...] (Unedited)
All Topics - SQL Server CLR Functions - Sacha Barber
Today we had a requirement to do some pretty strange stuff in SQL which required us to call an encryption library in SQL server. This is something I had not done before, so I thought I would blog about it.There are several steps involved.1. Create the CLR Dll for the SQL function to use, and [...] (Unedited)
All Topics
cheers,
Chris Maunder
The Code Project
This email was sent to varaprasad.ms@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 x 100







0 comments:
Post a Comment