May 11, 2004 CodeGuru Update Newsletter


CodeGuru Newsletter
May 11, 2004

newsletter is part of the, EarthWeb, and
Jupitermedia Corporation

___________________________ Sponsors


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



–> Editorial –

–> New Articles on CodeGuru:

==> Database
– [Updated] Data Replication Prototype Using ADO
Dialogs & Controls
– Visual Studio.NET Style Tear Off Panes – Part
==> Forums
– Hottest Forum Q&A on CodeGuru for the week of April
25th, 2004
==> ToolBar
– Make a Customized ToolBar Dialog Work in MFC
==> .NET Interoperability
– .NET/Java Interoperability: Apply the
Proper Tool for the Job
==> Progress Bar
– Implementing a Progress Bar
in Visual Basic Applications
==> Serialization
– C++ Tip: Serializing
.NET Objects with Managed C++
==> Services
– Windows Services (C#)

–> Discussion Groups

–> Highlighted new articles on

Creating Some XPath 2.0 Examples
2. Does StAX Stack Up?
3. Overview of the
BigDog Email Protection Program
4. New Product Announcements: May 7, 2004

Developer Network (MSDN) Webcasts offer essential
knowledge and expertise,
at no cost. From live code demos
to in-depth Q & A with industry
leaders, tap in to practical tips
that can help you do your job and advance
your career. Access
hundreds of webcasts on relevant topics that can prepare
to design and build effective solutions with Microsoft tools and

technologies. Live or on-demand events. 24/7. Register to attend a
MSDN Webcast today!,w2v,1,2j2u,40ym,jorm,i5r0

from the

I finally picked the winners for April’s copies of
either the Visual C++ Goodies book OR Kate Gregory’s Visual C++
.NET 2003 Kicks Start. For April the lucky people are:

– Sergey Polyakov
– Jac Goudsmit

Both of these guys submitted aritcles that were
published to the CodeGuru site. They have 60 days to contact us in order to
get  their book! If you submit an article, then you too have a chance to get selected for a book! For more, see:,w2v,1,iabr,4p63,jorm,i5r0

It is worth mentioning again that we’ve made a lot of
changes to the CodeGuru site over the past few months. One that many people have
not noticed is that you can now submit an article through the site. You can even
keep use the site to enter and  hold an article until you are ready to
submit it. To add an article click the Submit An Article button on the main
page’s navigation area. You will be asked to verify your log in. You you are
then given the first page of two that you can use for  entering an

You can even enter part of an article and come back
later to finish. When you are done with your article and ready for it  to
be reviewed and published on the site, then you can click the Submit for Posting
button on the form. This will bring the article to the attention of the CodeGuru
editors. Until you click submit the article, the editors will not be aware of it.

If you want to come back and edit your article after
first entering it, you can get to it from your profile page. After logging into
the front page of CodeGuru, select the MY PROFILE link. This link is in the same
box you signed into. This link will take you to your profile page. If you have
submitted or started entering an article, then your profile page will include a
“MY ARTICLES” button on the upper right. This button will present you with a list of your articles that you can work  from.

If you want to continue to email articles, you can.
The  [email protected] address will continue to work.

As an additional reminder, if you were an author of an
article before the new system was rolled out, you need to tell us your current
CodeGuru ID and what articles you wrote. We will be able to link your older
articles to your ID so that they are listed on your MY ARTICLES page. Send such requests to [email protected]

… Quiz Question!

Last week’s quiz question was presented by Gabriel
Fleseriu. You can find the start of a discussion on it online at:,w2v,1,fbkz,1dgu,jorm,i5r0

I’ll post Gabriel’s answer next week. As a hint, it was legal!

Next week we will post a new question.

… At the Box Office …

Okay, I dropped this part of my editorial because a
couple of people complained that it was not related to the newsletter. Some habits die hard!

As such, I’ll mention that Van Helsing tore up the box
office this past week-end with $51.7 million while The Olsen twins puttered a
bit with just under $6 million. Both new movies, however, have a long way to go
to break even. Van Helsing cost $160 million versus a New York Minute’s $30 million. That is without marketing costs!

Until next week!


Brad Jones

… 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:

–> Murach’s C#
By Joel Murach
and Doug Lowe
800 pages for $49.50,w2v,1,gi92,3cpx,jorm,i5r0

The five sections present, (1) A tour of .NET and VS
.NET, (2)overview of basic C# language and core .NET classes, (3) OOP within C#,
(4) ADO.NET, and (5)Working with text, binary and XML files.

–> Beginning ASP.NET 1.1 with Visual C#.
.NET 2003
By lots of people for WROX
862 pages for $39.99,w2v,1,d2p0,c0dy,jorm,i5r0 

New edition.

& Updated Articles on

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

This week’s posted CodeGuru articles:

==> Database

– [Updated] Data Replication Prototype Using ADO
Aliaksei Sanko
Data replication prototype using ADO.,w2v,1,bqs1,haas,jorm,i5r0

==> Dialogs & Controls

– Visual Studio.NET Style Tear Off Panes – Part I
Framework to build and use Visual Studio .Net style Tear Off Panes.,w2v,1,70jj,3r6g,jorm,i5r0

==> Forums

– Hottest Forum Q&A on CodeGuru for the week of
April 25th, 2004
By Sonu Kapoor
This week’s topics include the usage of
WM_NULL, whether a Machine ID for copy protection purposes exists, whether there
is any range for WM_XXX messages that someone could use without having any
troubles with the Windows message handlers, and how can a person validate a auto_ptr?,w2v,1,hcpi,3f33,jorm,i5r0

==> ToolBar

– Make a Customized ToolBar Dialog Work in MFC
By Eric Shan
Simply by adding some code to your MFC frame windows, you can make your toolbar customize dialog works.,w2v,1,cz1m,2gdb,jorm,i5r0

==> .NET Interoperability

– .NET/Java Interoperability: Apply the Proper Tool for
the Job
By Kenn Scribner
As .NET versus Java debates continue to rage, the
reality is that most enterprise IT shops are heterogeneous environments that
employ aspects of both frameworks. Find out which is better suited to certain scenarios and learn how to make them work together.,w2v,1,7c0o,d5sn,jorm,i5r0

==> Progress Bar

– Implementing a Progress Bar in Visual Basic
By zipcn046
This database-driven search application keeps the
user informed about the search process and thus improves the overall user
experience. Informing the user about the processing is the fundamental motive of the Progress Bar.,w2v,1,j2jj,dqrq,jorm,i5r0

==> Serialization

– C++ Tip: Serializing .NET Objects with Managed C++
By Tom Archer
this installment of the .NET Tips & Techniques column, learn how to
serialize entire objects — as well as selected members — to and from disk
using Managed C++ Extensions.,w2v,1,breo,ds8k,jorm,i5r0

==> Services

– Windows Services
By Ali Sufyan
This explanatory
tutorial will let you explore the power of .NET with C#.,w2v,1,i2h,cvv5,jorm,i5r0


Check out the CodeGuru discussion forums at:,w2v,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!

Articles on

Below are some of the new articles that have been posted to (

1. Creating Some XPath 2.0
By Steven Holzner –
Here is your chance to dive into
the code of XPath 2.0.,w2v,1,a9bs,8vur,jorm,i5r0

2. Does StAX Stack Up?
By Jeff Ryan

There is a new XML API in town called StAX (Streaming API for XML).
Discover why we need another API in the JAXP family for processing XML documents.,w2v,1,f740,ab8h,jorm,i5r0

3. Overview of the BigDog Email Protection
By Richard G. Baldwin –
Baldwin explains a program that
acts like a big ugly aggressive dog guarding your email inbox, challenging any
stranger that tries to enter.,w2v,1,cetc,am32,jorm,i5r0

4. New Product Announcements: May 7,
By Adam Hammer –
Our update on new products, betas, and
partnerships that effect the programming community.,w2v,1,1k3l,9s3t,jorm,i5r0

If you are interested in advertising in our newsletters, call
Claudia at
1-203-662-2863 or send email to mailto:[email protected]
information about advertising opportunities, visit our media kit

For details on becoming a Commerce Partner, contact David Arganbright

To learn about other free newsletters offered by or
change your subscription visit

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~’s network of more than 160 Web sites is organized into 16




Looking for a job? Filling an opening? –

This newsletter is published by Jupitermedia Corporation – The Internet & IT
Copyright (c) 2004 Jupitermedia Corporation. All rights
information on reprinting or linking to content:


More by Author

Must Read