Click here to get back home

API Query question

 HomeNewsGroups | Search | About
 microsoft.public.msn.search    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
API Query question Michael H 08-18-2005
Posted by Michael H on August 18, 2005, 5:26 pm
Please log in for more thread options




When performing a simple query:

SearchDesktopClass.
ExecuteQuery("sample", "filename", "filename", null);

how do I indicate that I want more than one column returned. As is,
this will work returning just the "filename" column, sorted by
"filename" column. I'd like to return more columns but can't find
documentation on how ExecuteQuery expects the parameter to be passed
within the string: "column1,column2" "column1;column2" etc... I'll
play with it but would appreciate any information on documentation
outside the mostly fluff stuff I found on the main WDS API SDK site.


Michael Hughes - Redmond, WA/Silverton, OR
http://www.MrHankyTrivia.net - http://www.MrHankyTrivia.com
http://aa7ml.net - http://aa7ml.com


Posted by Michael H on August 19, 2005, 12:11 pm
Please log in for more thread options


wrote:

-->
-->
--> When performing a simple query:
-->
--> SearchDesktopClass.
--> ExecuteQuery("sample", "filename", "filename", null);
-->
--> how do I indicate that I want more than one column returned. As
is,
--> this will work returning just the "filename" column, sorted by
--> "filename" column. I'd like to return more columns but can't find
--> documentation on how ExecuteQuery expects the parameter to be
passed
--> within the string: "column1,column2" "column1;column2" etc...
I'll
--> play with it but would appreciate any information on
documentation
--> outside the mostly fluff stuff I found on the main WDS API SDK
site.
-->
-->
--> Michael Hughes - Redmond, WA/Silverton, OR
--> http://www.MrHankyTrivia.net - http://www.MrHankyTrivia.com
--> http://aa7ml.net - http://aa7ml.com


I seem to have found the answer.

from: Brandon Paddock's Blog

http://geekswithblogs.net/bpaddock/archive/2005/07/13/46257.aspx


"Param 2: This is the list of columns you want back - formatted as a
comma delimited string."

eg.

ExecuteQuery("depeche mode", "filename, FileExt, Size, FileExtDesc,
DisplayFolder, MusicAlbum, MusicGenre", "MusicAlbum", null);
Michael Hughes - Redmond, WA/Silverton, OR
http://www.MrHankyTrivia.net - http://www.MrHankyTrivia.com
http://aa7ml.net - http://aa7ml.com


Similar ThreadsPosted
Query Result Question August 19, 2005, 10:21 am
WDS Search Query question January 4, 2006, 3:39 pm
question??? August 27, 2005, 7:28 am
Developer Question w/ WDS SDK August 18, 2005, 4:14 pm
PDF and general usage question April 1, 2006, 5:06 pm
Password Question for ID-File April 13, 2006, 10:01 am
msn search and pay per click question. August 21, 2006, 5:43 am
Question about Windows search APIs and pay per click... August 27, 2006, 6:58 am
Search Dev Question: mapi urls returned are not so good... May 2, 2006, 3:01 am
Nothing found in All locations for query ... February 8, 2006, 11:38 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap