Auction Component

Location in SDK: SDK\Samples\Auction\Component

This directory contains the source code for the sample Auction component.

To build the Auction component

  1. Click Start, point to Programs, point to Microsoft Commerce Server 2002, and then click Software Development Kit.

  2. In Windows Explorer, navigate to <drive>:\Program Files\Microsoft Commerce Server 2002\SDK\Samples\Auction\Component, and double-click the auction.vbp icon.

    The Commerce – Microsoft Visual Basic [design] Visual Basic 6.0 window opens.

  3. On the File menu, click Make auction.dll.

  4. In the Make Project dialog box, click OK.

  5. On the File menu, click Save Project.

  6. On the File menu, click Exit.

To register the Auction pipeline component

  1. Click Start, point to Programs, point to Microsoft Commerce Server 2002, and then click Software Development Kit.

  2. In Windows Explorer, navigate to <drive>:\Program Files\Microsoft Commerce Server 2002\SDK\Tools\Registration Tool, and double-click the PipeReg.exe icon.

    The Pipeline Component Registration Wizard opens.

  3. On the Pipeline Component Registration Wizard [Step 1 of 3] page, do the following:

    Use this To do this
    Select component by ProgID Select this option to register the pipeline component using the auction.dll file.
    Path Click the Browse button and select the auction.dll file. The auction.dll file is located in <drive>:\Program Files\Microsoft Commerce Server 2002\SDK\Samples\Auction\Component.
  4. Click Next.

  5. On the Pipeline Component Registration Wizard [Step 2 of 3] page, do the following:

    Use this To do this
    Available Categories Select the stages in which the Auction component will be used.
    Right Arrow Click the right arrow to move stages from Available Categories to Selected Categories.
    Selected Categories Lists the stages in which the pipeline component will appear.
  6. On the Pipeline Component Wizard [Registration] page, do one of the following:

    Use this To do this
    Register components only Click to update the Implemented Categories of the component for the corresponding registry hive. This option is best for the workstation of a site developer, where components and stages may change on a regular basis.
    Export registration data Click to export the registry information to a registry script. In the Export path box, select the path to which you want the registry script exported.
    Register and export data Click to register and export the registration data to a registry script. In the Export path box, select the path to which you want the registry script exported.
  7. Click Next.

  8. On the Pipeline Component Registration Wizard [Finished] page, review the information to make sure the correct components were loaded and exported to the correct path.

  9. To close the Pipeline Component Registration Wizard, click Close.

For more information about the Auction object, see Auction Object.

Copyright © 2005 Microsoft Corporation.
All rights reserved.