Microsoft KB Archive/258481

= MOD2000: Word and PowerPoint Files Are Not Scanned for Dependencies =

Article ID: 258481

Article Last Modified on 9/3/2002

-

APPLIES TO


 * Microsoft Office 2000 Developer Edition

-



This article was previously published under Q258481



SYMPTOMS
On the Included Files page of the Package and Deployment Wizard, in addition to the Main Project file, you can add a Microsoft Word document (.doc) or a Microsoft PowerPoint presentation (.ppt) file to the package. If that secondary Word or PowerPoint file contains references to other files (DLLs, ActiveX Controls, Type Libraries, and so on), the wizard prompts you to scan for dependencies. However, no dependencies are detected, and any files that are referenced by the Word or PowerPoint file are not added to the package.

NOTE: These symptoms occur when you add a PowerPoint presentation to a Package that you create from the Visual Basic Editor of any Microsoft Office application, with the exception of Microsoft PowerPoint. When you add a Microsoft PowerPoint presentation to a Package that you create in Microsoft PowerPoint, you see different symptoms.

For additional information P2=, click the article number%2 below to view the article%2 in the Microsoft Knowledge Base:

253366 MOD2000: Errors When You Scan a PowerPoint Presentation for Dependencies



RESOLUTION
To resolve this problem, obtain Microsoft Office 2000 Developer Service Release 1 (SR-1).

To obtain SR-1, click the article number below to view the article in the Microsoft Knowledge Base:

253566 MOD2000: How to Obtain and Install Microsoft Office 2000 Developer Service Release 1 (SR-1)

To temporarily work around this problem, manually add the dependency files on the Included Files page of the Package and Deployment Wizard.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was corrected in Microsoft Office 2000 Developer SR-1.



Steps to Reproduce the Behavior

 * 1) Create a new, blank Word 2000 document.
 * 2) On the Tools menu, point to Macro, and then click Visual Basic Editor.
 * 3) On the Insert menu, click UserForm.
 * 4) In the toolbox, click the MSHFlexGrid control, and then click anywhere within the UserForm1 user form. This adds the Microsoft Hierarchical FlexGrid Control, version 6.0 to the References dialog box.NOTE: If the MSHFlexGrid control does not appear in the toolbox, click Additional Controls on the Tools menu,, scroll down the list until you find the Microsoft Hierarchical FlexGrid Control, version 6.0, click to select the check box, and then click OK.


 * 1) Quit the Visual Basic Editor, close the document, and when you are prompted to save the changes, click Yes. Save the document as Blank1.doc.
 * 2) Create another new, blank Word document.
 * 3) On the File menu, click Save As, and save the document as Blank2.doc.
 * 4) On the Tools menu, point to Macro, and then click Visual Basic Editor.
 * 5) On the Add-ins menu, click Package and Deployment Wizard.NOTE: If the Package and Deployment Wizard is not available on the Add-ins menu, on the Add-ins menu, click Add-in Manager, select VBA Package and Deployment Wizard in the list, click to select the Load on Startup check box, and then click OK.


 * 1) Click Package, click Next, click Next again, and then click Yes.
 * 2) On the Package and Deployment Wizard - Included Files page, click Add, and then add the Blank1.doc file.
 * 3) The Missing Dependency Information dialog appears. Click Blank1.doc in the list, and then click Scan.

Note that the Blank1.doc file has been added to the package, but that the Microsoft Hierarchical FlexGrid Control (Mshflxgd.ocx) has not been added.

Additional query words: pra WD2000 PPT2000

Keywords: kbbug kbfix kbpdwizard KB258481

-

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

© Microsoft Corporation. All rights reserved.