Codeguru Update eNewsletter – September 26th, 2006

==========================================================
CodeGuru Newsletter
September 26, 2006

http://www.CodeGuru.com


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


___________________________ Sponsors
________________________________
Pegasus Imaging
Corporation
_____________________________________________________________________
==========================================================


TOPICS:



–> Editorial
–> Recently Published Books


–> New on CodeGuru:
   –
Articles
        ==>
ASP.NET 
               
– .NET Tip: Creating and Using Your Own
Events
        ==> Controls –
Gridview
               
– Build a Nested GridView Control with
ASP.NET
        ==>
Data
               
– ASP.NET Tip: Exporting Data to
Excel
        ==>
Database
               
– MySQL UDFs
        ==>
Images
               
– Two ASP.NET HttpHandler Image
Hacks
        ==> Server
Applications
               
– Controlling an Object’s Creation Based on Its Key Value Representing a Unique
Resource
        ==>
Sound
               
– Volume Control Snapshot
        ==>
Testing
               
– Data Driven Testing with Visual Studio Team
Suite
        ==>
XML
               
– Read and Write Open XML Files in MS Office 2007


–> Discussion Groups — HOT
Threads
        – How to retrieve
the primary thread of the process?
(VC++)
        – The path to cleaner code:
[Exception handling] (C#)
        –
Updating Child / Junction Table in a DataGrid (VB.NET)


–> Highlighted new articles on
Developer.com 
        1.
Understanding the 2D Discrete Cosine Transform in
Java
        2. Create a Chronological
Photo Album with Java
        3. Play it
Cool: Creating Reports from Stored Data


/——————————————————————-
Build
applications for document imaging, forms processing,
medical imaging,
photo/color imaging, and video. Pegasus Imaging
offers toolkits and
applications for image capture, viewing,
editing, scanning, annotation,
printing, compression (JPEG2000,
TIFF, PDF, more), barcode, OCR, ICR, OMR,
and medical DICOM. Toolkits
are delivered as .NET, COM controls, VCLs, DLLs
and applications.
http://nl.internet.com/ct.html?rtr=on&s=1,2qrd,1,8bw5,2f74,jorm,i5r0
————————————————————–adv.-/


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


Are you using Visual Studio 2002 or Visual Studio 2003? Do you plan to
migrate to Windows Vista when it releases in a few months? You might want to
reconsider. While the Visual Basic 6 IDE and runtime will be supported on Vista,
Visual Studio 2002 and 2003 will not be.


You heard correctly – Microsoft will not be supporting 2002 and 2003 on
Windows Vista. Rather, you will need Visual Studio 2005, or more importantly,
Visual Studio 2005 with Service Pack 1 (SP1). Not to totally worry, you can use
the 2002 and 2003 versions on Windows XP to create solid Vista applications. The
1.1, 2.0, and 3.0 versions of the .NET framework will be supported on Windows
Vista. However, if you have trouble running Visual Studio 2002 or 2003,
Microsoft support is not there for you. 


Granted, if you are going to move to Vista, then you are likely using the
current version of Visual Studio anyway. If not, you should be. Additionally,
you’ll want to apply the Service Pack when it is fully released. The Service
Pack 1 actually released on the Microsoft Connect site today as a beta. If you
want to get a jump on seeing what has changed in this SP, then you can go to http://connect.Microsoft.com/VisualStudio
and register. Be aware that this is a beta and that all the issues are not
resolved.


Microsoft released the beta so people could get a jump on what is coming. The
final product should release soon after Vista releases.


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


–> Accelerated C# 2005
     
By Trey Nash for Apress
      410 pages for
$39.99  
      http://books.internet.com/books/1590597176


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


This week’s CodeGuru posts:


================
====  Articles  ====
================


==> ASP.NET


– .NET Tip: Creating and Using Your Own
Events
    By Eric Smith
Simply registering for a
custom event and running your code when the event occurs makes managing the
sequence of events within a Web page easier.



http://nl.internet.com/ct.html?rtr=on&s=1,2qrd,1,20bm,8lh5,jorm,i5r0


==> Controls – Gridview


– Build a Nested GridView Control with
ASP.NET
    By Paul Kimmel
Take the tedium out of
building complex GUIs in ASP.NET by creating nested GridView controls.



http://nl.internet.com/ct.html?rtr=on&s=1,2qrd,1,1zuv,m3xi,jorm,i5r0


==> Data


– ASP.NET Tip: Exporting Data to Excel
   
By Eric Smith
Enable your users to download data for use in Excel
spreadsheets with a few easy tricks that leave all the hard formatting work to
Excel.



http://nl.internet.com/ct.html?rtr=on&s=1,2qrd,1,6ddf,40sh,jorm,i5r0


==> Database


– MySQL UDFs
    By DarkLizener
Learn
how to extend MySQL with your own functions in C/C++.



http://nl.internet.com/ct.html?rtr=on&s=1,2qrd,1,98s7,g4fh,jorm,i5r0


==> Images


– Two ASP.NET HttpHandler Image Hacks
   
By Scott Hanselman
Wrox author, Microsoft MVP and Regional Director, and Tech
Ed 2006 Speaker Scott Hanselman shares two ASP.NET hacks for working with images
via the HttpHandler.



http://nl.internet.com/ct.html?rtr=on&s=1,2qrd,1,jf6k,5xjc,jorm,i5r0


==> Server Applications


– Controlling an Object’s Creation Based on Its Key Value
Representing a Unique Resource
    By Boris
Bromberg
Learn how to write server applications. One of the recurring tasks
was dealing with the problem of creating an instance of a class associated with
a unique resource of the operating system, such as a file.

http://nl.internet.com/ct.html?rtr=on&s=1,2qrd,1,kt12,f9t2,jorm,i5r0


==> Sound


– Volume Control Snapshot
    By Fidencio
Monroy
Learn about a Windows service that keeps volume control levels for
each user in a WinXP system.



http://nl.internet.com/ct.html?rtr=on&s=1,2qrd,1,m1od,541l,jorm,i5r0


==> Testing


– Data Driven Testing with Visual Studio Team
Suite
    By Dan Gartner
Learn how Visual Studio
Team Suite (VSTS) seamlessly integrates the development environment with a suite
of robust testing products that make developers more efficient when testing
their applications.



http://nl.internet.com/ct.html?rtr=on&s=1,2qrd,1,800p,gb31,jorm,i5r0


==> XML


– Read and Write Open XML Files in MS Office
2007

    By ZeljkoS
Learn how to read and write
Open XML files (MS Office 2007).

http://nl.internet.com/ct.html?rtr=on&s=1,2qrd,1,1rul,7bij,jorm,i5r0


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


Check out the CodeGuru discussion forums at:


http://nl.internet.com/ct.html?rtr=on&s=1,2qrd,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 retrieve the primary thread of the process?
(VC++)
        http://nl.internet.com/ct.html?rtr=on&s=1,2qrd,1,d4uv,6tid,jorm,i5r0


==> The path to cleaner code: [Exception handling]
(C#)
        http://nl.internet.com/ct.html?rtr=on&s=1,2qrd,1,7as6,c7w3,jorm,i5r0


==> Updating Child / Junction Table in a DataGrid
(VB.NET)
        http://nl.internet.com/ct.html?rtr=on&s=1,2qrd,1,ftcz,231k,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. Understanding the 2D Discrete Cosine Transform in
Java
    By Richard G. Baldwin –
Learn how to use
the forward two-dimensional Discrete Cosine Transform (2D-DCT) to compute and
display the wave-number spectrum of an image. Also see how to apply the inverse
2D-DCT to the spectral data to reconstruct and display a replica of the original
image.



http://nl.internet.com/ct.html?rtr=on&s=1,2qrd,1,k421,jkxy,jorm,i5r0


2. Create a Chronological Photo Album with
Java
    By Vlad Kofman –
Learn how to create a
personal photo album that will be automatically sorted and ordered in correct
chronological order, independent from the file system names and locations.



http://nl.internet.com/ct.html?rtr=on&s=1,2qrd,1,23×1,am5k,jorm,i5r0


3. Play it Cool: Creating Reports from Stored
Data
    By Steve Schafer –
Thermal problems have
been a major bane of computers since the very first computer was plugged into AC
power. See how data can be sent to various reporting applications so it can be
charted and trended appropriately.



http://nl.internet.com/ct.html?rtr=on&s=1,2qrd,1,905d,439g,jorm,i5r0


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

More by Author

Must Read