CodeGuru eNewsletter – March 1st, 2005

==========================================================
CodeGuru Newsletter
March 1, 2005

http://www.CodeGuru.com


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


==========================================================
All
newsletters are sent from the domain “internet.com.”
If configuring e-mail
or Spam filter rules, please use this
domain name (not the entire “from”
address, which varies).

==========================================================
_____________________________SPONSORS_____________________________
JupiterImages
– The Premier Destination for Creative
Professionals
__________________________________________________________________


TOPICS:



–> Editorial
– 
       … Comments from the
editor (Litmus test distinguishing programmers
from analysts) 
       … Recently
Published Books


–> New Articles on CodeGuru:


       ==> ActiveX
Controls
             
– SP Numeric Edit Control
       ==>
Algorithms
             
– Search Strings for Patterns with the Match
Classes
       ==> ASP.NET
2.0
             
– Script Callbacks in ASP.NET 2.0
       ==>
Controls
             
– Parent-Independent ToolTip Support for Static (or any)
Controls
       ==>
Debugging
             
– Error Lookup Tool
       ==>
Graphics
             
– 2D & 3D Visualization Techniques for Geo-Referenced
Images
       ==> Managed
C++
             
– Splitting Strings with Regex in Managed C++
Applications
       ==>
Misc.
             
– Has Visual Basic Lost Its Way?
       ==>
Mobile
             
– Understanding the DLL Header File
      
==> Pocket
PC
             
– Creating Custom Today Screen Items
      
==>
Remoting
             
– .NET Remoting Using a New IPC Channel


–> Discussion Groups (including Hot
threads)
       – A Question of
Style
       – Stl + Atl =
??
       – Compare 32 bit numbers


–> Highlighted new articles on Developer.com

       1. Convolution and Frequency
Filtering in Java
       2. Term of the Week:
Software Factories
       3. Sun Leads Even in
the Web Services Tool Category


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


Many professions can be taken too seriously. This past week we published an
article on Developer.com called Political-Oriented Software Development:


http://nl.internet.com/ct.html?rtr=on&s=1,1fau,1,e65k,a2dn,jorm,i5r0


This article is an irreverent look at software development; however, it
contains a lot of truth.


A litmus test to see if you are a programmer or an
analyst…


Today I came up with a quick test to determine if you are — or should be —
a programmer or an analyst. Take a look at the following two questions and as
quickly as you can jot down the two answers. Quickly!

 

(1) The total cost for a bat and a ball is $1.10. The bat costs $1
more than the ball. How much does the ball cost?


(2) You took a test and scored the 15th highest and the 15th lowest
in the class. How many students are in the class?

 

Did you get the answers correct? Did you quickly say $.10 for the ball? If
so, then you are wrong. Did you say 30 in the class? If so, you are wrong. If
you said $.05 and 29, then you did much better, and many people would say you
are correct.


Better yet, did you say that the questions can’t be answered as presented?
For the first problem, there is a question of where the items were purchased.
This is important because it determines if there was tax involved. Additionally,
there could have been a handling charge or other fees. You just don’t know: but
did you ask? Did these thoughts go through your mind.


On the second problem there are similar issues that prevent it from being
answered. While 29 could be the correct answer, so could 28. Other values would
be possible as valid answers as well. The answer 28 is correct if you are the
teacher in the class. Of course, if you are the teacher and you scored 15th,
then you may be teaching the wrong class. Additional, there is nothing that
indicates that any of the people scored in the class were students.


If you gave the answers to the problems and didn’t run through some of the
side questions, then you are most likely a programmer. If questions such as
those that I’ve mentioned flashed through your mind as you looked at the
questions, then you probably have a calling as an analyst.


Of course this is simply a quick, litmus test, but so far it seems to work!


Until next week!


Brad!
—————————————–
Bradley Jones,
Microsoft MVP
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


–> Advanced .NET
Remoting
      “Everything you need to
know about .NET Remoting”
      By Ingo Rammer
and Mario Szpuszta for Apress
      580 pages for
59.99
      http://books.internet.com/books/1590594177


–> Corporate Software Proejct
Management
      By Guy W. Lecky-Thompson
for Charles River Media
      380 pages with CD for
$44.95
      http://books.internet.com/books/1584503858




/——————————————————————-
Featuring
the world’s largest collection of wholly-owned stock
photos, stock footage,
photo objects, clipart, illustrations,
fonts, animations and flash
components, this comprehensive
library contains over 4 million digital images
from world renowned
photographers and brands such as Comstock Images,
ThinkStock
Images, ThinkStock Footage, photos.com, Clipart.com & Hemera
Images.
With top-notch customer service and Web site search capabilities,

the images you need are just clicks away: www.jupiterimages.com
————————————————————–adv.-/



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


This week’s posted CodeGuru articles:


==> ActiveX Controls


– SP Numeric Edit Control
   By Sergei
VP
Learn about a masked numeric edit ActiveX control.



http://nl.internet.com/ct.html?rtr=on&s=1,1fau,1,82ex,j1im,jorm,i5r0


==> Algorithms


– Search Strings for Patterns with the Match
Classes
   By Tom Archer
Learn how to use the Match and
MatchCollection classes to enumerate found literals and strings with .NET
regular expressions.



http://nl.internet.com/ct.html?rtr=on&s=1,1fau,1,j0qx,4byv,jorm,i5r0


==> ASP.NET 2.0


– Script Callbacks in ASP.NET 2.0
   By Dino
Esposito
ASP.NET 2.0 abstracts the Web developer from the creation of server
requests and the logic needed to parse the server’s responses. Script callbacks
offer a ready-to-use mechanism that greatly simplifies the procedure.



http://nl.internet.com/ct.html?rtr=on&s=1,1fau,1,839j,izyh,jorm,i5r0


==> Controls


– Parent-Independent ToolTip Support for Static (or any)
Controls
   By John Z. Czopowik
Learn how to handle
ToolTips that are independent from ToolTip handling in a parent window.



http://nl.internet.com/ct.html?rtr=on&s=1,1fau,1,ep30,9xfs,jorm,i5r0


==> Debugging


– Error Lookup Tool
   By Marius Bancila
An
easy-to-use tool to find the description of various error codes, especially the
ones returned by Platform SDK APIs, but also extendable for application-specific
codes.



http://nl.internet.com/ct.html?rtr=on&s=1,1fau,1,jnzr,9p0y,jorm,i5r0


==> Graphics


– 2D & 3D Visualization Techniques for Geo-Referenced
Images
   By Andy McGovern
Provides some conceptual
background for working with geo-referenced imagery and specific details for
GeoTIFF images. Also provides a 2D & 3D sample project with first person fly
throughs.



http://nl.internet.com/ct.html?rtr=on&s=1,1fau,1,hsq3,h4yg,jorm,i5r0


==> Managed C++


– Splitting Strings with Regex in Managed C++
Applications
   By Tom Archer
Learn how to use this
simple, yet useful, feature of the Regex class to delimit strings in your
Managed C++ applications.



http://nl.internet.com/ct.html?rtr=on&s=1,1fau,1,axlj,473k,jorm,i5r0


==> Misc.


– Has Visual Basic Lost Its Way?
   By Paul
Kimmel
Paul Kimmel says the next big paradigm shift in programming will be
based on .NET. Find out what he predicts VB’s role will be in this coming
change, and why he wonders whether Microsoft dropped the ball with VB.NET.



http://nl.internet.com/ct.html?rtr=on&s=1,1fau,1,2bro,axak,jorm,i5r0


==> Mobile


– Understanding the DLL Header File
   By Nancy
Nicolaisen
Create a DLL to contain your own remotely invoked function. The
key to this job is creating the correct header file.



http://nl.internet.com/ct.html?rtr=on&s=1,1fau,1,lmgo,gfb4,jorm,i5r0


==> Pocket PC


– Creating Custom Today Screen Items
   By
Alex Gusev
Devices powered by Pocket PC 2000 and later provide a Today
screen, which by default displays Owner Info, Calendar, and so forth. Windows
Mobile has added several new cool features for Today’s panel item. With a little
effort, you can create your own custom Today plug-in component and put it along
with standard ones.



http://nl.internet.com/ct.html?rtr=on&s=1,1fau,1,kwzo,kvag,jorm,i5r0


==> Remoting


– .NET Remoting Using a New IPC
Channel
   By SeenivasaRagavan Ramadurai
Learn a
new way to handle .NET remoting.



http://nl.internet.com/ct.html?rtr=on&s=1,1fau,1,kqka,9rhy,jorm,i5r0


 


 


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


Check out the CodeGuru discussion forums at:


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


==> A Question of Style
http://nl.internet.com/ct.html?rtr=on&s=1,1fau,1,b4o,6mb,jorm,i5r0

==>
Stl + Atl = ??
(lists, vectors, and more)
http://nl.internet.com/ct.html?rtr=on&s=1,1fau,1,jwkc,8e93,jorm,i5r0


==> Compare 32 bit numbers
http://nl.internet.com/ct.html?rtr=on&s=1,1fau,1,ag9w,4dmr,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. Convolution and Frequency Filtering in
Java
     By Richard G. Baldwin –
Learn how
to take advantage of time-domain convolution  for frequency filtering using
Java.



http://nl.internet.com/ct.html?rtr=on&s=1,1fau,1,du32,2kb5,jorm,i5r0


2. Term of the Week: Software
Factories
     By Jim Minatel – 

Building software using principles from manufacturing factories is the next
step in software development efficiency.



http://nl.internet.com/ct.html?rtr=on&s=1,1fau,1,1dhp,k3xo,jorm,i5r0


3. Sun Leads Even in the Web Services Tool
Category

    By Sujata De –
What makes a good Web
Services Tool? It appears that Java and Open Source are two important qualities.



http://nl.internet.com/ct.html?rtr=on&s=1,1fau,1,7zfg,f35t,jorm,i5r0


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Advertising:
If you are interested in advertising in our newsletters, call Claudia at
1-203-662-2863

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For
information about advertising opportunities, visit http://www.jupiterweb.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

For details on becoming a Commerce Partner, contact David Arganbright
on
1-203-662-2858 or go to www.jupitermedia.com/corporate/licensingform.html

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

To learn about other free newsletters offered by internet.com or
to
change your subscription visit http://e-newsletters.internet.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


internet.com’s network of more than 160 Web sites is organized into 12
channels:


Developer http://internet.com/webdev/
Download
http://internet.com/downloads/
International
http://internet.com/international/
Internet
Lists http://internet.com/lists/
Internet
News http://internet.com/news/
Internet
Resources http://internet.com/resources/
IT
http://internet.com/it/
Small Business
http://internet.com/sb/
Linux/Open
Source http://internet.com/linux/
Windows
Technology http://internet.com/win/
Wireless
Internet http://internet.com/wireless/
xSP
Resources http://internet.com/xsp/


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

To find an answer – http://search.internet.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Looking for a job? Filling an opening? – http://jobs.internet.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This
newsletter is published by Jupitermedia Corporation
Copyright (c) 2005
Jupitermedia Corporation. All rights
reserved.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For
information on reprinting or linking to Jupitermedia content:
http://www.jupitermedia.com/corporate/permissionform.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

More by Author

Must Read