Codeguru Update eNewsletter – January 23th, 2007

==========================================================
CodeGuru Newsletter
January 23, 2007

http://www.CodeGuru.com


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


___________________________ Sponsors
________________________________
Jupiterimages
_____________________________________________________________________
==========================================================


TOPICS:



–> Editorial –

        ….. The Indianapolis
Colts!
        ….. Microsoft Launch
Events
        ….. ASP.NET AJAX 1.0
Released
        ….. APIFinder.com


–> Recently Published Books


–> New on
CodeGuru: 
        ==>
AJAX
               
– Using Control Adapters to Automatically Attach AJAX Extenders to ASP.NET
Controls (C#)
        ==>
ASP.NET
               
– Web parts: the building blocks of portals
(C#)
        ==>
Data
               
– The Only Data Access Layer You’ll Ever Need?
(VB)
        ==> Exception
Handling
               
– [Updated] Managing Exceptions in .NET
(C#)
        ==>
Graphics
               
– Owner Drawing the Submenu Arrow
(C++)
        ==> Sample
Code
               
– [Updated] Sample Code: Sudoku in VB .NET
(VB)
        ==>
Security
               
– [Updated] Compiling and Integrating Crypto++ into the Microsoft Visual C++
Environment
        ==>
Syntax
               
– [Updated] Flags Enumerations (VB)


–> Discussion Groups — HOT
Threads 
        – Speeding
up a Computer’s Start Up (General PC) (From
VBForums)
        – FindWindow
(C++)
        – Problem using vectors
(VC++)


–> Highlighted new articles on
Developer.com 
        1.
Java 5’s DelayQueue
        2. Eclipse
Tip: Use Optional Plug-in Dependencies to Support Diverse Runtime
Environments
        3. Using the Java 2D
LookupOp Filter Class to Process Images


/——————————————————————-
Jupiterimages
– your search ends here
Jupiterimages offers online subscriptions and single
image
downloads for clipart, Web graphics, photos, footage and music

(including flash versions) via a comprehensive network of

design-oriented Web sites for industry professionals and
individual
consumers.
See what you’re missing.
Go to:
http://nl.internet.com/ct.html?rtr=on&s=1,2yi9,1,dh1n,3138,jorm,i5r0
————————————————————–adv.-/


==========================================================
Comments
from the
Editor
==========================================================


….. The Indianapolis Colts!
I must first state that I
am personally located in Indianapolis, Indiana – home of the Indianapolis Colts
that just won one of the best playoff games ever! If you watch American
football, the Colts/Patriots game this past Sunday was one that you didn’t want
to miss. The Colts came back from the biggest deficit in a playoff game (21 to
3) to win the game and a place in the Superbowl.


What is even cooler is that our Colts get to play the Chicago Bears, who are
just a couple of hours down the road. Ironically, however, they will be
traveling over a thousand miles to Florida to play the big game at the
Superbowl. Regardless, football fans are riding high in Indianapolis!


….. Microsoft Launch Events


While there was a ton of excitement on Sunday at the RCA Dome here in
Indianapolis, just a few days earlier the excitement seemed to be missing from
the Microsoft Across America launch event for Windows Vista, Microsoft Office
2007, and Microsoft Exchange 2007. The event was packed and many sessions
“sold out.” Although Microsoft brought the t-shirts and the little bags, it
seems they forgot to bring the excitement. For a launch event, you’d expect some
sort of radiating excitement, whether it be from balloons and streamers, or from
clowns and jugglers, for a launch event you expect something to raise the
excitement level.


Unfortunately the excitement just wasn’t there. The speakers did a great job
and the information was good, although nothing overly new since they’ve been
talking about these products just short of what seems like forever. Having said
that, I would still recommend you go if there is an event around your city or if
you’ve not gotten a good look at the new products.


Hopefully by then Microsoft will have added a bit more excitement to the
events.


….. ASP.NET AJAX 1.0 Released


Where you might find some exitement coming from Microsoft is with ASP.NET
AJAX 1.0. Microsoft released ASP.NET AJAX 1.0 to the Web today. This is a free
framework for using AJAX. You can download this from:


http://nl.internet.com/ct.html?rtr=on&s=1,2yi9,1,4gsb,3lc3,jorm,i5r0


….. APIFinder.com


As a parting thought, I’d like to once again mention our new site for finding
APIs that you might find useful. At APIFinder.com, you can not only find APIs,
you can also post information about any APIs you are using are know about.
If you haven’t taken a look at the site, then I ask that you take a few minutes
to do so. I’d really like to hear what you think of the site.


Until next week…


Brad!
—————————
Bradley L.
Jones
www.CodeGuru.com
—————————


=========================================================
Recently
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:


http://www.codeguru.com/review-guidelines.php


–> Beginning Database Design: From Novice to Professional

      By Clare Churcher for
Apress
      300 pages for
$34.99
      http://books.internet.com/books/0590597699


=========================================================
New
& Updated Articles on
CodeGuru
==========================================================


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


http://nl.internet.com/ct.html?rtr=on&s=1,2yi9,1,fka1,909i,jorm,i5r0


This week’s CodeGuru posts:


==> AJAX


– Using Control Adapters to Automatically Attach AJAX Extenders to
ASP.NET Controls (C#)

    By Damian Mehers
They
have confusingly similar names, but how can ASP.NET AJAX Control Extenders and
ASP.NET Control Adapters be usefully combined?
http://nl.internet.com/ct.html?rtr=on&s=1,2yi9,1,fipo,569t,jorm,i5r0


==> ASP.NET


– Web parts: the building blocks of portals
(C#)
    By DarrenNeimke
Learn how to use ASP.NET
Web Parts to build better web sites.
http://nl.internet.com/ct.html?rtr=on&s=1,2yi9,1,d4u6,5jj2,jorm,i5r0


==> Data


– The Only Data Access Layer You’ll Ever Need?
(VB)
    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.
http://nl.internet.com/ct.html?rtr=on&s=1,2yi9,1,cpq8,4kcg,jorm,i5r0


==> Exception Handling


– [Updated] Managing Exceptions in .NET
(C#)
    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.
http://nl.internet.com/ct.html?rtr=on&s=1,2yi9,1,4qcb,le8u,jorm,i5r0


==> Graphics


– Owner Drawing the Submenu Arrow
(C++)
    By drkato9
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.
http://nl.internet.com/ct.html?rtr=on&s=1,2yi9,1,3rnb,g70e,jorm,i5r0


==> Sample Code


– [Updated] Sample Code: Sudoku in VB .NET
(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
Sudoku.
http://nl.internet.com/ct.html?rtr=on&s=1,2yi9,1,34qw,6t7c,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.
http://nl.internet.com/ct.html?rtr=on&s=1,2yi9,1,679l,7vpi,jorm,i5r0


==> Syntax


– [Updated] Flags Enumerations (VB)
    By
David Oldfield
The documentation on Microsoft’s flags enumerations is rather
sketchy at best, but offers a more ideal solution for a great many problems. The
problem is, with such little documentation it can be very time consuming to
figure out how to use them correctly. Here is a small walkthrough explaining a
relatively simple means of interacting with them through use of the bitwise OR
operator.
http://nl.internet.com/ct.html?rtr=on&s=1,2yi9,1,jpwu,ie1g,jorm,i5r0


==========================================================
Discussion
Groups
==========================================================


Check out the CodeGuru discussion forums at:


http://nl.internet.com/ct.html?rtr=on&s=1,2yi9,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!


… HOT THREADS …


Some of the current threads with the most activity are:


==> Speeding up a Computer’s Start Up (General PC) (From
VBForums)
        http://nl.internet.com/ct.html?rtr=on&s=1,2yi9,1,bih1,3jdh,jorm,i5r0


==> FindWindow
(C++)
        http://nl.internet.com/ct.html?rtr=on&s=1,2yi9,1,3j26,cj6m,jorm,i5r0


==> Problem using vectors
(VC++)
        http://nl.internet.com/ct.html?rtr=on&s=1,2yi9,1,4a0v,dgr6,jorm,i5r0


==========================================================
New
Articles on
Developer.com
==========================================================


Below are some of the new articles that have been posted to Developer.com (http://www.developer.com).


1. Java 5’s DelayQueue
    By Jeff Langr –

See how the power of the Java 5 queue implementations, including DelayQueue,
as they define constructs for common queueing needs in a thread-safe
manner.
http://nl.internet.com/ct.html?rtr=on&s=1,2yi9,1,ifxp,hd4f,jorm,i5r0


2. Eclipse Tip: Use Optional Plug-in Dependencies to Support Diverse
Runtime Environments
    By Peter Nehrer –
Look
into a sort of “universal middleware” for Java — a service-oriented,
component-based environment that provides software vendors with standardized
access to a variety of platforms and runtime environments.
http://nl.internet.com/ct.html?rtr=on&s=1,2yi9,1,93xm,jwqc,jorm,i5r0


3. Using the Java 2D LookupOp Filter Class to Process
Images
    By Richard G. Baldwin –
Learn how to
write programs that use the LookupOp image-filtering class of the Java 2D API
for a variety of image-processing purposes.
http://nl.internet.com/ct.html?rtr=on&s=1,2yi9,1,ltkt,3n5u,jorm,i5r0


==========================================================

More by Author

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Must Read