November 2006 Entries

Windows Desktop Search (WDS) Properties

If you've been trying to work with Windows Desktop Search 3.0 on XP or Vista and have been frustrated about which properties actually work, I've compiled two list.  Starting with the complete list of Shell API properties from MSDN, I ran them through a quick query app to see which error'd out.  The list of good properties is here: http://www.ariankulp.com/downloads/WindowsShellOLEProperties.txt For the list of shell API properties missing from the OLE DB interface, look here:  http://www.ariankulp.com/downloads/WindowsShellOLE-MissingProperties.txt There are a good number of working ones.  I have no idea why the others don't work.  I have also learned that for the search index, you don't...

Windows Desktop Search on Vista RC2

It's been too long since I blogged about Windows Desktop Search (WDS) 3.0 in Windows Vista.  This post is current with RC2 (build 5744).  Since I last posted, WDS 3.0 is now also available for XP and 2003.  This is awesome since you can develop great search-enabled applications to run on any modern desktop or server. There is a COM interface for search.  More information is in the Windows SDK Help file (User Interface | Windows Shell | Windows Desktop Search (WDS) 3.0).  You don't need to use the search API though.  The good news, in my opinion, is that you can just...

WCF PeerChannel on Windows Vista

I've been working with WCF (Windows Communication Foundation) and the new P2P-based PeerChannel lately.  I've learned a few things... Listening on a port in Vista requires Administrator permissions.  For the PeerChannel this isn't necessary, but for net.tcp or http bindings you will need to have the elevated permissions.  Remember that in Vista it isn't enough to sign in with the Administrator account (unless you disable UAC).  You can explicitly Run as administrator by right-clicking on the EXE.  You can also modify the manifest to state higher requested privileges: <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"><security><requestedPrivileges><requestedExecutionLevellevel="asInvoker|highestAvailable|requireAdministrator"uiAccess="true|false"/></requestedPrivileges></security></trustInfo> This will automatically request elevation when the application is...