Microsoft KB Archive/219590

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

Article ID: 219590

Article Last Modified on 8/8/2007

-

APPLIES TO


 * Microsoft FrontPage 2000 Standard Edition

-



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
  Copy and then paste the following code at the end of your routine to create the frames page: ActivePageWindow.ViewMode = fpPageViewPreview ActivePageWindow.ViewMode = fpPageViewNormal  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:

http://msdn2.microsoft.com/en-us/library/ms950396.aspx

Additional query words: fp2k

Keywords: kbprb kbprogramming KB219590

-

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

© Microsoft Corporation. All rights reserved.