Skip to content

Commit b61d279

Browse files
committed
v1.8.0: Localization, import CodeModules from GitHub
1 parent b783ef0 commit b61d279

10 files changed

+20
-380
lines changed
20 KB
Binary file not shown.

access-add-in/Install.vbs

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,24 @@ const AddInName = "ACLib-FilterForm-Wizard"
22
const AddInFileName = "ACLibFilterFormWizard.accda"
33
const MsgBoxTitle = "Install ACLib-FilterForm-Wizard"
44

5-
MsgBox "Vor dem Aktualisieren der Add-In-Datei darf das Add-In nicht geladen sein!" & chr(13) & _
6-
"Zur Sicherheit alle Access-Instanzen schließen.", , MsgBoxTitle & ": Hinweis"
5+
MsgBox "Before updating the add-in file, the add-in must not be loaded!" & chr(13) & _
6+
"Close all access instances for safety.", , MsgBoxTitle & ": Hinweis"
77

8-
Select Case MsgBox("Soll das Add-In als MDE verwendet werden?" + chr(13) & _
9-
"(Add-In wird kompiliert ins Add-In-Verzeichnis kopiert.)", 3, MsgBoxTitle)
8+
Select Case MsgBox("Should the add-in be used as a compiled file (accde)?" + chr(13) & _
9+
"(Add-In is compiled and copied to the Add-In directory.)", 3, MsgBoxTitle)
1010
case 6 ' vbYes
1111
CreateMde GetSourceFileFullName, GetDestFileFullName
12-
MsgBox "Add-In wurde kompilliert und in '" + GetAddInLocation + "' abgespeichert", , MsgBoxTitle
12+
MsgBox "Add-In was compiled and saved in '" + GetAddInLocation + "'.", , MsgBoxTitle
1313
case 7 ' vbNo
1414
FileCopy GetSourceFileFullName, GetDestFileFullName
15-
MsgBox "Add-In wurde in '" + GetAddInLocation + "' abgespeichert", , MsgBoxTitle
15+
MsgBox "Add-In was saved in '" + GetAddInLocation + "'.", , MsgBoxTitle
1616
case else
1717

1818
End Select
1919

2020

21-
22-
23-
2421
'##################################################
25-
' Hilfsfunktionen:
22+
' Utility functions:
2623

2724
Function GetSourceFileFullName()
2825
GetSourceFileFullName = GetScriptLocation & AddInFileName
@@ -33,36 +30,26 @@ Function GetDestFileFullName()
3330
End Function
3431

3532
Function GetScriptLocation()
36-
3733
With WScript
3834
GetScriptLocation = Replace(.ScriptFullName & ":", .ScriptName & ":", "")
3935
End With
40-
4136
End Function
4237

4338
Function GetAddInLocation()
44-
4539
GetAddInLocation = GetAppDataLocation & "Microsoft\AddIns\"
46-
4740
End Function
4841

4942
Function GetAppDataLocation()
50-
5143
Set wsShell = CreateObject("WScript.Shell")
5244
GetAppDataLocation = wsShell.ExpandEnvironmentStrings("%APPDATA%") & "\"
53-
5445
End Function
5546

5647
Function FileCopy(SourceFilePath, DestFilePath)
57-
5848
set fso = CreateObject("Scripting.FileSystemObject")
5949
fso.CopyFile SourceFilePath, DestFilePath
60-
6150
End Function
6251

6352
Function CreateMde(SourceFilePath, DestFilePath)
64-
6553
Set AccessApp = CreateObject("Access.Application")
6654
AccessApp.SysCmd 603, (SourceFilePath), (DestFilePath)
67-
6855
End Function

source/_config_Application.bas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Private Const APPLICATION_VERSION As String = "1.8.0" '2023-05
3838
#Const USE_CLASS_APPLICATIONHANDLER_APPFILE = 1
3939
#Const USE_CLASS_APPLICATIONHANDLER_VERSION = 1
4040

41-
Private Const APPLICATION_NAME As String = "ACLib FilterForm Wizard"
41+
Public Const APPLICATION_NAME As String = "ACLib FilterForm Wizard"
4242
Private Const APPLICATION_FULLNAME As String = "Access Code Library - FilterForm Wizard"
4343
Private Const APPLICATION_TITLE As String = APPLICATION_FULLNAME
4444
Private Const APPLICATION_ICONFILE As String = "ACLib.ico"

source/_initApplication.bas

Lines changed: 0 additions & 67 deletions
This file was deleted.

source/codelib/_codelib/addins/shared/ACLibWebImporter.cls

Lines changed: 0 additions & 207 deletions
This file was deleted.

source/defGlobal_FilterFormWizard.bas

Lines changed: 0 additions & 41 deletions
This file was deleted.

source/frmFilterFormWizard.frm

60 Bytes
Binary file not shown.
-98 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)