Microsoft KB Archive/169306

= FIX: ReComputeRepository GPFs if Passed Non-existent DB Name =

Article ID: 169306

Article Last Modified on 11/18/2003

-

APPLIES TO


 * Microsoft Visual Basic 5.0 Learning Edition
 * Microsoft Visual Basic 5.0 Professional Edition
 * Microsoft Visual Basic 5.0 Enterprise Edition

-



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



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".

Keywords: kbbug kbfix kbvbp500sp2fix kbvs97sp1fix kbvs97sp2fix kbvbp500sp1fix KB169306

-

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

© Microsoft Corporation. All rights reserved.