Microsoft KB Archive/159324

= ACC97: Web Pages Created with HTML Wizard Templates Look Alike =

Article ID: 159324

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Access 97 Standard Edition

-



This article was previously published under Q159324



Moderate: Requires basic macro, coding, and interoperability skills.



SYMPTOMS
When you use the HTML templates included with the Publish to the Web Wizard in Microsoft Access 97, all the web pages look the same, no matter which template you use, and each page contains a reference to a missing graphic.



CAUSE
The Publish to the Web Wizard does not copy the graphic image files associated with each template to the destination folder when it creates the HTML pages. Each template contains a reference to two graphics files: Msaccess.jpg and a background graphic that is different for each template.



RESOLUTION
Copy the appropriate graphic files to the destination folder where you store your Web pages, or modify the HTML template document to include a relative path to the graphic files.



MORE INFORMATION
Each HTML template contains a reference to Msaccess.jpg and one other graphic file. The following table lists the specific graphic file that each template uses for its background image. The default installation folder for each of these files is C:\Program Files\Microsoft Office\Templates\Access.

                       Required Graphic File HTML Template File  in Addition to Msaccess.jpg --  ---      100.htm              100.jpg Gray.htm            Gray.jpg Grayst.htm          Grayst.jpg Mc.htm              Mc.jpg Mcst.htm            Mcst.jpg Sky.htm             Sky.jpg Stones.htm          Stones.jpg Tiles.htm           Tiles.jpg Zigzag.htm          Zigzag.jpg

Steps to Reproduce Behavior

 * 1) Open the sample database Northwind.mdb.
 * 2) On the File menu, click Save As HTML to start the Publish to the Web Wizard.
 * 3) In the first dialog of the Wizard, click Next.
 * 4) In the "What do you want to publish?" dialog box, click the Categories Table, and then click Next.
 * 5) In the "What HTML document do you want to use as a default template?" dialog box, click the Browse button and select 100.htm. Click Next.
 * 6) In the "What default format type do you want to create?" dialog box, click Static HTML, and then click Next.
 * 7) In the "Where do you want to publish to?" dialog box, type C:\My Documents in the "I want to put my Web publication in this folder" box, and then click Finish.
 * 8) Open C:\My Documents\Categories_1.html with your Web browser. Note that you see the information from the Categories table, but you see an icon with a red X at the bottom of the page and the background is plain.
 * 9) Minimize your browser and copy the files Msaccess.jpg and 100.jpg from the C:\Program Files\Microsoft Office\Templates\Access folder to the C:\My Documents folder.
 * 10) Restore your browser and refresh the page. Note that the Created with Microsoft Access logo appears on the page, and the background displays the repeating number 100.

