Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > WinFS

Implementing custom Windows Shell Namespace Extension

 
 
Thread Tools Display Modes
Old 03-04-2006   #1 (permalink)
Daniel A. Kornev [MSP]
Guest
 
Posts: n/a

Implementing custom Windows Shell Namespace Extension

Hello,

I'm writing custom Windows Shell Namespace Extension that will give me all
items typeof Contact through Windows Explorer Namespace Extension in My
Computer. All is on its way but as Project method increases perfomance so
I'm now using it to retrieve contacts names from my Personal Contacts folder
in WinFS.

The problems are a lot of and among them I can't make this simple code to
work:

contacts = new StorageSearcher<StorageRecord>

(

@"Extent(@0).Project(DisplayName As DN, ItemId As ContactId",

new object[] { typeof(Contact) },

usersFolder.Context

);

While this piece of code works well but I still have to use first one.

contacts = usersFolder.Items.FilterByType<Contact>().Project("DisplayName As
DN, ItemId As ContactId, ContactCards As CCs");

Why I want to get working first piece of code? Just because I want to
retrieve Contacts emails, and phones, and so on.

Please help me! Why the first simple piece of code doesn't work within
Windows Explorer?

Thanks,

Daniel A. Kornev,

Microsoft Student Partner.

========

Russian WinFS Community - http://neocyte.int.ru/NeocyteCorp/Research/WinFS

MIEM .NET Developers Group - http://miem.gotdotnet.ru/

My blog @ theSpoke - http://thespoke.net/blogs/DanielKornev



P.S. I use Dominic Cooney's WindowsShell.dll to implement my custom Windows
Shell Namespace Extension. See

http://www.dcooney.com/wiki/?NamespaceExtension


 
Old 03-04-2006   #2 (permalink)
Daniel A. Kornev [MSP]
Guest
 
Posts: n/a

Re: Implementing custom Windows Shell Namespace Extension

Hmmm.... Sorry that was my mistake... I lost ")". Work is'n progress...
"Daniel A. Kornev [MSP]" <DanielKornev@msn.com> wrote in message
news:%23cjjdaUHGHA.1088@tk2msftngp13.phx.gbl...
> Hello,
>
> I'm writing custom Windows Shell Namespace Extension that will give me all
> items typeof Contact through Windows Explorer Namespace Extension in My
> Computer. All is on its way but as Project method increases perfomance so
> I'm now using it to retrieve contacts names from my Personal Contacts
> folder in WinFS.
>
> The problems are a lot of and among them I can't make this simple code to
> work:
>
> contacts = new StorageSearcher<StorageRecord>
>
> (
>
> @"Extent(@0).Project(DisplayName As DN, ItemId As ContactId",
>
> new object[] { typeof(Contact) },
>
> usersFolder.Context
>
> );
>
> While this piece of code works well but I still have to use first one.
>
> contacts = usersFolder.Items.FilterByType<Contact>().Project("DisplayName
> As DN, ItemId As ContactId, ContactCards As CCs");
>
> Why I want to get working first piece of code? Just because I want to
> retrieve Contacts emails, and phones, and so on.
>
> Please help me! Why the first simple piece of code doesn't work within
> Windows Explorer?
>
> Thanks,
>
> Daniel A. Kornev,
>
> Microsoft Student Partner.
>
> ========
>
> Russian WinFS Community - http://neocyte.int.ru/NeocyteCorp/Research/WinFS
>
> MIEM .NET Developers Group - http://miem.gotdotnet.ru/
>
> My blog @ theSpoke - http://thespoke.net/blogs/DanielKornev
>
>
>
> P.S. I use Dominic Cooney's WindowsShell.dll to implement my custom
> Windows Shell Namespace Extension. See
>
> http://www.dcooney.com/wiki/?NamespaceExtension
>
>



 
 
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
URI to namespace extension Brad O'Hearne PowerShell 0 04-09-2007 10:07 AM
shell extension: How to use IThumbnailProvider in Windows vista! jinxin Vista General 0 10-22-2006 11:31 PM
shell extension: How to use IThumbnailProvider in Windows vista! jinxin Vista file management 0 10-22-2006 11:30 PM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49