Microsoft KB Archive/219576

= FP2000: Not All Metatags Are Displayed When You Use WebFile.MetaTags Command =

Article ID: 219576

Article Last Modified on 10/11/2006

-

APPLIES TO


 * Microsoft FrontPage 2000 Standard Edition

-



This article was previously published under Q219576



SYMPTOMS
When you use the Visual Basic for Applications (VBA) WebFile.MetaTags command to display the meta information of a Web page, some metatags are not counted or displayed.



CAUSE
Some of the metatags that are created by FrontPage are used internally by the application. WebFile.MetaTags does not account for the metatags that FrontPage uses internally.

For example, if your page contains the following metatags     only the "GENERATOR" and "ProgId" metatags are displayed when you use a VBA macro that uses WebFile.MetaTags. This can be demonstrated by the following VBA macro: Sub meta Dim afile as WebFile Set afile=Webs(0).RootFolder.Files(0) For Each m in afile.MetaTags msgbox m      Next m    End Sub



RESOLUTION
You can access these internal metatags through the Document Object Model (DOM). The "Microsoft Themes" and "Microsoft Border" metatags described in the "Cause" section of this article can be accessed by using File.Theme and File.SharedBorder, respectively.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Additional query words: front page vba vbe vb meta tags tag

Keywords: kbbug kbpending kbprogramming KB219576

-

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

© Microsoft Corporation. All rights reserved.