Microsoft KB Archive/219916

= FP2000: Themes "Selected Pages" Option Not Available to Active Server Pages =

Article ID: 219916

Article Last Modified on 6/18/2005

-

APPLIES TO


 * Microsoft FrontPage 2000 Standard Edition

-



This article was previously published under Q219916



SYMPTOMS
The Selected Pages option is unavailable in the Themes dialog box, when you apply a Theme to an Active Server Page.



RESOLUTION
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.

Method 1: Create a Macro to Apply the Theme to the Active Server Page
The following code example allows you to apply the theme to the Active Server Page: Sub applyatheme

'x = MsgBox("Do you want to apply a Theme to this page") 'FileSize = oMyFile.Files("test.asp").Properties

myThemeName = "downtown" Set myFile = ActiveWeb.RootFolder.Files("test.asp")

'myThemeName = ""

Call myFile.ApplyTheme(myThemeName, fpThemePropertiesAll)

End Sub Sub remove_theme

myThemeName = "" Set myFile = ActiveWeb.RootFolder.Files("test.asp") Call myFile.ApplyTheme(myThemeName, fpThemePropertiesAll)

End Sub

Method 2: Using the "Selected Pages" Option to Isolate a Theme Applied to an Active Server Page

 * 1) In the Folder list of Page view, select the Active Server Page to which you want to apply a specific theme.
 * 2) On the Format menu, click Theme.
 * 3) In the Themes dialog box, select the Theme you want.
 * 4) Click OK.
 * 5) In Folder view, press CTRL + click to select the pages to which you want to apply a different Theme.
 * 6) On the Format menu, click Theme.
 * 7) In the Themes dialog box, click to select the "Selected pages" option.
 * 8) Click to select the theme you want.
 * 9) Click OK.



MORE INFORMATION
For more information about Active Server Pages, click Microsoft FrontPage Help on the Help menu, type ASP in the Answer Wizard, and then click Search to view the topic.

For more information about Themes, click Microsoft FrontPage Help on the Help menu, type Themes in the Answer Wizard, and then click Search to view the topic.

Additional query words: FP2K front page

Keywords: kbnofix kbprb KB219916

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.