File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Option Compare Text
1818Option Explicit
1919
2020'Version number
21- Private Const APPLICATION_VERSION As String = "0.9.400.240320 "
21+ Private Const APPLICATION_VERSION As String = "0.9.401.240323 "
2222
2323Private Const APPLICATION_NAME As String = "ACLib AccUnit Loader"
2424Private Const APPLICATION_FULLNAME As String = "Access Code Library - AccUnit Loader"
Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ Public Sub CheckAccUnitTypeLibFile(Optional ByVal VBProjectRef As VBProject = No
2828 Dim ExportFile As Boolean
2929 Dim FileFixed As Boolean
3030
31+ If VBProjectRef Is Nothing Then
32+ Set VBProjectRef = CodeVBProject
33+ End If
34+
3135 LibPath = GetAccUnitLibPath(True )
3236 LibFile = LibPath & ACCUNIT_TYPELIB_FILE
3337 FileTools.CreateDirectory LibPath
@@ -46,10 +50,6 @@ Public Sub CheckAccUnitTypeLibFile(Optional ByVal VBProjectRef As VBProject = No
4650 End If
4751
4852On Error Resume Next
49- If VBProjectRef Is Nothing Then
50- Set VBProjectRef = CodeVBProject
51- End If
52-
5353 CheckMissingReference VBProjectRef, ReferenceFixed
5454
5555 ReferenceFixed = ReferenceFixed Or FileFixed
You can’t perform that action at this time.
0 commit comments