Click here to Skip to main content
15,892,697 members
Articles / Programming Languages / C#

Creating a Custom Tool to Generate Multiple Files in Visual Studio 2005

Rate me:
Please Sign up or sign in to vote.
4.79/5 (17 votes)
30 Nov 20069 min read 126.8K   1.7K   60  
Visual Studio provides interfaces for extending the environment to generate one file from another through a &quot;Custom Tool&quot;. <br>Now, learn how to generate multiple files, easily, and extensibly.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html dir="ltr" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <!--TOOLBAR_EXEMPT-->
    <meta http-equiv="PICS-Label" content="(PICS-1.1 &quot;http://www.rsac.org/ratingsv01.html&quot; l gen true r (n 0 s 0 v 0 l 0))">
    <meta name="KEYWORDS" content="products; headlines; downloads; news; Web site; what's new; solutions; services; software; contests; corporate news;">
    <meta name="DESCRIPTION" content="The entry page to Microsoft's Web site. Find software, solutions, answers, support, and Microsoft news.">
    <meta name="MS.LOCALE" content="EN-US">
    <meta name="CATEGORY" content="home page">
    <title>Microsoft Corporation</title>
    <base href="http://g.msn.com/mh_mshp/98765">
    <style type="text/css" media="all">
@import "http://i.microsoft.com/h/all/s/hp_ltr.css";
</style>

    <script type='text/javascript'>var msvi_qllc = 'en-us';var msvi_qldir = 'LTR';var msvi_qlhost = 'http://www.microsoft.com';var tdel = 1000;var tlids = new Array();tlids[1] = '09-00-072SUS0136;09-00-072SUS0187;09-00-072MUS0900;09-00-072MUS0200';tlids[2] = '10-00-072SUS0198;10-00-072SUS0176;10-00-072SUS0118;10-00-072MUS0100;10-00-072SUS0189';tlids[3] = '11-00-072SUS0154;11-00-072SUS0147;11-00-072SUS0180;11-00-072SUS0178;11-00-072MUS0600';tlids[4] = '12-00-072MXX0701;12-00-072SUS0194;12-00-072SUS0195;12-00-072SUS0185;12-00-072SUS0196';tlids[5] = '13-00-072SUS0174;13-00-072SUS0175;13-00-072SUS0184;13-00-072SUS0190;13-00-072SUS0197';</script>

    <script type="text/javascript" src="http://i2.microsoft.com/h/all/s/13.5_rtw/hp.js"></script>

    <meta name='WT.sp' content='_us_'>
    <meta name='DCSext.wt_target' content='IE 7;Windows Vista;Generic'>

    <script type="text/javascript">wrT()</script>

    <meta name='DCSext.wt_linkid' content='MGenusennz;NGenusennz;01-00-72SUS0187;02-00-072MUS0100;03-00-072MUS0200;NHenusennz;08-00-072SUS0141;08-00-072SUS0103;08-00-072SUS0104;08-00-072MUS1200;08-00-072SUS0154;09-00-072SUS0136;09-00-072SUS0187;09-00-072MUS0900;09-00-072MUS0200;10-00-072SUS0198;10-00-072SUS0176;10-00-072SUS0118;10-00-072MUS0100;10-00-072SUS0189;11-00-072SUS0154;11-00-072SUS0147;11-00-072SUS0180;11-00-072SUS0178;11-00-072MUS0600;12-00-072MXX0701;12-00-072SUS0194;12-00-072SUS0195;12-00-072SUS0185;12-00-072SUS0196;13-00-072SUS0174;13-00-072SUS0175;13-00-072SUS0184;13-00-072SUS0190;13-00-072SUS0197'>
    <!-- -->

    <script type="text/javascript">document.write("<meta name='DCSext.wt_linkid' content='MGenusennz;NGenusennz;01-00-72SUS0187;02-00-072MUS0100;03-00-072MUS0200;NHenusennz;08-00-072SUS0141;08-00-072SUS0103;08-00-072SUS0104;08-00-072MUS1200;08-00-072SUS0154'>")</script>

    <script type="text/javascript" src="http://i.microsoft.com/h/en-us/r/SiteRecruit_PageConfiguration_HomePage_Page.js"></script>

</head>
<body>

    <script type="text/javascript">
<!--
var isW;isW=(document&&document.body.clientWidth&&document.body.clientWidth>=895&&document.getElementById);
//-->
    </script>

    <a href="http://www.microsoft.com/default.aspx#cArea" class="hide">Click here to jump
        to main page content</a>
    <div id="dPage" class="page">
        <table cellpadding="0" width="100%">
            <tr>
                <td colspan="2">
                    <table cellpadding="0" width="100%" style="height: 22px">
                        <tr>
                            <td width="50%" style="filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr='#4B92D9', endColorStr='#CEDFF6', gradientType='1')">
                            </td>
                            <td width="50%" style="filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr='#CEDFF6', endColorStr='#1E77D3', gradientType='1')">
                            </td>
                        </tr>
                    </table>
                </td>
                <td id="msviGlobalToolbar" height="22" nowrap align="left">
                    <table cellpadding="0">
                        <tr>
                            <td class="gt0" nowrap onmouseover="this.className='gt1'" onmouseout="this.className='gt0'">
                                <a href="?3F186CCF&amp;http://www.microsoft.com/nz/&amp;&amp;HL=Microsoft%2bNew%2bZealand&amp;CM=Masthead&amp;CE=geotargeting&amp;wt_linkid=MGenusennz">
                                    Microsoft New Zealand</a></td>
                            <td class="gtsep">
                                |</td>
                            <td class="gt0" nowrap onmouseover="this.className='gt1'" onmouseout="this.className='gt0'"
                                id='panelTd'>
                                <a href="?DD6A043D&amp;http://go.microsoft.com/?linkid=4412889&amp;&amp;HL=Quick+Links&amp;CM=Masthead&amp;CE=h">
                                    Quick Links</a><script type='text/javascript'>document.write('<img src="http://i2.microsoft.com/library/mnp/2/gif/ql.gif" width="11px" height="4px" alt=""/>');</script>
                                <div id='panelDiv' style='position: absolute; visibility: hidden; z-index: 100;'>
                                    </div>
                            </td>
                            <td class="gtsep">
                                |</td>
                            <td class="gt0" nowrap onmouseover="this.className='gt1'" onmouseout="this.className='gt0'">
                                <a href="?894A82C6&amp;http://go.microsoft.com/?linkid=4412891&amp;&amp;HL=Worldwide&amp;CM=Masthead&amp;CE=h">
                                    Worldwide</a></td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <table cellpadding="0" width="100%" bgcolor="#FFFFFF">
            <tr valign="top">
                <td>

                    <script type="text/javascript">rT()</script>

                    <img alt="Microsoft" border="0" src="http://i.microsoft.com/h/all/i/ms_masthead_8x6a_ltr.jpg"><!-- --><script
                        type="text/javascript">wI("http://i2.microsoft.com/h/all/i/ms_masthead_10x7a_ltr.jpg","Microsoft","","")</script></td>
                <td id="msviDualGlobalSearch" bgcolor="#FFFFFF" nowrap>
                    <form id="msviDualSearchForm" action="http://www.microsoft.com/h/all/s/13.5_rtw/sr.aspx">
                        <input type="hidden" name="Track" value="true"><input type="hidden" name="locale"
                            value="en-us"><div>
                                <input name="qu" id="msviDualSearchBox" maxlength="255"><input id="msviSearchButton"
                                    type="submit" name="msviGoButton" value="Search"></div>
                        <div id="msviRadioButtons">
                            <input type="radio" id="mscomSearch" checked name="searchTarget" value="microsoft"><label
                                for="mscomSearch">Microsoft.com</label><input type="radio" id="msnSearch" name="searchTarget"
                                    value="msn"><label for="msnSearch"><img onclick="msnSearch.checked=true" src="http://i.microsoft.com/h/en-us/i/msnlogo.gif"
                                        alt="MSN">
                                        Web Search</label></div>
                    </form>
                </td>
            </tr>
        </table>
        <table id="tMain" class="main" cellpadding="0" width="100%">
            <tr valign="top">
                <td id="NavTd">
                    <div id="Nav">
                        <h4>
                            Product Families</h4>
                        <ul>
                            <li><a href="?D75BC992&amp;http://www.microsoft.com/windows/default.mspx&amp;&amp;HL=Windows&amp;CM=Navigation&amp;CE=productFamilies">
                                Windows</a></li><li><a href="?8D839E6D&amp;http://office.microsoft.com/home/default.aspx&amp;&amp;HL=Office&amp;CM=Navigation&amp;CE=productFamilies">
                                    Office</a></li><li><a href="?97F6BB94&amp;http://www.microsoft.com/windowsserversystem/default.mspx&amp;&amp;HL=Servers+&amp;CM=Navigation&amp;CE=productFamilies">
                                        Servers</a></li><li><a href="?D4D75315&amp;http://msdn.microsoft.com/&amp;&amp;HL=Developer+Tools&amp;CM=Navigation&amp;CE=productFamilies">
                                            Developer Tools</a></li><li><a href="?1EC9ED1D&amp;http://www.microsoft.com/businesssolutions/default.mspx&amp;&amp;HL=Business+Solutions&amp;CM=Navigation&amp;CE=productFamilies">
                                                Business Solutions</a></li><li><a href="?59FDCC6B&amp;http://www.microsoft.com/games/default.aspx&amp;&amp;HL=Games+%26+Xbox&amp;CM=Navigation&amp;CE=productFamilies">
                                                    Games &amp; Xbox</a></li><li><a href="?05D6D5E1&amp;http://www.msn.com&amp;&amp;HL=MSN&amp;CM=Navigation&amp;CE=productFamilies">
                                                        MSN</a></li><li><a href="?F0D77026&amp;http://www.microsoft.com/windowsmobile/default.mspx&amp;&amp;HL=Windows+Mobile&amp;CM=Navigation&amp;CE=productFamilies">
                                                            Windows Mobile</a></li><li><a href="?27C350E5&amp;http://go.microsoft.com/?LinkID=319190&amp;&amp;HL=All+Products&amp;CM=Navigation&amp;CE=productFamilies">
                                                                All Products</a></li></ul>
                        <div class="line">
                        </div>
                        <h4>
                            Resources</h4>
                        <ul>
                            <li><a href="?09769308&amp;http://www.microsoft.com/downloads/search.aspx&amp;&amp;HL=Downloads&amp;CM=Navigation&amp;CE=Resources">
                                Downloads</a></li><li><a href="?DF04CF8E&amp;http://update.microsoft.com/microsoftupdate/&amp;&amp;HL=Microsoft+Update&amp;CM=Navigation&amp;CE=Resources">
                                    Microsoft Update</a></li><li><a href="?1EAC08ED&amp;http://office.microsoft.com/OfficeUpdate/default.aspx&amp;&amp;HL=Office+Update&amp;CM=Navigation&amp;CE=Resources">
                                        Office Update</a></li><li><a href="?10209F9D&amp;http://www.microsoft.com/security/default.mspx&amp;&amp;HL=Security&amp;CM=Navigation&amp;CE=Resources">
                                            Security</a></li><li><a href="?E4B627DF&amp;http://support.microsoft.com/&amp;&amp;HL=Support&amp;CM=Navigation&amp;CE=Resources">
                                                Support</a></li><li><a href="?72109C19&amp;http://support.microsoft.com/search/?adv=0&amp;&amp;HL=Knowledge+Base&amp;CM=Navigation&amp;CE=Resources">
                                                    Knowledge Base</a></li><li><a href="?37717B4A&amp;http://partner.microsoft.com/&amp;&amp;HL=For+Partners&amp;CM=Navigation&amp;CE=Resources">
                                                        For Partners</a></li><li><a href="?BF0477D5&amp;http://www.microsoft.com/learning/default.asp&amp;&amp;HL=Learning+Tools&amp;CM=Navigation&amp;CE=Resources">
                                                            Learning Tools</a></li><li><a href="?5C2C7203&amp;http://www.microsoft.com/events/default.mspx&amp;&amp;HL=Events+%26+Webcasts&amp;CM=Navigation&amp;CE=Resources">
                                                                Events &amp; Webcasts</a></li></ul>
                        <div class="line">
                        </div>
                        <h4>
                            Microsoft Worldwide</h4>
                        <ul>
                            <li><a href="?E1E07A8C&amp;http://www.microsoft.com/worldwide&amp;&amp;HL=Microsoft%2bWorldwide&amp;CM=Navigation&amp;CE=geotargeting">
                                Countries &amp; Regions</a></li><li><a href="?322EBB1B&amp;http://www.microsoft.com/nz/&amp;&amp;HL=Microsoft%2bNew%2bZealand&amp;CM=Navigation&amp;CE=geotargeting&amp;wt_linkid=NGenusennz">
                                    Microsoft New Zealand</a></li></ul>
                        <div class="line">
                        </div>
                    </div>
                    <div class="ad">

                        <script type="text/javascript">wrT()</script>

                        <a href="?17028B08&amp;http://www.microsoft.com/athome/security/protect/default.aspx&amp;&amp;HL=Protect+your+PC+in+3+steps&amp;CM=Ad&amp;CE=Ad">
                            <img src="http://i2.microsoft.com/h/en-us/i/Promo_PYPC4.gif" alt="Protect your PC in 3 steps"></a><!-- --><script
                                type="text/javascript">var AdHtml='<iframe frameborder="0" scrolling="no" marginheight="0px" marginwidth="0px" allowtransparency="true" style="background:#F1F1F1" width="120" height="240" src="http://rad.microsoft.com/ADSAdClient31.dll?GetAd=&PG=CMSIE4&SC=F3&AP=1164"><'+'/iframe>';document.writeln(AdHtml);</script></div>
                </td>
                <td id="ca">
                    <a name="cArea"></a>
                    <div id="fa">
                        <table cellpadding='0'>
                            <tr>
                                <td id='hp' rowspan='2'>

                                    <script type="text/javascript">rT()</script>

                                    <img src="http://i3.microsoft.com/h/en-us/i/HP_13.5/Zune_2_8.jpg" alt="Wide" class="hpi"
                                        usemap="#Content_HP"><!-- --><script type="text/javascript">
<!--
wI("http://i3.microsoft.com/h/en-us/i/HP_13.5/Zune_2_10.jpg","Wide","hpiW","#Content_HPW")
//-->
                                        </script></td>
                                <td id='qpt'>

                                    <script type="text/javascript">rT()</script>

                                    <img src="http://i3.microsoft.com/h/en-us/i/HP_13.5/OneCareTrial_4_8.gif" alt="Quarter Top"
                                        class="qpi" usemap="#Content_QPT"><!-- --><script type="text/javascript">
<!--
wI("http://i3.microsoft.com/h/en-us/i/HP_13.5/OneCareTrial_4_10.gif","Quarter Top","qpiW","#Content_QPTW")
//-->
                                        </script></td>
                            </tr>
                            <tr>
                                <td id='qpb'>

                                    <script type="text/javascript">rT()</script>

                                    <img src="http://i3.microsoft.com/h/en-us/i/HP_13.5/LiveMessengerB_4_8.jpg" alt="Quarter Bottom"
                                        class="qpi" usemap="#Content_QPB"><!-- --><script type="text/javascript">
<!--
wI("http://i3.microsoft.com/h/en-us/i/HP_13.5/LiveMessengerB_4_10.jpg","Quarter Bottom","qpiW","#Content_QPBW")
//-->
                                        </script></td>
                            </tr>
                        </table>
                    </div>
                    <div id="nh" dir="ltr">
                        <span>NZ News:</span> <a href="?61DA685D&amp;http://www.microsoft.com/nz/presscentre/articles/2006/oct06_IE7launch.mspx&amp;&amp;HL=Microsoft+Launches+Internet+Explorer+7+for+Windows+XP&amp;CM=News&amp;CE=en-nz&amp;wt_linkid=NHenusennz">
                            Microsoft Launches Internet Explorer 7 for Windows XP</a></div>
                    <table id='tbt' cellspacing='0' cellpadding='0'>
                        <tr id='tabtop'>
                            <td class="tbh">
                                &nbsp;</td>
                            <td id="tbc" class="tbc">
                                &nbsp;</td>
                            <td id="tbp" class="tbp">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td id='tbh_0' class='Title trb' onmouseover='FT(0);CI(0)'>
                                <div>
                                    <span tabindex='0' onfocus='ctb=0;' onkeydown='return KP(event);'>Highlights</span></div>
                            </td>
                            <td id='tbc_0' class='Content'>
                                <div class='Marquee'>
                                    <table border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td>
                                                <a id="mrq_0" href="?E17B2319&amp;http://www.microsoft.com/athome/security/update/bulletins/200611.mspx&amp;&amp;HL=November+security+updates&amp;CM=Tabs&amp;CE=Highlights&amp;wt_linkid=08-00-072SUS0141">
                                                    <img src="http://i.microsoft.com/h/en-us/i/HP_13.5/SecUp_S.jpg" alt="November security updates"><span>November
                                                        security updates</span>Install them now to help protect your computer</a></td>
                                        </tr>
                                    </table>
                                </div>
                                <ul>
                                    <li><a href="?C88B7224&amp;http://maps.live.com&amp;&amp;HL=Download+3D+maps%3a+See+brand+new+3D+views+that+help+you+find+what+you%27re+looking+for&amp;CM=Tabs&amp;CE=Highlights&amp;wt_linkid=08-00-072SUS0103">
                                        <span>Download 3D maps:</span> See brand new 3D views that help you find what you're
                                        looking for</a></li><li><a href="?D363F129&amp;http://www.windowsvista.com/getready&amp;&amp;HL=Get+ready+for+Windows+Vista%3a+Evaluate+your+current+PC%2c+or+find+a+new+one+today+that%27s+ready+to+run+Windows+Vista&amp;CM=Tabs&amp;CE=Highlights&amp;wt_linkid=08-00-072SUS0104">
                                            <span>Get ready for Windows Vista:</span> Evaluate your current PC, or find a new
                                            one today that's ready to run Windows Vista</a></li><li><a href="?39A2EF2A&amp;http://clk.atdmt.com/MRT/go/mscmxpcy0010000002mrt/direct/01/&amp;&amp;HL=Free+spyware+protection%3a++Download+Windows+Defender+today&amp;CM=Tabs&amp;CE=Highlights&amp;wt_linkid=08-00-072MUS1200">
                                                <span>Free spyware protection: </span>Download Windows Defender today</a></li><li><a
                                                    href="?9CF0956B&amp;http://clk.atdmt.com/AVE/go/ntrnvmba0030000041ave/direct/01/&amp;&amp;HL=Download+Microsoft+Office+Accounting+Express+2007%3a+Save+time%2c+get+organized%2c+and+sell+online&amp;CM=Tabs&amp;CE=Highlights&amp;wt_linkid=08-00-072SUS0154">
                                                    <span>Download Microsoft Office Accounting Express 2007:</span> Save time, get organized,
                                                    and sell online</a></li></ul>
                            </td>
                            <td id='tbpop' class='Popular' rowspan='7'>
                                <div class='popDest'>
                                    <div class='heading'>
                                        Popular Searches</div>
                                    <ul>
                                        <li><a href="?DB41A8E8&amp;http://search.microsoft.com/results.aspx?mkt=en-US&amp;setlang=en-US&amp;q=templates&amp;&amp;HL=Templates&amp;CM=popular&amp;CE=Searches">
                                            Templates</a></li><li><a href="?86BF3B1C&amp;http://search.microsoft.com/results.aspx?q=activesync&amp;l=1&amp;mkt=en-US&amp;FORM=QBME1&amp;&amp;HL=ActiveSync&amp;CM=popular&amp;CE=Searches">
                                                ActiveSync</a></li><li><a href="?3F99775B&amp;http://search.microsoft.com/results.aspx?q=clip+art&amp;l=1&amp;mkt=en-US&amp;FORM=QBME1&amp;&amp;HL=Clip+art&amp;CM=popular&amp;CE=Searches">
                                                    Clip art</a></li></ul>
                                </div>
                                <div class='popDest'>
                                    <div class='heading'>
                                        Popular Downloads</div>
                                    <ul>
                                        <li><a href="?71572DEF&amp;http://www.microsoft.com/windows/ie/default.mspx?mg_ID=10010&amp;&amp;HL=Internet+Explorer+7&amp;CM=popular&amp;CE=Downloads">
                                            Internet Explorer 7</a></li><li><a href="?1AAB95F6&amp;http://www.microsoft.com/downloads/details.aspx?FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3&amp;displaylang=en&amp;&amp;HL=DirectX+October+Update&amp;CM=popular&amp;CE=Downloads">
                                                DirectX October Update</a></li><li><a href="?FD820A40&amp;http://www.microsoft.com/downloads/search.aspx?displaylang=en&amp;&amp;HL=More+Popular+Downloads&amp;CM=popular&amp;CE=Downloads">
                                                    More Popular Downloads</a></li></ul>
                                </div>

                                <script type="text/javascript"><!--
if(isW){document.write('<br clear="all">')}
--></script>

                                <div class='popDest'>
                                    <div class='heading'>
                                        Popular Destinations</div>
                                    <ul>
                                        <li><a href="?DDF20A10&amp;http://www.microsoft.com/athome/default.mspx&amp;&amp;HL=At+Home&amp;CM=popular&amp;CE=Dest">
                                            At Home</a></li><li><a href="?3D1D00E2&amp;http://www.microsoft.com/atwork/default.mspx&amp;&amp;HL=At+Work&amp;CM=popular&amp;CE=Dest">
                                                At Work</a></li><li><a href="?EE7CF3F5&amp;http://www.microsoft.com/business/default.mspx&amp;&amp;HL=Business+%26+Industry&amp;CM=popular&amp;CE=Dest">
                                                    Business &amp; Industry</a></li><li><a href="?323AA19B&amp;http://msdn.microsoft.com/&amp;&amp;HL=MSDN&amp;CM=popular&amp;CE=Dest">
                                                        MSDN</a></li><li><a href="?1C9AFB8B&amp;http://technet.microsoft.com/default.aspx&amp;&amp;HL=TechNet+for+IT+Pros&amp;CM=popular&amp;CE=Dest">
                                                            TechNet for IT Pros</a></li></ul>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td id='tbh_1' class='Title trb' onmouseover='FT(1);CI(1)'>
                                <div>
                                    <span tabindex='0' onfocus='ctb=1;' onkeydown='return KP(event);'>Latest releases</span></div>
                            </td>
                            <td id='tbc_1' class='Content'>
                                <div class='Marquee'>
                                    <table border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td>
                                                <a id="mrq_1" href="?01E19847&amp;http://www.microsoft.com/windows/windowsmedia/player/11/default.aspx&amp;&amp;HL=Download+Windows+Media+Player+11+today&amp;CM=Tabs&amp;CE=Releases&amp;wt_linkid=09-00-072SUS0136">
                                                    <img src="http://i2.microsoft.com/h/en-us/i/HP_13.5/WMP11_S.jpg" alt="Download Windows Media Player 11 today"><span>Download
                                                        Windows Media Player 11 today</span>Store and enjoy all your music, video, pictures,
                                                    and recorded TV</a></td>
                                        </tr>
                                    </table>
                                </div>
                                <ul>
                                    <li><a href="?A4BA835C&amp;http://www.zune.net/meetzune/device.htm&amp;&amp;HL=Zune+now+available+in+stores%3a+Join+the+launch+party%3b+check+out+the+Social&amp;CM=Tabs&amp;CE=Releases&amp;wt_linkid=09-00-072SUS0187">
                                        <span>Zune now available in stores:</span> Join the launch party; check out the
                                        Social</a></li><li><a href="?82ECB06A&amp;http://clk.atdmt.com/MRT/go/mcrssitp0060000082mrt/direct/01/&amp;&amp;HL=Internet+Explorer+7+is+here%3a+Download+and+install+it+today&amp;CM=Tabs&amp;CE=Releases&amp;wt_linkid=09-00-072MUS0900">
                                            <span>Internet Explorer 7 is here:</span> Download and install it today</a></li><li>
                                                <a href="?F3E5A8CD&amp;http://www.microsoft.com/office/preview/beta/overview.mspx&amp;&amp;HL=2007+Microsoft+Office+system%3a+Take+the+new+version+of+Office+for+a+test+drive&amp;CM=Tabs&amp;CE=Releases&amp;wt_linkid=09-00-072MUS0200">
                                                    <span>2007 Microsoft Office system:</span> Take the new version of Office for a
                                                    test drive</a></li><li><a href="?395EB9F4&amp;http://clk.atdmt.com/GBL/go/mcrsswlm0060000022gbl/direct/01/&amp;&amp;HL=Download+Windows+Live+Messenger%3a+The+next+generation+of+MSN+Messenger&amp;CM=Tabs&amp;CE=Releases&amp;wt_linkid=09-00-072MUS0200">
                                                        <span>Download Windows Live Messenger:</span> The next generation of MSN Messenger</a></li></ul>
                            </td>
                        </tr>
                        <tr>
                            <td id='tbh_2' class='Title trb' onmouseover='FT(2);CI(2)'>
                                <div>
                                    <span tabindex='0' onfocus='ctb=2;' onkeydown='return KP(event);'>Using your computer</span></div>
                            </td>
                            <td id='tbc_2' class='Content'>
                                <div class='Marquee'>
                                    <table border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td>
                                                <a id="mrq_2" href="?20141143&amp;http://office.microsoft.com/en-us/results.aspx?qu=2007+calendar&amp;&amp;HL=Free+2007+calendar+templates&amp;CM=Tabs&amp;CE=usingComp&amp;wt_linkid=10-00-072SUS0198">
                                                    <img src="http://i.microsoft.com/h/en-us/i/HP_13.5/Calendar_S.jpg" alt="Free 2007 calendar templates"><span>Free
                                                        2007 calendar templates</span>Find calendars for the coming year in your favorite
                                                    Microsoft Office programs</a></td>
                                        </tr>
                                    </table>
                                </div>
                                <ul>
                                    <li><a href="?1FE17C93&amp;http://www.microsoft.com/atwork/stayconnected/ie7.mspx&amp;&amp;HL=5+ways+Internet+Explorer+7+helps+you+get+more+done%3a+Find+what+you+need+more+quickly%2c+eliminate+printing+problems%2c+and+more&amp;CM=Tabs&amp;CE=usingComp&amp;wt_linkid=10-00-072SUS0176">
                                        <span>5 ways Internet Explorer 7 helps you get more done:</span> Find what you need
                                        more quickly, eliminate printing problems, and more</a></li><li><a href="?11E2547F&amp;http://www.microsoft.com/windowsxp/mediacenter/evaluation/hardware.mspx&amp;&amp;HL=Try+Windows+Media+Center+Edition%3a+Windows+XP+plus+an+amazing+media+experience&amp;CM=Tabs&amp;CE=usingComp&amp;wt_linkid=10-00-072SUS0118">
                                            <span>Try Windows Media Center Edition:</span> Windows XP plus an amazing media
                                            experience</a></li><li><a href="?65AC35F3&amp;http://clk.atdmt.com/GBL/go/mcrsswsa0030000051gbl/direct/01/&amp;&amp;HL=Free+trial+of+Windows+Live+OneCare%3a+All-in-one+PC+security+and+performance+service&amp;CM=Tabs&amp;CE=usingComp&amp;wt_linkid=10-00-072MUS0100">
                                                <span>Free trial of Windows Live OneCare:</span> All-in-one PC security and performance
                                                service</a></li><li><a href="?2B00B5A0&amp;http://www.windowsmarketplace.com/content.aspx?ctId=384&amp;tabid=1&amp;WT.mc_id=1106_10&amp;&amp;HL=30%25+off+thousands+of+select+downloads%3a+U.S.+only%3b+sale+ends+Dec.+11%2c+2006&amp;CM=Tabs&amp;CE=usingComp&amp;wt_linkid=10-00-072SUS0189">
                                                    <span>30% off thousands of select downloads:</span> U.S. only; sale ends Dec. 11,
                                                    2006</a></li></ul>
                            </td>
                        </tr>
                        <tr>
                            <td id='tbh_3' class='Title trb' onmouseover='FT(3);CI(3)'>
                                <div>
                                    <span tabindex='0' onfocus='ctb=3;' onkeydown='return KP(event);'>For Business</span></div>
                            </td>
                            <td id='tbc_3' class='Content'>
                                <div class='Marquee'>
                                    <table border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td>
                                                <a id="mrq_3" href="?D0A35461&amp;http://clk.atdmt.com/AVE/go/ntrnvmba0030000041ave/direct/01/&amp;&amp;HL=Download+Microsoft+Office+Accounting+Express+2007&amp;CM=Tabs&amp;CE=Business&amp;wt_linkid=11-00-072SUS0154">
                                                    <img src="http://i2.microsoft.com/h/en-us/i/HP_13.5/OfficeAcct_S.jpg" alt="Download Microsoft Office Accounting Express 2007"><span>Download
                                                        Microsoft Office Accounting Express 2007</span>Save time, get organized, and
                                                    sell online</a></td>
                                        </tr>
                                    </table>
                                </div>
                                <ul>
                                    <li><a href="?951EE25B&amp;http://www.microsoft.com/dynamics/environment.mspx&amp;&amp;HL=Environmental+sustainability%3a+How+your+existing+ERP+system+and+Microsoft+Dynamics+can+help&amp;CM=Tabs&amp;CE=Business&amp;wt_linkid=11-00-072SUS0147">
                                        <span>Environmental sustainability:</span> How your existing ERP system and Microsoft
                                        Dynamics can help</a></li><li><a href="?C3182F75&amp;http://www.microsoft.com/midsizebusiness&amp;&amp;HL=Midsize+Business+Center%3a+New+solutions%2c+tools%2c+and+services+announced&amp;CM=Tabs&amp;CE=Business&amp;wt_linkid=11-00-072SUS0180">
                                            <span>Midsize Business Center:</span> New solutions, tools, and services announced</a></li><li>
                                                <a href="?F80CAABF&amp;http://www.microsoft.com/dynamics/product/whymicrosoft.mspx&amp;&amp;HL=Why+Microsoft%3f+Find+out+what+makes+Microsoft+Dynamics+a+smart+choice&amp;CM=Tabs&amp;CE=Business&amp;wt_linkid=11-00-072SUS0178">
                                                    <span>Why Microsoft?</span> Find out what makes Microsoft Dynamics a smart choice</a></li><li>
                                                        <a href="?063FD2E8&amp;http://clk.atdmt.com/MRT/go/mcrssaub0050001386mrt/direct/01/&amp;&amp;HL=Free+Web+site+and+more+for+your+small+business%3a+Sign+up+for+Office+Live+today+%28U.S.+only%29&amp;CM=Tabs&amp;CE=Business&amp;wt_linkid=11-00-072MUS0600">
                                                            <span>Free Web site and more for your small business:</span> Sign up for Office
                                                            Live today (U.S. only)</a></li></ul>
                            </td>
                        </tr>
                        <tr>
                            <td id='tbh_4' class='Title trb' onmouseover='FT(4);CI(4)'>
                                <div>
                                    <span tabindex='0' onfocus='ctb=4;' onkeydown='return KP(event);'>For IT Professionals</span></div>
                            </td>
                            <td id='tbc_4' class='Content'>
                                <div class='Marquee'>
                                    <table border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td>
                                                <a id="mrq_4" href="?B8916733&amp;http://clk.atdmt.com/MRT/go/mscmxpro0060000035mrt/direct/01/&amp;&amp;HL=Download+the+Microsoft+Forefront+Client+Security+beta&amp;CM=Tabs&amp;CE=ITPros&amp;wt_linkid=12-00-072MXX0701">
                                                    <img src="http://i.microsoft.com/h/en-us/i/HP_13.5/Forefront_S.jpg" alt="Download the Microsoft Forefront Client Security beta"><span>Download
                                                        the Microsoft Forefront Client Security beta</span>Unified protection for business
                                                    desktops, laptops, and servers</a></td>
                                        </tr>
                                    </table>
                                </div>
                                <ul>
                                    <li><a href="?5313D6BC&amp;http://www.microsoft.com/technet/windowsvista/security/guide.mspx&amp;&amp;HL=Windows+Vista+Security+Guide%3a+Best+practices+and+predefined+security+configurations+you+can+deploy+in+minutes+&amp;CM=Tabs&amp;CE=ITPros&amp;wt_linkid=12-00-072SUS0194">
                                        <span>Windows Vista Security Guide:</span> Best practices and predefined security
                                        configurations you can deploy in minutes</a></li><li><a href="?7A3B9F16&amp;http://www.microsoft.com/technet/technetmag/issues/2006/11/ApplicationCompatibility/default.aspx&amp;&amp;HL=Inside+the+new+Microsoft+Application+Compatibility+Toolkit%3a+Find+solutions+for+potential+issues+with+Windows+Vista&amp;CM=Tabs&amp;CE=ITPros&amp;wt_linkid=12-00-072SUS0195">
                                            <span>Inside the new Microsoft Application Compatibility Toolkit:</span> Find solutions
                                            for potential issues with Windows Vista</a></li><li><a href="?47E43B3C&amp;http://www.microsoft.com/technet/technetmag/issues/2006/11/Deployment/default.aspx&amp;&amp;HL=10+things+you+need+to+know+about+deploying+Windows+Vista&amp;CM=Tabs&amp;CE=ITPros&amp;wt_linkid=12-00-072SUS0185">
                                                10 things you need to know about <span>deploying Windows Vista</span></a></li><li><a
                                                    href="?33AB26B7&amp;http://www.microsoft.com/technet/technetmag/issues/2006/11/VistaNetworking/default.aspx&amp;&amp;HL=Enterprise+networking+with+Windows+Vista%3a+How+the+new+OS+makes+networking+simpler%2c+more+secure%2c+and+easier+to+manage&amp;CM=Tabs&amp;CE=ITPros&amp;wt_linkid=12-00-072SUS0196">
                                                    <span>Enterprise networking with Windows Vista:</span> How the new OS makes networking
                                                    simpler, more secure, and easier to manage</a></li></ul>
                            </td>
                        </tr>
                        <tr>
                            <td id='tbh_5' class='Title trb' onmouseover='FT(5);CI(5)'>
                                <div>
                                    <span tabindex='0' onfocus='ctb=5;' onkeydown='return KP(event);'>For Developers</span></div>
                            </td>
                            <td id='tbc_5' class='Content'>
                                <div class='Marquee'>
                                    <table border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td>
                                                <a id="mrq_5" href="?D2CF0322&amp;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnlong/html/appcomp.asp&amp;&amp;HL=Windows+Vista+Application+Compatibility+Cookbook&amp;CM=Tabs&amp;CE=Dev&amp;wt_linkid=13-00-072SUS0174">
                                                    <img src="http://i2.microsoft.com/h/en-us/i/HP_13.5/Vista_S.jpg" alt="Windows Vista Application Compatibility Cookbook"><span>Windows
                                                        Vista Application Compatibility Cookbook</span>Verify your application's compatibility
                                                    and understand the known issues of incompatibility</a></td>
                                        </tr>
                                    </table>
                                </div>
                                <ul>
                                    <li><a href="?07989B97&amp;http://ajax.asp.net/&amp;&amp;HL=Download+the+ASP.NET+AJAX+beta%3a+Start+building+richer%2c+more+interactive+sites%3b+previously+code-named+%22Atlas%22&amp;CM=Tabs&amp;CE=Dev&amp;wt_linkid=13-00-072SUS0175">
                                        <span>Download the ASP.NET AJAX beta:</span> Start building richer, more interactive
                                        sites; previously code-named &quot;Atlas&quot;</a></li><li><a href="?ADACAC3A&amp;http://msdn2.microsoft.com/en-us/netframework/default.aspx&amp;&amp;HL=.NET+Framework+3.0%3a+Download+the+new+release+today&amp;CM=Tabs&amp;CE=Dev&amp;wt_linkid=13-00-072SUS0184">
                                            <span>.NET Framework 3.0:</span> Download the new release today</a></li><li><a href="?CC96D99A&amp;https://www.microsoftelearning.com/eLearning/offerDetail.aspx?offerPriceId=109340&amp;&amp;HL=Free+.NET+Framework+3.0+E-Learning%3a+Choose+from+three+2-hour+clinics+&amp;CM=Tabs&amp;CE=Dev&amp;wt_linkid=13-00-072SUS0190">
                                                <span>Free .NET Framework 3.0 E-Learning:</span> Choose from three 2-hour clinics</a></li><li>
                                                    <a href="?F0396D1C&amp;http://www.microsoft.com/windows/embedded/default.mspx&amp;&amp;HL=Fast+forward+your+project+with+Windows+Embedded%3a+See+how+you+can+accelerate+your+development+time&amp;CM=Tabs&amp;CE=Dev&amp;wt_linkid=13-00-072SUS0197">
                                                        <span>Fast forward your project with Windows Embedded:</span> See how you can accelerate
                                                        your development time</a></li></ul>
                            </td>
                        </tr>
                        <tr id='rwph'>
                            <td id='tbph'>
                                &nbsp;</td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <table id="msviFooter" width="100%" cellpadding="0" cellspacing="0">
            <tr valign="bottom">
                <td id="msviFooter2">
                    <div id="msviLocalFooter">
                        <span><a href="?D635CE61&amp;http://go.microsoft.com/?linkid=317027&amp;&amp;HL=Manage+Your+Profile&amp;CM=Footer&amp;CE=h">
                            Manage Your Profile</a> |</span><span><a href="?0F6CC033&amp;http://go.microsoft.com/?linkid=2028351&amp;&amp;HL=Contact+Us&amp;CM=Footer&amp;CE=h">Contact
                                Us</a> |</span><span><a href="?32AADE83&amp;http://www.microsoft.com/about/default.mspx&amp;&amp;HL=About+Microsoft&amp;CM=Footer&amp;CE=h">About
                                    Microsoft</a> |</span><span><a href="?7E09E87E&amp;http://www.microsoft.com/careers/default.mspx&amp;&amp;HL=Careers&amp;CM=Footer&amp;CE=h">Careers</a>
                                        |</span><span><a href="?60AE0447&amp;http://www.microsoft.com/about/legal/&amp;&amp;HL=Legal&amp;CM=Footer&amp;CE=h">Legal</a>
                                            |</span><span><a href="?A1D0D5DD&amp;http://www.microsoft.com/presspass/&amp;&amp;HL=For+Journalists&amp;CM=Footer&amp;CE=h">For
                                                Journalists</a> |</span><span><a href='?C24BE48F&amp;http://www.microsoft.com/rss/Default.aspx&amp;&amp;HL=Subscribe+to+Microsoft+Web+Feeds&amp;CM=Footer&amp;CE=h'><img
                                                    src='http://i.microsoft.com/h/all/i/webfeed.png' alt='Subscribe to Microsoft Web Feeds'>Subscribe
                                                    to Microsoft Web Feeds</a></span></div>
                    <div id="msviGlobalFooter">
                        &#169; 2006 Microsoft Corporation. All rights reserved. <span><a href="?6AAD5E20&amp;http://go.microsoft.com/?linkid=4412892&amp;&amp;HL=Terms+of+Use&amp;CM=Footer&amp;CE=h">
                            Terms of Use</a> |</span><span><a href="?13119908&amp;http://go.microsoft.com/?linkid=4412893&amp;&amp;HL=Trademarks&amp;CM=Footer&amp;CE=h">Trademarks</a>
                                |</span><span><a href="?1D1701AC&amp;http://go.microsoft.com/?linkid=4412894&amp;&amp;HL=Privacy+Statement&amp;CM=Footer&amp;CE=h">Privacy
                                    Statement</a></span></div>
                </td>
            </tr>
        </table>
    </div>
    <map name="Content_HP">
        <area shape="rect" alt="Zune: Available now in stores" coords="0,0,361,278" href="?0EB988DB&amp;http://www.zune.net/meetzune/device.htm&amp;&amp;HL=Zune%3a+Available+now+in+stores&amp;CM=Features&amp;CE=HP&amp;wt_linkid=01-00-72SUS0187">
    </map>
    <map name="Content_HPW">
        <area shape="rect" alt="Zune: Available now in stores" coords="0,0,498,384" href="?0EB988DB&amp;http://www.zune.net/meetzune/device.htm&amp;&amp;HL=Zune%3a+Available+now+in+stores&amp;CM=Features&amp;CE=HP&amp;wt_linkid=01-00-72SUS0187">
    </map>
    <map name="Content_QPT">
        <area shape="rect" alt="Windows Live OneCare: Download the free trial" coords="0,0,228,138"
            href="?86103BB3&amp;http://clk.atdmt.com/GBL/go/mcrsswsa0030000051gbl/direct/01/&amp;&amp;HL=Windows+Live+OneCare%3a+Download+the+free+trial&amp;CM=Features&amp;CE=QP&amp;wt_linkid=02-00-072MUS0100">
    </map>
    <map name="Content_QPTW">
        <area shape="rect" alt="Windows Live OneCare: Download the free trial" coords="0,0,315,191"
            href="?86103BB3&amp;http://clk.atdmt.com/GBL/go/mcrsswsa0030000051gbl/direct/01/&amp;&amp;HL=Windows+Live+OneCare%3a+Download+the+free+trial&amp;CM=Features&amp;CE=QP&amp;wt_linkid=02-00-072MUS0100">
    </map>
    <map name="Content_QPB">
        <area shape="rect" alt="Download Windows Live Messenger for free today" coords="0,0,228,138"
            href="?3AED5419&amp;http://clk.atdmt.com/GBL/go/mcrsswlm0060000022gbl/direct/01/&amp;&amp;HL=Download+Windows+Live+Messenger+for+free+today&amp;CM=Features&amp;CE=QP&amp;wt_linkid=03-00-072MUS0200">
    </map>
    <map name="Content_QPBW">
        <area shape="rect" alt="Download Windows Live Messenger for free today" coords="0,0,315,191"
            href="?3AED5419&amp;http://clk.atdmt.com/GBL/go/mcrsswlm0060000022gbl/direct/01/&amp;&amp;HL=Download+Windows+Live+Messenger+for+free+today&amp;CM=Features&amp;CE=QP&amp;wt_linkid=03-00-072MUS0200">
    </map>

    <script type='text/javascript'>
<!--
if(isW){w(e("tbc"));w(e("tbp"));w(e("tMain"));}
TI();
//--></script>

    <script type="text/javascript">
<!--
if(isW){w(e("al"));w(e("dPage"));w(e("re"));w(e("tdRotSec"));w(e("tdPopDest"));w(e("dFL"));w(e("dFS"));w(e("dFS1"));w(e("dFS2"));w(e("nTable"));recW(e("fa"));if(e("dS3")){e("dS3").style.clear="none";}if(e("dS5")){e("dS5").style.clear="none";}if(e("dS4")){e("dS4").style.clear="left";}rE("br2");rE("br4");if(e("br3")){e("br3").className="";}}
//-->
    </script>

    <div style="display: none" id="WebMetrixDiv">

        <script type="text/javascript">
<!--
var wmGif='<'+'img width="0" height="0" alt="" src="http://c.microsoft.com'+'/trans_pixel.asp?source=www&amp;TYPE=PV&amp;P=';if(''!=window.document.referrer){wmGif=wmGif+"&amp;r="+escape(window.document.referrer);}wmGif=wmGif+'"/>';document.writeln(wmGif);
//-->
        </script>

    </div>
    <div style="display: none" id="IDSSDiv">

        <script type="text/javascript">
<!--
var msnGif='<'+'img width="0" height="0" alt="" src="http://c1.microsoft.com'+'/c.gif?DI=4050&amp;PS=81555&amp;PI=40472&amp;TP=http%3a%2f%2fwww.microsoft.com&amp;RF='+escape(window.document.referrer)+'">';document.writeln(msnGif);
//-->
        </script>

    </div>

    <script type="text/javascript"><!--
var gDomain="m.webtrends.com";var gDcsId="dcsjwb9vb00000c932fd0rjc7_5p3t";var gTrackEvents=1;var gFpc="WT_FPC";if(document.cookie.indexOf(gFpc+"=")==-1){document.write("<SCR"+"IPT TYPE='text/javascript' SRC='"+"http"+(window.location.protocol.indexOf('https:')==0?'s':'')+"://"+gDomain+"/"+gDcsId+"/wtid.js"+"'><\/SCR"+"IPT>");}
//-->
    </script>

    <script src="http://i.microsoft.com/h/all/s/13.5_rtw/webtrends.js" type="text/javascript"></script>

    <noscript>
        <img alt="" border="0" id="DCSIMG" width="1" height="1" src="http://m.webtrends.com/dcsjwb9vb00000c932fd0rjc7_5p3t/njs.gif?dcsuri=/nojavascript&amp;WT.js=No"></noscript></body></html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer (Senior)
New Zealand New Zealand
"Find a job you love, and you'll never work a day in your life."

Adam Langley is a software engineer in Auckland, New Zealand.

Software development is his personal passion, he takes pride in his work, and likes to share his experiences with the development community.

When he's not coercing computers, you'll find him riding his motorcycle, or attempting to carve something creative from bone.

Comments and Discussions