FIX: ReComputeRepository GPFs if Passed Non-existent DB Name (169306)



The information in this article applies to:

  • Microsoft Visual Basic Learning Edition for Windows 5.0
  • Microsoft Visual Basic Professional Edition for Windows 5.0
  • Microsoft Visual Basic Enterprise Edition for Windows 5.0

This article was previously published under Q169306

SYMPTOMS

ReComputeRepository GPF's if passed a non-existent DB Name.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This has been fixed with Visual Studio Service Pack 1.

For additional information about the Visual Studio 97 Service Pack 1, please see the following article in the Microsoft Knowledge Base:

170365 INFO: Visual Studio 97 Service Packs - What, Where, and Why

MORE INFORMATION

Steps to Reproduce

Pass the ReComputeRepository a database name that doesn't exist. For example:

lRtn = ReComputeRepository("c:\temp\invalid.mdb", "", "")

Expected:

No GPF.

Results:

First Dialog: "Failed to open database".
Second Dialog: "Failure:hr=0x80041013"
Third Dialog: "Error: The database "xxx.mdb" was not found."
Fourth Dialog: "The instruction at "0x019201a0" referenced memory at "0za0019201". The memory could not be "read".


Modification Type:MajorLast Reviewed:11/18/2003
Keywords:kbbug kbfix kbvbp500sp1fix kbvbp500sp2fix kbVS97sp1fix kbVS97sp2fix KB169306