Codeguru Update eNewsletter – January 2nd, 2007

CodeGuru Newsletter
January 2, 2007

This newsletter is part of the, EarthWeb, and networks.
Jupitermedia Corporation

______________________________ Sponsors
Pegasus Imaging


–> Editorial –
–> Recently Published

–> New on CodeGuru:

– The Only Data Access Layer You’ll Ever
– [Updated] Sample Code: Sudoku in VB
       ==> Exception
– [Updated] Managing Exceptions in .NET
– Owner Drawing the Submenu Arrow
– [Updated] Compiling and Integrating Crypto++ into the Microsoft Visual C++
       ==> Web
– Web parts: the building blocks of portals

–> Discussion Groups — HOT
       – Will this logic
work? (VC++) 
       – Calling an exe in a
dll (VC++)
       – File Difference (VB 6)

–> Highlighted new articles on 
Controlling layout in AJAX web applications using the GWT and
       2. Links to Key Java
       3. A Brief Introduction to

Build applications for document imaging,
forms processing,
medical imaging, photo/color imaging, and video.
Imaging offers software development kits for image
editing, scanning, cleanup, annotation, printing, barcode,
ICR, OMR, compression (JPEG2000, TIFF, PDF, more), form
recognition, form
registration, and form dropout. Products
are delivered as .NET toolkits,
ActiveX COM controls, and
C/C++ libraries. Comprehensive suite of products
Download now at,2×69,1,8bw5,2f74,jorm,i5r0

from the Editor

2006 is over and 2007 is just beginning. Even so, the forums have already
been active with controversial discussions on coding stealth email programs as
well as on topics more relevant to programming in general. 2006 was a year where
topics like SOA, AJAX, and web development were in the forefront. Windows Vista
also dominated headlines from the beginning of the year all the way to the
less-than-spectacular release to manufacturing.

It is now 2007. Windows Vista, Office 2007, and Exchange 2007 are all
receiving big launch parties over the next few months, Java is going open
source, and the first release of the 3D Java desktop, Project Looking Glass,
might actually have released. Microsoft has stated that they will be releasing a
large number of products in 2007 (something like 30 or more). Combine this with
the changes in technology from 2006 and it begins to look like 2007 could be an
interesting year.

Will 2007 be a pep rally for Vista? I’ll go out on a limb and say I doubt it.
Having said that, I’ll go out farther on the limb and mention a couple of things
I think will be important for developers between now and the end of the year.

AJAX and web applications will continue to gain momentum. This is a pretty
safe bet that needs little clarification.

A prediction that is more risky is for me to state that Multi-threaded
programming is going to become more important. In the past, multi-threading
could help an application speed up, but you were still bound by your processor
and what it could do. With the release of dual and other multi-core processors,
there is a better chance that by using multiple threaded applications you could
gain serious performance results. While you can let the processor try to do some
of this for you, being able to add threading within your own programs will help
you gain efficiencies that can now be elevated by the processors. Understanding
multi-threading will be a big plus for developers in 2007 and going forward.

I’ll make one additional prediction that is even more risky for me to make.
By the end of 2007, if you are a .NET developer you will likely be seriously
exploring Windows Presentation Foundation. While this has been hyped over the
past year or two, it is now a reality with the release of the .NET Framework
3.0. The separation of your interface and the ability to add vector based
graphics and animation will help to create much more fluid and dynamic
applications that will be compatible with the direction Microsoft is taking

In addition to the standard WPF, when WPF/E releases later this year, there
won’t be any flashes of fireworks nore will there likely be a major change in
the industry. However, there will be an option to embed Xaml items within your
Web pages. This should prove to be interesting. While WPF/E is being marketed as
the “Flash-killer”, don’t expect that any time soon. Even so, if it delivers in
2007 what is promised, then there may be a new, relatively easy-to-use Flash

What do you think is going to be big in 2007? Feel free to drop me an email
at [email protected] or drop a comment into the forums.

Until next week…

Bradley L.

Published Books

For those of you keeping up by reading books. The following are just a few of
the new books that have been recently released. If you’ve read any of these,
feel free to write a review to be posted on CodeGuru. See the submission
guidelines at:

–> Smart Client Deployment with
      Deploying Windows Forms
Applications with ClickOnce
      By Brian Noyes for
      320 pages for

–> Microsoft SQL Server 2005 Analysis
      By Edward Melomed, et al.
for Sams
      850 pages for $59.99

& Updated Articles on

Following are short descriptions of new articles on CodeGuru. If you are
interested in submitting your own article for inclusion on the site, then you
will find guidelines located at,2×69,1,fka1,909i,jorm,i5r0

This week’s CodeGuru posts:

==> AJAX

– Using Control Adapters to Automatically Attach AJAX Extenders to
ASP.NET Controls
    By Damian Mehers
They have
confusingly similar names, but how can ASP.NET AJAX Control Extenders and
ASP.NET Control Adapters be usefully combined?,2×69,1,fipo,569t,jorm,i5r0

==> Data

– The Only Data Access Layer You’ll Ever
    By Paul Kimmel
A useful data access
layer (DAL) makes managing persistence easier than writing CRUD behaviors all
over your code. Learn to build a flexible, simple one that does just that with a
relatively few lines of code.,2×69,1,cpq8,4kcg,jorm,i5r0 

==> Examples

– [Updated] Sample Code: Sudoku in VB
    By Michael Champion
Sudoku is a
logic-based location puzzle game normally played using numbers. This is simply
an introduction to some of the facets of VB .NET using the mathematics behind

==> Exception Handling

– [Updated] Managing Exceptions in
    By Jayant Kulkarni
Learn about the
techniques and guidelines you can use to make your application stable and less
prone to errors, hande errors in a graceful manner, and avoid crashing.,2×69,1,4qcb,le8u,jorm,i5r0

==> Graphics

– Owner Drawing the Submenu Arrow
Due to a restriction in the Win32 APIs, submenu arrows are always
drawn, and always drawn enabled in owner drawn menus. Learn about a workaround
for this situation.,2×69,1,3rnb,g70e,jorm,i5r0

==> Security

– [Updated] Compiling and Integrating Crypto++ into the
Microsoft Visual C++ Environment
By Jeffrey Walton
Learn how to compile and integrate Crypto++ into the
Microsoft Visual C++ environment.,2×69,1,679l,7vpi,jorm,i5r0

==> Web Parts

– Web parts: the building blocks of
    By DarrenNeimke
Learn how to use
ASP.NET Web Parts to build better web sites.,2×69,1,d4u6,5jj2,jorm,i5r0


Check out the CodeGuru discussion forums at:,2×69,1,bcr8,cx5j,jorm,i5r0

Forums include Visual C++, General C++, Visual Basic, Java, General
Technology, C#, ASP.NET, XML, Help Wanted, and much, much, more!


Some of the current threads with the most activity are:

==> Will this logic work? (VC++),2×69,1,1meu,7tee,jorm,i5r0

==> Calling an exe in a dll

==> File Difference (VB

Articles on

Below are some of the new articles that have been posted to (

1. Controlling layout in AJAX web applications using the GWT and
    By Richard G. Baldwin –
Learn how to
control the layout of a GWT Ajax web application using HTML layout capabilities,
the capabilities of the layout classes in the GWT API, and a combination of the
two. Also learn more essential aspects of the creation and deployment of GWT
Ajax web applications.,2×69,1,6nxf,e0y0,jorm,i5r0

2. Links to Key Java Downloads
Rosemarie Graham –
Here is a collection of links to key Java downloads so
you don’t have to search for them.,2×69,1,8rsl,eis8,jorm,i5r0

3. A Brief Introduction to Agile
Jeff Langr –
Discover the conceptual framework where customers, iterative
and incremental delivery are key.,2×69,1,cp75,djz9,jorm,i5r0


More by Author

Must Read