Codeguru Update eNewsletter – December 19th, 2006

CodeGuru content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

==========================================================
CodeGuru Newsletter
December 19, 2006

http://www.CodeGuru.com


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


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



TOPICS:



–> Editorial –
–> Recently Published
Books


–> New on
CodeGuru: 
       ==>
AJAX
             
– [Updated] Convert Your Scraps of Script to Reusable AJAX Control
Extenders
       ==> C#
Syntax
             
– Flags Enumerations
       ==>
Collections
             
– Creating a Collection of Your Objects
      
==> Database
Tip
             
– SQL Express Configuration Issue
       ==>
Exception
Handling
             
– Managing Exceptions in .NET
       ==>
Graphics
             
– Find Simplicity and Portability in PNGwriter Graphics
Library
       ==>
Math
             
– Error Detection Based on Check Digit
Schemes
       ==>
Misc.
             
– Resource DLLs and Language Selection
Menu
       ==>
OOP
             
– MI Is not Mission Impossible
       ==>
Sample
Code
             
– Sudoku in VB .NET
       ==>
Security
             
– Product Keys Based on Elliptic Curve
Cryptography
       ==>
WPF
             
– Meet DependencyObject and DependencyProperty, the .NET Data-Binding
Boosters


–> Discussion Groups — HOT
Threads 
       – How to avoid
dynamic_cast/static_cast (C++) 
       –
How to keep data persistance into controls?
(VC++)
       – Listbox to Datagrid (VB 6)


–> Highlighted new articles on
Developer.com 
       1.
Modularizing and Code Reuse Using AOP
       2.
Using Google Web Toolkit to Access SQL Anywhere Web
Services
       3. Find Simplicity and
Portability in PNGwriter Graphics Library


/——————————————————————-
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,2who,1,dh1n,3138,jorm,i5r0
————————————————————–adv.-/


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


It’s the week before Christmas and all through the office, not a creature is
stirring not even a mouse Okay, a few mouses are stirring and so are a few
trackballs!


With Christmas next week and New Years the week after, things often slow down
at this time of year. I find it a great time to do some additional writing and
to focus on figuring out projects I want to accomplish in the next year. It
seems that over at Microsoft they have been trying to wrap of the year in a
similar way in regard to Visual Studio.


Last Friday Microsoft released Service Pack 1 (SP1) for Visual Studio 2005.
This is an update that provides bug fixes and other updates. In a release
Microsoft stated that they have included more than 70 improvements in this
release. This includes updates based on feedback from users to better support
for all the new multi-processors that have been released recently.


Equally important, Microsoft is also thinking about next year as well. They
released a beta Service Pack 1 for Vista (called Visual Studio 2005 SP1 Update
for Windows Vista Beta). Visual Studio 2005 is an unsupported application on
Vista at this time, so it is critical for Microsoft to get the appropriate fixes
to us as soon as possible. While I believe the service pack should have been
available November 30th with the official release of Vista, it wasn’t. As such,
a beta now is at least a start in the right direction. The final release of the
Visual Studio SP1 for Vista should be available at the time Vista is generally
available (figure around January 30th).


For more on the SP1, you can go to:


http://nl.internet.com/ct.html?rtr=on&s=1,2who,1,lvqg,l3tl,jorm,i5r0


Happy Holidays!


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:


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


–> SQL Server 2005 Practical Troubleshooting The
Database Engine
      By Microsoft Insiders and
others for Addison-Wesley
      884 pages for $54.99

      http://books.internet.com/books/0321447743


=========================================================
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,2who,1,fka1,909i,jorm,i5r0


This week’s CodeGuru posts:


==> AJAX


– [Updated] Convert Your Scraps of Script to Reusable AJAX
Control Extenders
    By Damian
Mehers
See how Microsoft’s AJAX Control Toolkit gives you a fantastic
opportunity to repackage JavaScript code into reusable components that can be
used within the server-side ASP.NET framework so that you can easily share your
JavaScript behavior with other developers.
http://nl.internet.com/ct.html?rtr=on&s=1,2who,1,5kxh,2zoh,jorm,i5r0


==> C# Syntax


– Flags Enumerations
    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,2who,1,e5on,l5ae,jorm,i5r0


==> Collections


– Creating a Collection of Your
Objects
    By Eric Smith
The generic collection
introduced with .NET 2.0 allows you to create collections of your objects
without having to design a new class.
http://nl.internet.com/ct.html?rtr=on&s=1,2who,1,2qwz,5boh,jorm,i5r0


==> Exception Handling


– Managing Exceptions in .NET
    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,2who,1,4qcb,le8u,jorm,i5r0


==> Graphics


– Find Simplicity and Portability in PNGwriter Graphics
Library
    By Victor Volkman
PNGwriter is an
easy-to-use open source graphics library that uses PNG as its output format.
Jump right in with a demo for creating a PNG programmatically.
http://nl.internet.com/ct.html?rtr=on&s=1,2who,1,lcmv,gzt9,jorm,i5r0 


==> Math


– Error Detection Based on Check Digit
Schemes

    By Jeffrey Walton
Learn about various
Check Digit Schemes and how to implement the scheme.
http://nl.internet.com/ct.html?rtr=on&s=1,2who,1,1sv8,ilz5,jorm,i5r0


==> Misc.


– Resource DLLs and Language Selection
Menu
    By swautier
CLanguageSupport: With a few
lines of code, add automatic UI language selection and a language selection menu
to your app. CLanguageSupport is your resource DLLs manager (also known as
satellite DLLs).
http://nl.internet.com/ct.html?rtr=on&s=1,2who,1,ha2v,buzk,jorm,i5r0


==> OOP


– MI Is not Mission Impossible
    By
angelorohit
Read a guide to dealing with some of the problems encountered
with multiple inheritance.
http://nl.internet.com/ct.html?rtr=on&s=1,2who,1,l0u1,69bn,jorm,i5r0


==> Sample Code


– Sudoku in VB .NET
    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,2who,1,8fe9,ma5v,jorm,i5r0


==> Security


– Product Keys Based on Elliptic Curve
Cryptography
    By Jeffrey Walton
Protect
software with product keys based on Elliptic Curve Cryptography.
http://nl.internet.com/ct.html?rtr=on&s=1,2who,1,bryw,53sc,jorm,i5r0


==> Tip


– SQL Express Configuration Issue
    By
Sushankar layak
Learn how to conquer a SQL Express 2005 remote connection
issue.
http://nl.internet.com/ct.html?rtr=on&s=1,2who,1,b27x,jyh5,jorm,i5r0


==> WPF


– Meet DependencyObject and DependencyProperty, the .NET
Data-Binding Boosters
    By Chad
Campbell
Using the DependencyObject and the DependencyProperty in conjunction
enables .NET developers to expose some of the powerful features of the Windows
Presentation Foundation. Learn how to implement data binding with them.
http://nl.internet.com/ct.html?rtr=on&s=1,2who,1,f0f6,4o86,jorm,i5r0


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




Check out the CodeGuru discussion forums at:


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


==> How to avoid dynamic_cast/static_cast (C++)

        http://nl.internet.com/ct.html?rtr=on&s=1,2who,1,di9o,ltvy,jorm,i5r0


==> How to keep data persistance into controls?
(VC++)
        http://nl.internet.com/ct.html?rtr=on&s=1,2who,1,fiqn,b067,jorm,i5r0


==> Listbox to Datagrid (VB
6)
        http://nl.internet.com/ct.html?rtr=on&s=1,2who,1,1ci,kshv,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. Modularizing and Code Reuse Using
AOP
    By Ayyappan Gandhirajan –
Review some
insights about code modularity and reuse using Aspect-Oriented Programming
(AOP).



http://nl.internet.com/ct.html?rtr=on&s=1,2who,1,1i67,2wxm,jorm,i5r0


2. Using Google Web Toolkit to Access SQL Anywhere Web
Services
    By Rob Close –
If you have ever
written JavaScript targeted at multiple browsers, you will know that it can be
tricky having everything work as expected in every browser. To get around that
problem, GWT generates scripts for several popular browsers. Once you know the
steps, getting Google Web Toolkit working with SQL Anywhere is a straightforward
process.



http://nl.internet.com/ct.html?rtr=on&s=1,2who,1,b7ar,c0uj,jorm,i5r0



3. Find Simplicity and Portability in PNGwriter Graphics
Library
    By Victor Volkman –
PNGwriter is an
easy-to-use open source graphics library that uses PNG as its output format.
Jump right in with a demo for creating a PNG programmatically.



http://nl.internet.com/ct.html?rtr=on&s=1,2who,1,l5ea,6ch3,jorm,i5r0


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

More by Author

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Must Read