CodeGuru Update eNewsletter – April 12th, 2005

==========================================================
CodeGuru Newsletter
April 12, 2005

http://www.CodeGuru.com


This newsletter is part of the Developer.com, EarthWeb, and
internet.com networks.
Jupitermedia
Corporation
___________________________ Sponsors
________________________________
Serena
Software
_____________________________________________________________________
==========================================================
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).

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



TOPICS:



–> Editorial –
      
… Visual Studio 2005 Beta 2 “Release Date” Confusion

       … Licensing and Sun
….
       … Recently Published Books


–> New Articles on
CodeGuru: 
       ==>
Controls
             
– CRichEditControl50W: A VC++ Rich Text Edit 4.1 MFC
Control
       ==>
Database
             
– Oracle 10G Development & Design: Heterogeneous Database
Access
       ==>
Debugging
             
– SOS from Your Production Environment
      
==>
Messaging
             
– [Updated] Windows Message Broadcaster
      
==> Multimedia /
MultiThreading
             
– MFC Multithreaded Classes for Recording, Playing, and Saving (WAV
Files)
       ==> Regular
Expressions
             
– Using Regular Expressions to Search and Replace
Text
       ==>
SharePoint
             
– SharePoint Ghosted and Unghosted Pages

–> Discussion Groups
(including Hot threads)
       – How
To : Getting JUST the path and filename of your exe
file
       – Recursive function that changes
an integer to binary
       – How to use
OnDraw()?


–> Highlighted new articles on Developer.com

       1. Should Ruby Be Added to
Your Programming Repertoire?
       2. Emerging
Trends in RFID
       3. HTML Parsing: The
World is Your Database


/——————————————————————-
Having
trouble tracking who did what and when on your
current build? Scrambling to
figure out what to roll back
for the latest defect? Manage your application
development
process with Serena(R) ChangeMan(R) Professional(tm).
Over
200,000 developers are already using Professional to
gain greater control
over their application development
processes. To find out why, take a quick
tour now.
http://nl.internet.com/ct.html?rtr=on&s=1,1j2z,1,emws,1ly2,jorm,i5r0
————————————————————–adv.-/

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


… Visual Studio 2005 Beta 2 “Release Date” Confusion


Unfortunately, people want dates. They want to know when to expect things. Up
until now, Microsoft had been stating that Beta 2 of Visual Studio 2005 would be
released by the end of March. As such, most people assumed that it would
release March 31st and start showing up the first week of April.


The first week of April has come and gone. April 1st is April Fools day.
Maybe the joke is on all of us!


This past week, one Web page on the Microsoft site does give implications as
to when the beta will be released. This page on Microsoft’s site is counting
down to a release on the 25th of April. Unfortunately, this is not — repeat,
not – a countdown to the beta. Rather, in talking to several people at
Microsoft, this is a countdown to a new program – the Beta Experience
Program.


http://nl.internet.com/ct.html?rtr=on&s=1,1j2z,1,7b3c,1abl,jorm,i5r0


Will the 25th of April be the day the beta is released?


I’ve asked about the page and the date. The official answer as of yesterday
was that there was not a set release date at this time for Beta 2. Rather, I was
told that the latest code drops are in the final stages, and that Microsoft will
ship the beta when the criteria for a “Go Live” release have been met.


“Go Live” is — in simple terms — is a way for developers to be able to
deploy applications created with Visual Studio 2005 Beta 2 without violating any
licensing agreement. If you read the licensing agreement on the beta, you
are likely to find that you are not allowed to put any applications into
production use. “Go Live” allows a way for Visual Studio 2005 beta applications
to be launched onto the Web.


So, in summary, there is confusion as to when Beta 2 will be released. It
isn’t going to happen by the end of March. Will it happen by the 25th? No
official confirmation has been given; however, things are looking like the
release will be very soon. Personally, I’d rather wait a few extra weeks and
know that the product will be much more stable!


If you look at the above page, you should also be forewarned that “6-weekly”
means every six weeks. It does not mean “once a week for six weeks”. More than
one person has been confused by that statement already!


… Licensing and Sun ….


This week I did the editorial for the Developer.com newsletter.  This is
the newsletter for the Developer.com site that will let you know each week the
new articles that were posted there.  You can subscribe via a link at http://www.Developer.com. Because I thought
you might find that editorial interesting, I’ve included it here as well:


This week I am filling in for Rosemarie. I’m going to side-step her normal
mention of products, standards, and technology announcements and instead mention
the following:


– Software patents should be banned entirely.
– Software patents may be
released to the public with the goal of gaining press, more so than as a
goodwill gesture.
– The Mozilla Public License (MPL) is broken. For example,
it restricts you from changing the licensing and requires you to address any
disputes in Santa Clara, California.
– The GPL is flawed. If you use GPL
code, your code must also be GPL.
– Multiple licenses are needed to cover
different situations.
– All traditional software should be free.


If you find these comments interesting, or if you disagree with any of them,
you should read the latest blog entry of Jonathan Schwartz’s, Sun’s President
and COO. In his blog, http://nl.internet.com/ct.html?rtr=on&s=1,1j2z,1,fqc2,6pgl,jorm,i5r0,
Jonathan makes comments similar to all of the above. More importantly, he
explains his position on all of these issues.


Licensing and open source are a hot topic today for developers. It is no
surprise that changes are now in the works for the GPL. (See Insider Hints at
GPL Changes, http://nl.internet.com/ct.html?rtr=on&s=1,1j2z,1,7hue,ito4,jorm,i5r0 )


In Jonathan’s blog, he talks about Sun’s license, the Common Development and
Distribution License (CDDL). The Sun license is based on the MPL and has been
submitted and approved by the OSI board of directors. Jonathan states that the
Sun license removes some of the issues with the GPL and MPL licenses.
Additionally, he states that it was written in a way that others could easily
use it.


With at least four highly visible licensing models, it will be interesting to
see what direction people migrate. I state four because there is also the
Microsoft Shared Source licensing. Other issues also make this licensing war
interesting – issues such as the use of services rather than distributed
software, the shrinking of global boundaries, and the aging of the GPL
(according to the GPL article above it was last updated in 1991).


In my initial review of the CDDL, it seems that Sun is trying to address
many of these issues. You can find a link to the CDDL at  http://nl.internet.com/ct.html?rtr=on&s=1,1j2z,1,9rj3,ijsf,jorm,i5r0
Also included is a link showing the changes from the CDDL as compared to the
MDL.


The bottom line is that Intellectual Property is extremely important. As
such, it is worth investing the time to make sure that the license you use is
appropriate. Additionally, if you choose to use someone else’s source, it is
equally important to know what you are agreeing to by knowing what license they
are using.


Until next week!


Brad!
—————————
Brad 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


–> Beginning InfoPath
2003
      By F. Scott Barker for
WROX
      360 pages for
$34.99
      http://books.internet.com/books/0764579487


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


This week’s posted CodeGuru articles:


==> Controls


– CRichEditControl50W: A VC++ Rich Text Edit 4.1 MFC
Control
    By ShellRaker
Learn about a simple MFC
Rich Edit Control using version 4.1 in msftedit.dll.



http://nl.internet.com/ct.html?rtr=on&s=1,1j2z,1,fszi,99xt,jorm,i5r0


==> Database


– Oracle 10G Development & Design: Heterogeneous Database
Access
    By Boris Makushkin
Learn about access
from Oracle to heterogeneous data on a Microsoft CRM database.



http://nl.internet.com/ct.html?rtr=on&s=1,1j2z,1,jrg3,5q9g,jorm,i5r0


==> Debugging


– SOS from Your Production Environment
   
By Klaus Salchner
All the best software development practices and testing
efforts in the world cannot guarantee that there are no intermittent or
unexplainable application issues when in production. The worst case scenario is
that the application hangs and crashes. This article shows how to take dumps of
.NET applications and analyze them. This helps developers to understand the
issue and find the faulty code.



http://nl.internet.com/ct.html?rtr=on&s=1,1j2z,1,gjpq,7grq,jorm,i5r0


==> Messaging


– [Updated] Windows Message
Broadcaster
    By Ali Rafiee
Use this class to
broadcast a message to multiple windows, or different views without having to
have their handles.



http://nl.internet.com/ct.html?rtr=on&s=1,1j2z,1,ez1p,j01g,jorm,i5r0


==> Multimedia / MultiThreading


– MFC Multithreaded Classes for Recording, Playing, and Saving (WAV
Files)
    By paulcheffers
Record sound and echo
it to the computer speakers. The sound is also saved in a sound file that can be
played back to the computer speakers.



http://nl.internet.com/ct.html?rtr=on&s=1,1j2z,1,fd9z,lx0r,jorm,i5r0


==> Regular Expressions


– Using Regular Expressions to Search and Replace
Text
    By Tom Archer
When you deal with user
input or text files, you usually have to search through that input and replace
literals, special characters, or patterns. Learn how to perform this common task
via the .NET regular expressions classes.



http://nl.internet.com/ct.html?rtr=on&s=1,1j2z,1,6v5n,ans,jorm,i5r0


==> SharePoint


– SharePoint Ghosted and Unghosted Pages
   By
Maurice Prather
Learn about the difference between the two types of pages,
and how to change between them.



http://nl.internet.com/ct.html?rtr=on&s=1,1j2z,1,dz38,8ctm,jorm,i5r0


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


Check out the CodeGuru discussion forums at:


http://nl.internet.com/ct.html?rtr=on&s=1,1j2z,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 : Getting JUST the path and filename of your exe
file
         http://nl.internet.com/ct.html?rtr=on&s=1,1j2z,1,hhnh,m3aj,jorm,i5r0


==> Recursive function that changes an integer to
binary
         http://nl.internet.com/ct.html?rtr=on&s=1,1j2z,1,2x6r,7733,jorm,i5r0


==> How to use
OnDraw()?
         http://nl.internet.com/ct.html?rtr=on&s=1,1j2z,1,g3iv,a4du,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. Should Ruby Be Added to Your Programming
Repertoire?
    By W. Jason Gilmore –
Take Ruby
for a quick programming test drive. See if this object-oriented scripting
language can help in your development projects!



http://nl.internet.com/ct.html?rtr=on&s=1,1j2z,1,ka2b,9sp8,jorm,i5r0


2. Emerging Trends in RFID
    By Manish
Bhuptani and Shahram Moradpour –
Technology trends, in particular, are not
only shaped by technological invention and advancements but by economic, social,
and political factors. Keeping all these complexities in mind, we have
identified the top emerging trends associated with RFID that are expected to
drive its ubiquitous adoption.



http://nl.internet.com/ct.html?rtr=on&s=1,1j2z,1,g5am,jt60,jorm,i5r0


3. HTML Parsing: The World is Your
Database
    By Brad Lhotsky –
Your mission:
Retrieve content off the world wide web and use it to conquer the world (or
check the local weather?). Discover the tools, and the techniques for effective
content retrieval.



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