Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Fri, 20 Jan 2006 01:20:48 +0300,    group: microsoft.public.windows.developer.winfx.winfs        back       


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
date: Fri, 20 Jan 2006 01:20:48 +0300   author:   Daniel A. Kornev [MSP]

Re: Implementing custom Windows Shell Namespace Extension   
Hmmm.... Sorry that was my mistake... I lost ")". Work is'n progress...
"Daniel A. Kornev [MSP]"  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
>
>
date: Fri, 20 Jan 2006 13:59:31 +0300   author:   Daniel A. Kornev [MSP]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us