Commence Web Companion Control

上传人:206****923 文档编号:40473266 上传时间:2018-05-26 格式:DOC 页数:7 大小:37.50KB
返回 下载 相关 举报
Commence Web Companion Control_第1页
第1页 / 共7页
Commence Web Companion Control_第2页
第2页 / 共7页
Commence Web Companion Control_第3页
第3页 / 共7页
Commence Web Companion Control_第4页
第4页 / 共7页
Commence Web Companion Control_第5页
第5页 / 共7页
点击查看更多>>
资源描述

《Commence Web Companion Control》由会员分享,可在线阅读,更多相关《Commence Web Companion Control(7页珍藏版)》请在金锄头文库上搜索。

1、Commence Web Companion Technical DocumentationCommence Web Companion ControlThe Commence Web Companion Control allows users to access web-based information related to data in Commence. The control provides a collection of methods that each generate a URL from a set of data strings. The Commence Web

2、Companion is a COM Server created via the Active Template Library (ATL), and requires the MFC DLLs (currently using version 6). It contains the GetURL object, which provides a set of methods that each generate a URL from data strings passed into the method. This generated URL can then be used to go

3、directly to a web service containing information related to the data strings passed to method.GetURL ObjectThe GetURL object provides a set of methods that generate URLs from data passed into each method. Strings (specifically BSTRs) are used to pass all data to and from the methods.Each method prov

4、ided by the GetURL object is documented below:DirectoryCompany (Category, City, State, *rsltURL)Description:Generates a URL that will search for companies with the selected category, city, and state. Affiliate Program:Yellow Pages - InfoSpaceInput Parameters:CategoryString containing the target busi

5、ness category. CityString containing the target city. StateString containing the target state (2 letter abbreviation format).Output Parameter:rsltURLString that will be filled with the target URL.DirectoryPerson (First, Last, City, State, *rsltURL)Description:Generates a URL that will search for peo

6、ple with the selected name and location. Affiliate Program:WhiteYellow Pages - InfoSpaceInput Parameters:FirstString containing the target first name. LastString containing the target last name. CityString containing the target city. StateString containing the target state (2 letter abbreviation for

7、mat).Output Parameter:rsltURLString that will be filled with the target URL.FindCompany (Company, *rsltURL) OBSOLETEDescription:Generates a URL that will search for a web site for the specified company. Affiliate Program:Yellow Pages - InfoSpaceInput Parameters:CompanyString containing the target co

8、mpany name.Output Parameter:rsltURLString that will be filled with the target URL.FindCompany (Company, City, State *rsltURL)Description:Generates a URL that will search for a web site for the specified company in the city and state. Affiliate Program:Yellow Pages - InfoSpaceInput Parameters:Company

9、String containing the target company name. CityString containing the name of the city. StateString containing the name of the StateOutput Parameter:rsltURLString that will be filled with the target URL.GetDirections (StartStreet, StartCity, StartState, StartZip, StartCountry, DestStreet, DestCity, D

10、estState, DestZip, DestCountry, *rsltURL)Description:Generates a URL that provides driving directions between the start and destination locations. Affiliate Program:Driving Directions - MapQuestInput Parameters:StartStreetString containing the street address of the starting location. StartCityString

11、 containing the city of the starting location. StartStateString containing the state of the starting location. StartZipString containing the five digit zip code of the starting location. StartCountryString containing the country of the starting location (currently only US is supported). DestStreetSt

12、ring containing the street address of the destination location. DestCityString containing the city of the destination location. DestStateString containing the state of the destination location. DestZipString containing the five digit zip code of the destination location. DestCountryString containing

13、 the country of the destination location (currently only US is supported).Output Parameter:rsltURLString that will be filled with the target URL.GetMap (Street, City, State, Zip, Country, *rsltURL)Description:Generates a URL that provides a map of the target location. Affiliate Program:Maps - MapQue

14、stInput Parameters:StreetString containing the street address of the target location. CityString containing the city of the target location. StateString containing the state of the target location. ZipString containing the five digit zip code of the target location. CountryString containing the coun

15、try of the target location (currently only US is supported).Output Parameter:rsltURLString that will be filled with the target URL.GetNewsBusiness (*rsltURL)Description:Generates a URL that displays business news. Affiliate Program:Business News - LycosInput Parameters:(none)Output Parameter:rsltURL

16、String that will be filled with the target URL.GetNewsGeneral (*rsltURL)Description:Generates a URL that displays general news. Affiliate Program:General News - LycosInput Parameters:(none)Output Parameter:rsltURLString that will be filled with the target URL.GetNewsSports (*rsltURL)Description:Generates a URL that displays sports news. Affiliate Program:Sports News - LycosInput Parameters:(none)Output Parameter:rsltURLString that will be filled with the

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 行业资料 > 其它行业文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号