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

ID: Q219590


The information in this article applies to:
  • Microsoft FrontPage 2000


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:


  2. 
    ActivePageWindow.ViewMode = fpPageViewPreview
    ActivePageWindow.ViewMode = fpPageViewNormal 
  3. On the Run menu, click Run Sub/User Form.



MORE INFORMATION

For more information about Microsoft Visual Basic Scripting, please see the following Microsoft World Wide Web site:

http://www.microsoft.com/vbscript


Additional query words: fp2k

Keywords : kbdta
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: November 17, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.