FP2000: Frames Properties, Menu Commands Unavailable When You Use Visual Basic for Applications to Insert Frames Page (219590)



The information in this article applies to:

  • Microsoft FrontPage 2000

This article was previously published under Q219590

SYMPTOMS

When you use Visual Basic for Applications code to insert a frames page into your web, FrontPage does not recognize the frames page, and the Frames menu commands and Frames properties are unavailable.

CAUSE

When you use Visual Basic for Applications to insert frames pages, FrontPage does not properly recognize that the newly created page is a frameset page.

RESOLUTION

To resolve this issue, use one of the following methods.

Method 1: Use the User Interface to Preview the Frames Page Properly

  1. Click the Preview tab at the bottom of the FrontPage window.
  2. Click the Normal tab.

Method 2: Automate the Preview Procedure by Using the Following Code

  1. Copy and then paste the following code at the end of your routine to create the frames page:
    ActivePageWindow.ViewMode = fpPageViewPreview
    ActivePageWindow.ViewMode = fpPageViewNormal
    					
  2. On the Run menu, click Run Sub/User Form.

MORE INFORMATION


For more information about Microsoft Visual Basic Scripting, visit the following Microsoft Web site:


Modification Type:MinorLast Reviewed:10/11/2006
Keywords:kbprb kbprogramming KB219590