TypeForwardedToAttributes

While preparing for the 70–551 exam I came across the new TypeForwardedToAttributes class. Searching for this on MSDN brought up “no search results”. Hmm.. that sounded funny.

Searching on Live did bring up some results. The problem stems from the fact that the actual class name is TypeForwardedToAttribute not TypeForwardedToAttributes as incorecctly stated in the exam preparation guide page.

A handy feature too which allows you to move classes from one assembly to another without breaking existing applications that have the earlier reference. Bill Bozeman’s blog has a good overview on the TypeForwardedToAttributes class with examples.

Free Microsot Exam Voucher [Limited Number]

Microsoft Sri Lanka is offering a generous gift (limited number) this Christmas season to all dotnetforum community members on a first come first serve basis.

The only catch being that the exam voucher expires on 31-Dec-2006, so you'll need to be ready to do the exam in super quick time.

The voucher entitles you to take one of the following exams:

- 70-431: TS: Microsoft SQL Server 2005 - Implementation and Maintenance
- 70-536: TS: Microsoft .NET Framework 2.0 – Application Development Foundation
- 70-551: UPGRADE: MCAD Skills to MCPD Web Develop by Using the Microsoft .NET Framework
- 70-552: UPGRADE: MCAD Skills to MCPD Windows Developer by Using the Microsoft .NET Framework
- 70-553: UPGRADE: MCSD Microsoft .NET Skills to MCPD Enterprise Application Developer by Using the Microsoft  .NET Framework: Part 1
- 70-235: TS: Developing Business Process and Integration Solutions Using Microsoft BizTalk Server 2006

If you are interested please get in touch with Wela (BTW I just found out that he’s our new Developer Evangelist) on 777.281.021.

Another humble request is to not waste this precious resource as you might be depriving someone else a chance if you do get the voucher and not take the exam.

Joshua

Well my baby boy finally made it into this world exactly two weeks ago. Life has been pretty hectic since then with many a sleepless nights.

Although tiring, I’m loving every single moment with Joshua and his new Baby crib!

I love the Vista unzip

I love the Vista unzip dialog. Just two steps to unzip a file. Although XP first added the unzip to Windows, it was crudely done. It always went through the wizard which had three pages to add to the misery the check setting to ‘Show extracted files’ never remembered its previous state.

<IMG alt=VistaUnzip src="http://www.merill.net/VistaUnzip_small.jpg" border=0>

[UPDATE] I've been getting quite a lot of hits from Google with people searching on "How to unzip files in Vista". You basically need just two steps.

1. Right click on the zip file.

2. Click on 'Extract All...' to get the dialog box shown above.

3. That's all!

Microsoft Innovations

Is Microsoft Innovative? A fun debate between Robert Scoble and Dave Winer on the Wall Street Journal online.

What’s even more interesting is this comment left by a guy called Stan on Scobles blog.

Winer is either completely ignorant or is just playing the “MS just copies” role for effect.

Here are some MS innovations off the top of my head (some big, some small, some built on top of previous work, but lots of “innovations” in tech build on previous work):
* AJAX
* Web browser component usable by any app
* OLE
* Spreadsheet Pivot Tables
* Tabbed spreadheets (since then, copied by other apps such as browsers)
* On-the-fly spell check in word processors
* LINQ (the upcoming tech that will be in C# 3.0 and VB9)
* Video codec innovations that have led to VC-1 being the premier codec for HD-DVD and BR discs.
* Mouse scroll wheels
* Mouse GoForward/GoBack buttons
* Ergonomic mice (I recall the days where you had to press down on a mouse while moving it in order to move the cursor; Microsoft ended that nonsense).
* Ergonomic keyboards
* Office 2007 UI
* Mac Office floating palette UI
* TerraServer (precursor of Virtual Earth, NASA WorldWind, Google Earth)
* Ability to alter compiled code while debugging it
* User Agents
* Wizards
* Intellisense
* Answer Wizard technology in Office Help
* ClearType
* TrueType (collaboration with Apple)
* Bob (yeah, it failed in the marketplace, but it was innovative (too much for its own good))
* Dynamic HTML desktops
* Taskbar
* Alt-Tab to switch apps
* Lots of small innovations in .NET that when combined equal large cumulative innovation.
* ActiveX (yes, it had security issues, particularly before XP SP2, but is great in an intranet setting)
* Net-DDE, the first tech to allow clipboard functionality over LAN
* Singularity
* Combining the Back and Forward history buttons into one navigation stack control in IE7
* Photosynth
* XPS (does everything that PDF does, adds graphical effects that PDF lacks, does it in a smaller file size, and does it using XML so the files can be manipulated via XML parsers)
* Windows Live Contacts (being developed by Danny Thorpe (legendary programmer at Borland, who jumped to Google, then 4 months later went to Microsoft))
* A bunch of little stuff in IM via MSN Messenger
* OneNote (I don’t think there’s any other app really like it (and those that try to be like it aren’t anywhere near as good), particuarly when used on a Tablet PC)
* Mac Word 2004’s notebook layout and microphone support
* Zune’s WiFi (yes, the RIAA only allowed 3play/3day sharing, but its use will grow into other areas)
* First console to have a harddrive (Xbox)
* Browser runs in a sandbox (IE7 on Vista)
* First browser with anti-phishing tech
* Multi-core/CPU calculations in Excel 2007
* XNA
* Vista’s ability to allow the user to increase RAM simply by plugging in a USB 2.0 flash drive
* First OS to support delayed clipboard rendering
* First OS to have a 3D Sound api for games
* Shadow Copy
* Media Center Extenders (which iTV looks to be a copy of)

Manage your passwords

Another program from my ‘Must Have’ folder. KeePass stores all my privata logins in a safe, secure encrypted file. It’s open-source, so it’s free as well. The features I love the most are the quick search text box as well as the macro play-back. For example I simply need to navigate to my VSS entry on KeePass and press Ctrl+V to have it run a macro that starts VSS Admin and logs me into the server. This is how the macro looks:

Auto-Type:@r{DELAY 500}{APPACTIVATE Run}{URL}{ENTER}{DELAY 1000}{APPACTIVATE Log On To Visual SourceSafe Database}{PASSWORD}{ENTER}

KeePass

KeePass is very secure, even when the data is loaded into memory it is kept encrypted. Read all about it and get it from here.

Office 2007 UI Licensing

Microsoft this week announced the licensing of the Office 2007 User Interface (i.e. the Ribbon bar) to the partner community. The licensing is royalty free, anyone who wants to develop an application with the new UI needs to sign up on the web.

I didn’t really believe that Microsoft would let every Tom, Dick and Harry copy their new patented UI. Reading into the article you find the catch though ‘The license is available for applications on any platform, except for applications that compete directly with the five Office applications’. There you have it. The master stroke. The Open Office guys who have been aping Microsoft Office for so long are stuck in an island now. Unless they can out-innovate on the user interface these guys are pretty much stuck in the 1990’s UI world.

XML Notepad 2007

Have I been living under a rock? This is one heck of a tool. No more XML Spy for me.

XML Notepad 2007

  • Incremental search (CTRL+I) in both tree and text views, so that as you type it navigates to the most matched node.
  • Cut/copy/paste with full namespace support in a simple interoperable XML format.
  • Drag/drop support for easy manipulation of the tree, even across different instances of XML Notepad and from the file system.
  • Infinite undo/redo for all edit operations.
  • In-place, pop-up, multi-line editing of large text node values and IntelliSense based on expected elements and attributes.
  • Configurable fonts and colors via the options dialog.
  • Full find/replace dialog with support for regex and XPath expressions.
  • Good performance on large XML documents (loading a 3 MB document in about one second).
  • Instant XML schema validation while you edit with errors and warnings shown in the task list window.
  • Support for custom editors for date, dateTime, time, and color datatypes.
  • HTML viewer for displaying XSLT transformation results.
  • Built-in XML Diff tool.

[Article] [Download]