MOD2000: WinAPI Viewer Cannot Use Jet Database Files

ID: Q236470


The information in this article applies to:
  • Microsoft Office 2000 Developer

Moderate: Requires basic macro, coding, and interoperability skills.


SYMPTOMS

The Help file for the WinAPI Viewer states the following:

By default, the WinAPI Viewer uses the Win32api.txt text file to store API information. You can convert this to a Jet Database for better performance. It is much faster to display the list when opening a database than when opening a .txt file. You can convert the .txt files to Jet Database files simply by loading the .txt file and choosing "Convert..." from the File menu.
This information is incorrect. Further, if you try to load a database file, you may receive the following error message:
An unexpected error has occurred: 0
This error is displayed for database files that have been converted from an earlier version to Access 2000.


CAUSE

The WinAPI Viewer does not support Microsoft Jet databases as it did in earlier versions.


MORE INFORMATION

The references to the use of Jet databases in the following Help topics are also incorrect:

  • "Converting Text Files to Access Database Files"


  • "Working with Windows APIs"


  • "Using the WinAPI Viewer"


Steps to Reproduce Behavior

  1. From any Office 2000 program, press ALT+F11 to switch to the Visual Basic Editor.


  2. On the Add-Ins menu, click Add-In Manager.


  3. In the list of Available Add-Ins, click VBA WinAPI Viewer.


  4. Click to select the Load/Unloaded check box. The Available Add-Ins should show that the VBA WinAPI Viewer is loaded.


  5. Click OK.


  6. On the Add-Ins menu, click WinAPI Viewer.


  7. On the File menu, click Load Text File.


  8. Locate and select the Win32api.txt file. The default location of this file is C:\Program Files\Microsoft Office\ODETools\V9.


  9. Click the File menu and note that the Convert Text to Database command is not available.


Additional query words: pra

Keywords : kbdocerr kbdta WzAdmgr OdeHlp ModWinAPIViewer
Version : :
Platform : WINDOWS
Issue type : kbbug


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