Skip to content

Commit a4289df

Browse files
committed
TypeLibCheck: Prevent errors due to reference problem with fixed library specification
1 parent e46b4b8 commit a4289df

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

access-add-in/AccUnitLoader.accda

64 KB
Binary file not shown.

access-add-in/AccUnitLoader.accda.src/modules/_config_Application.bas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
'<codelib>
77
' <license>_codelib/license.bas</license>
88
' <use>%AppFolder%/source/defGlobal_AccUnitLoader.bas</use>
9-
' <use>base/modApplication.bas</use>
9+
' <use>base/modApplication.bas</use
1010
' <use>base/ApplicationHandler.cls</use>
1111
' <use>base/ApplicationHandler_AppFile.cls</use>
1212
' <use>base/modErrorHandler.bas</use>
@@ -18,7 +18,7 @@ Option Compare Database
1818
Option Explicit
1919

2020
'Version nummer
21-
Private Const APPLICATION_VERSION As String = "0.9.20.240306"
21+
Private Const APPLICATION_VERSION As String = "0.9.21.240308"
2222

2323
Private Const APPLICATION_NAME As String = "ACLib AccUnit Loader"
2424
Private Const APPLICATION_FULLNAME As String = "Access Code Library - AccUnit Loader"

access-add-in/AccUnitLoader.accda.src/modules/modTypeLibCheck.bas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Private Const EXTENSION_KEY_APPFILE As String = "AppFile"
2929
Public Property Get DefaultAccUnitLibFolder() As String
3030
Dim FilePath As String
3131
FilePath = CodeVBProject.FileName
32-
FilePath = Left(FilePath, InStrRev(FilePath, "\"))
32+
FilePath = VBA.Left(FilePath, VBA.InStrRev(FilePath, "\"))
3333
DefaultAccUnitLibFolder = FilePath & "lib"
3434
End Property
3535

@@ -66,12 +66,12 @@ On Error GoTo ErrMissingPath
6666
On Error GoTo 0
6767
End With
6868

69-
If Len(LibPath) = 0 Then
69+
If VBA.Len(LibPath) = 0 Then
7070
LibPath = DefaultAccUnitLibFolder
7171
End If
7272

7373
If BackSlashAtEnd Then
74-
If Right(LibPath, 1) <> "\" Then
74+
If VBA.Right(LibPath, 1) <> "\" Then
7575
LibPath = LibPath & "\"
7676
End If
7777
End If

excel-add-in/AccUnitLoader.xlam

-968 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

excel-add-in/source/config_Application.bas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Option Explicit
1919
Option Private Module
2020

2121
'Version nummer
22-
Private Const APPLICATION_VERSION As String = "0.9.3.240307"
22+
Private Const APPLICATION_VERSION As String = "0.9.4.240308"
2323

2424
Private Const APPLICATION_NAME As String = "ACLib AccUnit Loader"
2525
Private Const APPLICATION_FULLNAME As String = "Access Code Library - AccUnit Loader"

excel-add-in/source/modTypeLibCheck.bas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Private Const EXTENSION_KEY_APPFILE As String = "AppFile"
2929
Public Property Get DefaultAccUnitLibFolder() As String
3030
Dim FilePath As String
3131
FilePath = CodeVBProject.FileName
32-
FilePath = Left(FilePath, InStrRev(FilePath, "\"))
32+
FilePath = VBA.Left(FilePath, VBA.InStrRev(FilePath, "\"))
3333
DefaultAccUnitLibFolder = FilePath & "lib"
3434
End Property
3535

@@ -66,12 +66,12 @@ On Error GoTo ErrMissingPath
6666
On Error GoTo 0
6767
End With
6868

69-
If Len(LibPath) = 0 Then
69+
If VBA.Len(LibPath) = 0 Then
7070
LibPath = DefaultAccUnitLibFolder
7171
End If
7272

7373
If BackSlashAtEnd Then
74-
If Right(LibPath, 1) <> "\" Then
74+
If VBA.Right(LibPath, 1) <> "\" Then
7575
LibPath = LibPath & "\"
7676
End If
7777
End If

0 commit comments

Comments
 (0)