Finding and Running Level A

See Also

Both Levels A and C of the Island Hopper News sample application are included on the MSDN library CD. You can run Setup for either version at any time.

The installation process for Level A installs all the source code onto your local drive, as well as working versions of both the Windows and Web clients. The source code is located in Program Files\IslandHopper\ScenarioA, if you accept the installation defaults. Each business and data access component has its own folder, as shown in the following table.

Folder Contents
bus_AdA Source code for the bus_AdA component, which handles the browsing and placing of ads within the application.
ClassifiedsEXE Source code for the Windows client application, as well as a master project that points to the individual projects for the business and data access components.
CompatibleDLLs Compiled versions of the components used in the application. These components are gathered together into one directory for purposes of binary version compatibility; they provide the reference point.
db_AdA Source code for the db_AdA component, which handles updates and queries to the Advertisements table in the database.
db_CategoryA Source code for the db_CategoryA component, which handles updates and queries to the Categories table in the database.
DLLs Compiled versions of the components used in the application. These are the actual run-time DLLs.

Note that all of the Visual Basic projects for the components in Level A have the Binary Compatibility option set in the project properties. The Binary Compatibility option ensures that when you recompile a component, its CLSID stays constant — fixed to be that of the DLL in the CompatibleDLLs folder. The DLLs in the CompatibleDLLs folder are simply slightly older versions of the DLLs generated when you build any of the components in Level A.

errPlusA Source code for the error-handling portions of the application.
Globals Global code for the application.
Packages MTS-enabled versions of the components in the application.
util_TakeANumber Source code for the TakeANumber utility, which assigns unique IDs when necessary.
WebA Source code for the Web client application.

To start the Windows client

  1. Click Start.

  2. Point to Programs.

  3. Point to Island Hopper.

  4. Click Island Hopper A.

For More Information   See Level A Walk-Through — Windows in this chapter for a description of both user flow and processing flow of the Windows version of the sample.

To start the Web client

  1. Start Microsoft® Internet Explorer 4.0 or higher.

  2. Point the browser at the islandhoppera directory in your local Web root. For example, http://MyMachine/islandhoppera.

For More Information   See Level A Walk-Through — Web in this chapter for a description of both user flow and processing flow of the Web version of the sample.