Skip to content

Commit 3970cf8

Browse files
authored
Merge pull request #2 from AccessCodeLib/dev
Localization + code comments in Natural Docs syntax
2 parents e2e0f2f + 2475a63 commit 3970cf8

40 files changed

+3390
-3040
lines changed

.Copy2AddInFolder.cmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@echo off
2+
copy ACLibImportWizard.accdb .\access-add-in\ACLibImportWizard.accda
3+
timeout 2

.CreateWorkingFileFormAddInFolder.cmd

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
@echo off
2+
3+
if exist .\ACLibImportWizard.accdb (
4+
set /p CopyFile=ACLibImportWizard.accdb exists .. overwrite with access-add-in\ACLibImportWizard.accda? [Y/N]:
5+
) else (
6+
set CopyFile=Y
7+
)
8+
9+
if /I %CopyFile% == Y (
10+
echo File is copied ...
11+
) else (
12+
echo Batch is cancelled
13+
pause
14+
exit
15+
)
16+
17+
copy .\access-add-in\ACLibImportWizard.accda ACLibImportWizard.accdb
18+
19+
timeout 2

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/ACLibImportWizard.accdb
1+
/*.accdb

access-add-in/ACLibImportWizard.accda

24 KB
Binary file not shown.

access-add-in/Install.vbs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1-
const AddInName = "ACLib-Import-Wizard"
1+
const AddInName = "ACLib Import Wizard"
22
const AddInFileName = "ACLibImportWizard.accda"
33
const MsgBoxTitle = "Install/Update ACLib-Import-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 & ": Information"
77

8-
Select Case MsgBox("Soll das Add-In als ACCDE 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 ACCDE?" + chr(13) & _
9+
"(The compiled Add-In is copied into the Add-In directory.)", 3, MsgBoxTitle)
1010
case 6 ' vbYes
1111
CreateMde GetSourceFileFullName, GetDestFileFullName
12+
MsgBox "Compiled add-in created"
1213
case 7 ' vbNo
1314
FileCopy GetSourceFileFullName, GetDestFileFullName
15+
MsgBox "Add-In file was copied"
1416
case else
1517

1618
End Select
@@ -59,5 +61,5 @@ Function CreateMde(SourceFilePath, DestFilePath)
5961

6062
Set AccessApp = CreateObject("Access.Application")
6163
AccessApp.SysCmd 603, (SourceFilePath), (DestFilePath)
62-
64+
6365
End Function

0 commit comments

Comments
 (0)