Microsoft KB Archive/169306: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
 
Line 73: Line 73:
<div class="indent">
<div class="indent">


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




Line 86: Line 86:
<div class="indent">
<div class="indent">


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





Latest revision as of 10:04, 21 July 2020

Knowledge Base


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


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


Keywords: kbbug kbfix kbvbp500sp2fix kbvs97sp1fix kbvs97sp2fix kbvbp500sp1fix KB169306