Codeguru Update eNewsletter - January 15th, 2008

==========================================================
CodeGuru Newsletter
January 15, 2008
http://www.CodeGuru.com

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

==========================================================
___________________________ Sponsors ________________________________
This newsletter sponsored by:
Pegasus Imaging
_____________________________________________________________________

TOPICS:

--> Editorial
--> Recently Published Books

--> New on CodeGuru:
 
       ==> Controls
              - Creating a DockablePanel-Controlmanager Using C#, Part 4
       ==> Language
              - Function Calls, Part 1 (the Basics)
       ==> Mobile
              - Going Mobile with the Active Template Library
       ==> .NET Tip 
              - Filling Lists with Enums
       ==> Video - Silverlight
              - Creating a Gel (Glass) Button in Silverlight, Part I
       ==> Visual Basic
              - SendKeys

--> Discussion Groups -- HOT Threads 
       - String concatenation with backslash not working (VC++)
       - Access files from a different drive on the same server (ASP.NET)
       - WebServices: I don't get it (ASP.NET)

--> Highlighted new articles on Developer.com 
       1. Capturing Output Produced by Programs Running in a Child Process
       2. Mastering Symbian OS Arrays
       3. Working With Design Patterns: Memento

/-------------------------------------------------------------------\
SAMPLE CODE FOR ZONAL OCR or ICR APPLICATION
Download sample code for an easy zonal OCR / ICR application.
Input a TIFF, define a zone, perform OCR or ICR, & return
the text as a string. Discover imaging technology by
Pegasus Imaging. Contact us for all your document imaging
& forms processing technology needs like viewing, scanning,
editing, cleanup, annotation, compression, barcode, OMR,
& form identification. Download free OCR / ICR sample code,
& full-featured trial downloads at www.pegasusimaging.com
\--------------------------------------------------------------adv.-/

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

Last week I had laser eye surgery. There are various laser surgeries being performed around the world today with the most familiar likely being Lasik and Lasek. In fact, these are so familiar now that there are numerous spam emails that you likely get on a regular basis. For those interested, I actually had PRK surgery. Regardless, a laser was used to correct the shape of the eye to correct vision. Granted, for me things are blurry today, but my vision is quickly solidifying into something much clearer than I had before.

The laser part of my surgery took 39 seconds. That was 22 seconds in one eye and 17 in another. I was thinking that it was such a quick and easy surgery that I should thank the doctor that performed it. In thinking a little deeper, I came to the serious realization that I should in fact be thanking the person that wrote the program for the laser to work properly. It is in fact the laser that did the important work. The laser knew where to fry my eye based on input into a program that told it where to point. That input was actually the output from other optical machines. It was the embedded program within the laser that really did all the magic. The doctor helps, but he is simply an assistant to the laser's program.

It is interesting to look at various professions, tasks, and events that are done in the world that really are the result of programmers. Just as the ophthalmologist running the laser is really reliant up on the computer programmer that created the system in the laser, so too are many others. Turn off the computer (the cash register) in a store and the store stops functioning. Most initial diagnostics on your car are done with computers. In fact, much of what is happening in your car is done by a computer.

The point of all this? While doctors, policemen, mechanics, and others are all very important, if you look a bit deeper, it is programmers who are making things function and actually work for all of them. Programmers are at the core of most things happening today.

I'd like to personally thank the programmer who wrote the code for the laser that spent 39 seconds correcting my eyes! I'd also like to thank the programmer who makes the stop light change when my car pulls up to an intersection. There is also the programmer who wrote the code to insure the refrigerator stays cold and the oven stay shot. And there are the programmers who....

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

--> Professional XNA Game Programming
      For Xbox 360 and Windows
      By Benjamin Nitschke for WROX
      480 pages for $39.99
      http://books.internet.com/books/0470261285

--> Programming C# 3.0
      By Liberty & Xie for O'Reilly
      600 pages for $49.99
      http://books.internet.com/books/0596527438

--> Windows SharePoint Services 3.0 Inside Out
      By Errin O'Connor for Microsoft Press
      650 pages for $49.99 w/ CD
      http://books.internet.com/books/0735623236

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

This week's CodeGuru posts:

==> Controls

- Creating a DockablePanel-Controlmanager Using C#, Part 4
    By JonnyPoet - 
This is the 4th part of a series of articles about how to design DockingForms using a DockingManager written in C#.
http://nl.internet.com/ct.html?rtr=on&s=1,3q2d,1,av3l,cblb,jorm,i5r0

==> Language

- Function Calls, Part 1 (the Basics)
    By kirants -
Begin a journey into the inner workings of how function calls work on x86 platforms,
http://nl.internet.com/ct.html?rtr=on&s=1,3q2d,1,1ln9,1n1f,jorm,i5r0

==> Mobile

- Going Mobile with the Active Template Library
    By Nick Wienholt -
Learn how to rapidly develop applications and add-ins using ATL for Windows CE.
http://nl.internet.com/ct.html?rtr=on&s=1,3q2d,1,jsq3,e1wk,jorm,i5r0

==> .NET Tip

- Filling Lists with Enums
    By Jay Miller -
Most applications developers build have lists or dropdowns that need to be filled with values for the user to select. This tip will show you how to use an enumeration to populate your lists.
http://nl.internet.com/ct.html?rtr=on&s=1,3q2d,1,m1mq,ia8z,jorm,i5r0

==> Video - Silverlight

- Creating a Gel (Glass) Button in Silverlight, Part I
    By Jacob Sanford -
Creating Gel buttons doesn't require a graphics designer; it just requires a little Silverlight. (There is also a second part to this video posted that shows how to create hover affects and how to wire up the button to work.)
http://nl.internet.com/ct.html?rtr=on&s=1,3q2d,1,tj5,kqlj,jorm,i5r0

==> Visual Basic

- SendKeys
    By TT(n) -
The existing SendKeys class does not have a managed way to activate an external application. MSDN recommends that you should use the FindWindow and SetForegroundWindow APIs.However, this alone does not ensure that the desired application will have keyboard focus while the keys are being sent. This replacement module sends keys directly to the specified window without error.
http://nl.internet.com/ct.html?rtr=on&s=1,3q2d,1,ifx1,1br,jorm,i5r0

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

Check out the CodeGuru discussion forums at:

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

==> String concatenation with backslash not working (VC++)
        http://nl.internet.com/ct.html?rtr=on&s=1,3q2d,1,j2hh,hsjb,jorm,i5r0

==> Access files from a different drive on the same server (ASP.NET)
        http://nl.internet.com/ct.html?rtr=on&s=1,3q2d,1,bvgi,iwhi,jorm,i5r0

==> WebServices: I don't get it (ASP.NET)
        http://nl.internet.com/ct.html?rtr=on&s=1,3q2d,1,hizk,dx8s,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. Capturing Output Produced by Programs Running in a Child Process
    By Richard G. Baldwin -
Learn how to capture and display the standard output and the error output produced by programs executing in a child process resulting from a call to the exec method.
http://nl.internet.com/ct.html?rtr=on&s=1,3q2d,1,7jit,brgu,jorm,i5r0

2. Mastering Symbian OS Arrays
    By Alex Gusev -
It is hardly possible you could avoid using arrays during your development on any platform and in any language. On Symbian OS, you will be surprised to find what the SDK can offer you. Learn this now!
http://nl.internet.com/ct.html?rtr=on&s=1,3q2d,1,i8v7,acoy,jorm,i5r0

3. Working With Design Patterns: Memento
    By Jeff Langr -
The Memento design pattern presents a consistent solution for storing state, allowing you to build undo and redo support in your applications with ease.
http://nl.internet.com/ct.html?rtr=on&s=1,3q2d,1,37ev,9176,jorm,i5r0

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



About the Author

Bradley L. Jones

bjones@jupitermedia.com

Comments

  • There are no comments yet. Be the first to comment!

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Entire organizations suffer when their networks can't keep up and new opportunities are put on hold. Waiting on service providers isn't good business. In these examples, learn how to simplify network management so that your organization can better manage costs, adapt quickly to business demands, and seize market opportunities when they arise.

  • Today's enterprise datacenter can be one of the most complex business environments with dozens (for smaller business), hundreds (for larger and midsize business), even thousands (for hyperscale businesses) of servers that must be managed and monitored. At this level, just managing the cords can be challenging — let alone keeping up with the growing need for more agility and scalability within the datacenter. Simply put, companies are aggressively looking for less complexity and more agility from their …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date