CodeGuru Update eNewsletter – June 14th, 2005

==========================================================
CodeGuru Newsletter
June 14, 2005

http://www.CodeGuru.com


This newsletter is part of the Developer.com, EarthWeb, and
internet.com networks.
Jupitermedia
Corporation
___________________________ Sponsors
________________________________
Wi-Fi Planet Conferences & Expos
2005
_____________________________________________________________________
==========================================================
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
– 
       – Comments from Tech Ed
2005
       (Product releases, RFID, VSTO, and
more)


–> New Articles on
CodeGuru: 
       ==> Controls

DataGridView
             
– Autosize a DataGridView to Fit
       ==>
DirectX
             
– [Updated] Capture Live Video from Various Video
Devices
       ==>
eMail
             
– Send Mails from within a .NET 2.0
Application
       ==> Managed
C++
             
– Using Delegates with Native Function Callbacks in Managed
C++
       ==>
Reporting
             
– Displaying the Images Returned by the RenderStream Method of SQL Server
Reporting Services
       ==> SQL Server
2005
             
– What’s new in SQL Server 2005



–> Discussion Groups (including Hot
threads)
       – Get start/end
positions of currently visible text in
richedit 
       – How to monitor a queue
from a windows application 
       – Copy
a string to an int


–> Highlighted new articles on Developer.com

       1. Processing Image Pixels,
Color Intensity, Color Filtering, and Color
Inversion
       2. Catching Your Breath after
the QUALCOMM BREW Developer Conference
      
3. Enterprise Service Bus.Integration Demystified


/——————————————————————-
Wi-Fi
Planet Conference & Expo 2005 – The World’s Largest
Wi-Fi Business Event
– coming to a city near you! These are the
definitive events of the Wi-Fi
industry, where business users
gain the knowledge they need to make
strategic buying decisions
and where the industry charts it future
direction. Don’t miss these
must attend events that are held in San Jose,
Tokyo, and Baltimore.
Register today! www.jupiterevents.com
————————————————————–adv.-/


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


Last week, I spent a lot of time at Microsoft’s Tech Ed conference. This
conference is always great to attend because you can meet with people as well as
learn a great deal of information in the sessions. This year was no exception.
While Bill Gates didn’t attend, Steve Ballmer and Paul Flessner did. Both
presented keynote talks outlining some of the key technologies that Microsoft
has rolled out or will be rolling out in the near future. As I mentioned last
week, there weren’t a lot of surprises; however, a number of items were
mentioned. I’ll be writing more details on these items over the coming weeks.
For now, I’ll highlight a few items here for you:


Connectivity was a centerpiece for Steve Ballmer presentation. While the
catch phrase “New World of Work” seemed goofy to me, it was stated over and over
by Ballmer and Flessner in their presentations. This “new world of work” is the
fact that people need information at any time from anywhere and on any platform.
This can be achieved via connectivity and standardization. Microsoft indicated a
number of products that will help in achieving this “new world of work.” Active
Directory is the tool they indicated would be a key in making this all work.
Additionally, new versions of SQL Server (2005), Visual Studio (2005), and other
products would also help. To that end, Flessner announced that Visual Studio
2005, SQL Server 2005, and BizTalk Server 2006 would all release the week of
November 7th of this year.


RFID has been getting lots of press in the last year or two. Flessner
announced an RFID Infrastructure that should be available in 2006. This will
help to make using RFID in your applications much easier. As an example of using
RFID, they provided all the attendees at Tech Ed a RFID tag. They were then able
to monitor when these tags entered different areas of the convention center.
We’ll cover more on this at CodeGuru in a future article.


Being that you come to CodeGuru, there is a good chance you use Visual
Studio. You can already find a number of articles on the site that talk about
new features in the 2005 version that will be out in November. Some of the
highlights that Flessner mentioned include a 50 to 75% reduction in the amount
of code needed for most common scenarios. Stated a different way, with Visual
Studio 2005, there are a number of common situations (such as working with a
database) that you will be able to code in less than half the number of lines of
code than if you are using an earlier version of Visual Studio. With Visual
Basic, there are many common things that can now be done with a single line of
code (Look for an article on this in the near future!).


Other changes in Visual Studio 2005 include a significant improvement in
performance for 64-bit development. There is also improved smart client
development with the ease of using the Web, yet the power of Windows. There is
also the addition of ClickOnce deployment that allows you to install and update
applications easily over the Web — with a single click! There are also tons of
individual improvements in each of the core language products including Visual
Basic, C#, and C++. In fact, C++ developers gain a lot more this time than they
have in the past. C# guys get new features as well, such as Edit-and-Continue,
generics, partial types, anonymous methods, and more. VB developers will get
similar things as well as a new statements (Using and Continue), new keywords
(Global), the addition of the My namespace, and much more.


SQL Server 2005 is also coming in November with lots of new improvements.
This is the first major update of the database in about five years. You can
expect to see improvements such as database mirroring, failover clustering,
“always online,” snapshot isolation, and much more. You’ll also be able to do
stored procedures using Visual Basic or .NET rather than being forced into using
SQL.


If you want to check out Visual Studio 2005 or SQL Server 2005, you can check
on the Microsoft site for copies of the latest beta or CTP.


The final topic that I’ll mention in this week’s newsletter is Visual Studio
Tools for Office (VSTO). Microsoft has been pushing this product for several
years. This year, however, they seem to have turned this from what seemed like
an end-user product to one that we, as developers, can take seriously.


Microsoft has included the ability to use Outlook as a part of the Office
products that can be customized using VSTO. This is in addition to Word and
Excel. By using VSTO, you now can embed .NET programming into Outlook. The
result is that you can customize Outlook with business functionality. Let’s face
it, most people spend a good portion of their working day in e-mail. By bringing
business functionality into Outlook (or Outlook functionality into your business
applications), you can steamline your users workflow.This ability to tie
together e-mail, business logic, client information, reporting, and calendaring
can lead to some very interesting applications. As a result, VSTO is now a tool
worth looking into and using. The one draw back is that VSTO only works with the
newer versions of Office.


As a side note, if you have beta 2 of Visual Studio 2005, you will find that
VSTO is also now embedded into the product as additional project types rather
than having you go to Word or Excel. More importantly, you may find that you
don’t have a project type for Outlook. The Outlook piece was not a part of the
beta 2 release, but I’ve been told it can be obtained online. With the addition
of this add-on, you then can start creating Outlook projects as well.


Microsoft is pushing “the new world of work” as a connected world. They are
releasing tools that should help make this possible. They’ve announced a release
date and they’ve shown betas of what is coming. Now it is just a matter of
seeing if November is a real date.


I’ve barely scratched the surface of what was stated and presented at Tech
Ed. Over the coming weeks, you can expect to see even more information on what
was learned at this year’s conference and in meeting with a number of Microsoft
product people one-on-one.


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 .NET Game Programming in VB
.NET
      By Weller, Lobao, and Hatton for
Apress
      420 pages for
$49.99
      http://books.internet.com/books/1590594010


–> Active Directory Field
Guide

      “A one-stop shop for your
Active Directory deployment and troubleshooting
needs

      By Laura E. Hunter for
Apress
      330 pages for
$34.99
      http://books.internet.com/books/1590594924



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


This week’s posted CodeGuru articles:


==> Controls – DataGridView


– Autosize a DataGridView to
Fit

    By Wilfried Mestdagh
Read about a
little code snippet to show how to autosize the columns of a DataGridView in an
intelligent way to fit after resizing the form.



http://nl.internet.com/ct.html?rtr=on&s=1,1on5,1,3s2,5kpn,jorm,i5r0


==> DirectX


– [Updated] Capture Live Video from Various Video
Devices

    By Dillip Kumar Kara
LiveVideo
captures various video sources from various devices attached to the
computer.



http://nl.internet.com/ct.html?rtr=on&s=1,1on5,1,hwc6,h9lg,jorm,i5r0


==> eMail


– Send Mails from within a .NET 2.0
Application

    By Thiru Thangarathinam
Through a
set of intuitive classes, the release of .NET 2.0 provides excellent support for
sending e-mails. Learn the new ways of sending mail through its System.Net.Mail
namespace.



http://nl.internet.com/ct.html?rtr=on&s=1,1on5,1,b94f,5u2n,jorm,i5r0


==> Managed C++


– Using Delegates with Native Function Callbacks in Managed
C++

    By Tom Archer
Learn how to import native
DLL functions into a Managed C++ application and how to define and pass
delegates for asynchronous processing with callback functions.



http://nl.internet.com/ct.html?rtr=on&s=1,1on5,1,m34r,720x,jorm,i5r0


==> Reporting


– Displaying the Images Returned by the RenderStream Method of SQL
Server Reporting Services

    By Malik Asif
Find
out how to display the images in reports rendered in ASP.NET Web pages.



http://nl.internet.com/ct.html?rtr=on&s=1,1on5,1,1vgy,6736,jorm,i5r0


==> SQL Server 2005


– What’s new in SQL Server 2005
    By
Mike Gunderloy –
What’s New in SQL Server 2005? The new version of SQL
Server has been in development for five years now. That’s given Microsoft
time to build in a lot of new features. Mike Gunderloy highlights the most
significant enhancements to help you judge whether you should start evaluating a
potential upgrade.



http://nl.internet.com/ct.html?rtr=on&s=1,1on5,1,dtf7,3b59,jorm,i5r0


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


Check out the CodeGuru discussion forums at:


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


==> Get start/end positions of currently visible text in richedit

        http://nl.internet.com/ct.html?rtr=on&s=1,1on5,1,97rn,5k1q,jorm,i5r0


==> How to monitor a queue from a windows application

        http://nl.internet.com/ct.html?rtr=on&s=1,1on5,1,a92q,9fer,jorm,i5r0


==> Copy a string to an int

        http://nl.internet.com/ct.html?rtr=on&s=1,1on5,1,21ip,dvxl,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. Processing Image Pixels, Color Intensity, Color Filtering, and
Color Inversion

    By Richard G. Baldwin –
Learn
to write a Java program to control color intensity, apply color filtering, and
apply color inversion to an image. Learn to relate the colors to points on a
color wheel and points in a color cube.



http://nl.internet.com/ct.html?rtr=on&s=1,1on5,1,h6tn,68py,jorm,i5r0


2. Catching Your Breath after the QUALCOMM BREW Developer
Conference
    By Ray Rischpater –
See what key
information came from the 2005 BREW developer conference.



http://nl.internet.com/ct.html?rtr=on&s=1,1on5,1,9q62,55tw,jorm,i5r0


3. Enterprise Service Bus.Integration
Demystified

    By R Venkatavaradan & Arulazi
Dhesiaseelan –
Enterprises are moving towards standards-based integration
technologies such as ESB, which offers them a highly scalable integration
infrastructure solution. ESB helps enterprises scale in a more rapid fashion,
without compromising reliability and performance. Determine if this is what your
business needs!



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

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Must Read