Article ID: 124709
Article Last Modified on 2/24/2005
119591 How to Obtain Microsoft Support Files from Online Services
NOTE: This version of the Vbdb300.dll does require the VB/Access
compatibility layer (Comlyr.exe) and the updated Jet engine in the
Access Service Pack (Accsvc.exe in the GO MSACCESS forum).
DISCLAIMER: The version of Vbdb300.dll (hereinafter the "Product") is
being released as a patch (the "Patch") in order to fix a specific
problem a few customers are experiencing with Microsoft Visual Basic
3.0. This Patch has been tested comprehensively to ensure that no errors
or additional problems are introduced into the Product during normal
usage. However, in order to release this Patch as quickly as possible,
it has not have been subjected to the same series of rigorous functional
and regression tests that are used for regular production products.
Consequently, this Patch should be installed only if you are
experiencing the specific problem mentioned above, and not applied
indiscriminately. Use of this Patch is governed by all of the provisions
of the Microsoft End User Software License Agreement included with the
Product, as if it were the Product.
In addition, the Patch is provided to you at no additional charge.
Microsoft Corporation owns all right, title and interest in and to the
Patch.
Copyright 1995 Microsoft Corporation, All Rights Reserved.
'Enter the following lines as one line
Declare Function GetFreeSpace Lib "kernel" (ByVal flag As Integer) _
As Long
Sub Form_Activate ()
Dim lngStartMem As Long
Dim lngUsedMem As Long
Dim lngRec As Long
Dim strMsg as String
Dim dbBiblio As Database
Dim dsAuthors As Dynaset
Label1.Caption = "Initializing..."
Label1.Refresh
Set dbBiblio = OpenDatabase("biblio.mdb")
Set dsAuthors = dbBiblio.CreateDynaset("Authors")
lngStartMem = GetFreeSpace(0)
BeginTrans
For lngRec = 1 To 100000
dsAuthors.AddNew
dsAuthors("Au_ID") = lngRec + 100
dsAuthors("Author") = "Doe, John"
dsAuthors.Update
If lngRec Mod 500 = 0 Then
CommitTrans
lngUsedMem = lngStartMem - GetFreeSpace(0)
strMsg = "Records: " & CStr(lngRec) & Chr$(13) & Chr$(10)
strMsg = strMsg & "Used: " & CStr(lngUsedMem)
Label1.Caption = strMsg
Label1.Refresh
BeginTrans
End If
Next
CommitTrans
dsAuthors.Close
dbBiblio.Close
End Sub
Additional query words: 3.00 leak low adding comlyr accsvc
Keywords: kbdownload kbpatch KB124709