Skip to content

Commit 69d1fea

Browse files
committed
fixed name detection in new DBAction template SQL, added name lookup for paramRangesStr text field.
removed "killswitch" in about dialog, moved fix legacy function there. added more Marshal.ReleaseComObject
1 parent 9ff012a commit 69d1fea

File tree

537 files changed

+2354
-2077
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

537 files changed

+2354
-2077
lines changed

Distribution/DBaddin32.xll

1.5 KB
Binary file not shown.

Distribution/DBaddin64.xll

1.5 KB
Binary file not shown.

docs/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,13 @@ You can get updates from here, in case there are new versions, this is shown wit
148148

149149
![image](https://raw.githubusercontent.com/rkapl123/DBAddin/master/docs/image/AboutBoxUpdateAvailable.PNG)
150150

151-
There is a possibility to set the future log events displayed (the starting value is set in the config file).
151+
There is a possibility to set the future log events displayed (the starting value is set in the config file). You can also fix functions from the legacy DBAddin (VB6) using the "fix legacy funcs" button in case you decided to skip the possibility offered on opening a Workbook.
152152

153153
#### Log
154154
To see the Log, there is a separate Button in the settings group of the DBAddin ribbon that also indicates the existence of warning log entries with a red exclamation mark.
155155

156156
![image](https://raw.githubusercontent.com/rkapl123/DBAddin/master/docs/image/ConfigMenu.PNG)
157157

158-
You can also fix legacy DBAddin functions in case you decided to skip the possibility offered on opening a Workbook with the "fix legacy function" button.
159-
160158
#### Settings
161159
In the DBAddin settings Group, there is a drop-down "settings", where you can modify the DBAddin.xll.config and the referred DBAddinUser.config and DBAddinCentral.config including XML validation.
162160
At the bottom of all settings dialogs, there is a drop-down showing the available settings. Those settings that are environment-dependent (`ConfigName`**N**) are automatically displayed with the current selected environment number after the name. If you select the setting, it will be added at the bottom of all settings, you can cut/paste it anywhere you want. If the setting is already existing, an error message is displayed and the existing setting is highlighted. Any XML validation errors display the location with a row and column number, however these refer to the flat version of the text (without any word-wrap).

docs/devdoc/4294967296-DBaddin.htm

+1-1
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<html><head><title>AboutBox Constructors</title><link href="styles/default.css" type="text/css" rel="stylesheet" /></head><body><div class="header"> </div><br class="clear" /><div class="navigation"><ul><li><a href="index.htm">Documentation</a></li></ul><ul><li><a class="" href="4294967296-DBaddin.htm">DBaddin</a><ul><li><a class="" href="4294967733.htm">AboutBox</a><ul><li><a class="current" href="4294967733-Constructors.htm">Constructors</a><ul><li><a class="" href="4294967734.htm">AboutBox</a></li></ul></li></ul></li></ul></li></ul></div><div class="content"><h1>AboutBox Constructors</h1><p>
1+
<html><head><title>AboutBox Constructors</title><link href="styles/default.css" type="text/css" rel="stylesheet" /></head><body><div class="header"> </div><br class="clear" /><div class="navigation"><ul><li><a href="index.htm">Documentation</a></li></ul><ul><li><a class="" href="4294967296-DBaddin.htm">DBaddin</a><ul><li><a class="" href="4294967732.htm">AboutBox</a><ul><li><a class="current" href="4294967732-Constructors.htm">Constructors</a><ul><li><a class="" href="4294967733.htm">AboutBox</a></li></ul></li></ul></li></ul></li></ul></div><div class="content"><h1>AboutBox Constructors</h1><p>
22
The AboutBox type exposes the following members.
3-
</p><h2>Constructors</h2><table><thead><tr><th class="icon" /><th>Class</th><th>Summary</th></tr></thead><tbody><tr><td><img src="styles/images/vsobject_constructor.png" alt="public constructor" /></td><td><a href="4294967734.htm">AboutBox()</a></td><td /></tr></tbody></table></div><div class="footer">
3+
</p><h2>Constructors</h2><table><thead><tr><th class="icon" /><th>Class</th><th>Summary</th></tr></thead><tbody><tr><td><img src="styles/images/vsobject_constructor.png" alt="public constructor" /></td><td><a href="4294967733.htm">AboutBox()</a></td><td /></tr></tbody></table></div><div class="footer">
44
Produced by the <a href="https://livedocumenter.barryjones.me.uk/">Live Documenter</a>.
55
</div></body></html>
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<html><head><title>AboutBox Fields</title><link href="styles/default.css" type="text/css" rel="stylesheet" /></head><body><div class="header"> </div><br class="clear" /><div class="navigation"><ul><li><a href="index.htm">Documentation</a></li></ul><ul><li><a class="" href="4294967296-DBaddin.htm">DBaddin</a><ul><li><a class="" href="4294967733.htm">AboutBox</a><ul><li><a class="current" href="4294967733-Fields.htm">Fields</a><ul><li><a class="" href="4294967841.htm">AddinName</a></li><li><a class="" href="4294967831.htm">components</a></li><li><a class="" href="4294967850.htm">curRevision</a></li><li><a class="" href="4294967837.htm">disableAddinAfterwards</a></li><li><a class="" href="4294967839.htm">dontChangeEventLevels</a></li><li><a class="" href="4294967840.htm">doUpdate</a></li><li><a class="" href="4294967851.htm">foundARevision</a></li><li><a class="" href="4294967843.htm">localUpdateFolder</a></li><li><a class="" href="4294967844.htm">localUpdateMessage</a></li><li><a class="" href="4294967838.htm">quitExcelAfterwards</a></li><li><a class="" href="4294967848.htm">response</a></li><li><a class="" href="4294967842.htm">updateFilenameZip</a></li><li><a class="" href="4294967846.htm">updatesDownloadFolder</a></li><li><a class="" href="4294967845.htm">updatesMajorVersion</a></li><li><a class="" href="4294967847.htm">updatesUrlBase</a></li><li><a class="" href="4294967849.htm">urlFile</a></li></ul></li></ul></li></ul></li></ul></div><div class="content"><h1>AboutBox Fields</h1><p>
1+
<html><head><title>AboutBox Fields</title><link href="styles/default.css" type="text/css" rel="stylesheet" /></head><body><div class="header"> </div><br class="clear" /><div class="navigation"><ul><li><a href="index.htm">Documentation</a></li></ul><ul><li><a class="" href="4294967296-DBaddin.htm">DBaddin</a><ul><li><a class="" href="4294967732.htm">AboutBox</a><ul><li><a class="current" href="4294967732-Fields.htm">Fields</a><ul><li><a class="" href="4294967840.htm">AddinName</a></li><li><a class="" href="4294967830.htm">components</a></li><li><a class="" href="4294967849.htm">curRevision</a></li><li><a class="" href="4294967836.htm">disableAddinAfterwards</a></li><li><a class="" href="4294967838.htm">dontChangeEventLevels</a></li><li><a class="" href="4294967839.htm">doUpdate</a></li><li><a class="" href="4294967850.htm">foundARevision</a></li><li><a class="" href="4294967842.htm">localUpdateFolder</a></li><li><a class="" href="4294967843.htm">localUpdateMessage</a></li><li><a class="" href="4294967837.htm">quitExcelAfterwards</a></li><li><a class="" href="4294967847.htm">response</a></li><li><a class="" href="4294967841.htm">updateFilenameZip</a></li><li><a class="" href="4294967845.htm">updatesDownloadFolder</a></li><li><a class="" href="4294967844.htm">updatesMajorVersion</a></li><li><a class="" href="4294967846.htm">updatesUrlBase</a></li><li><a class="" href="4294967848.htm">urlFile</a></li></ul></li></ul></li></ul></li></ul></div><div class="content"><h1>AboutBox Fields</h1><p>
22
The AboutBox type exposes the following members.
3-
</p><h2>Fields</h2><table><thead><tr><th class="icon" /><th>Name</th><th>Description</th></tr></thead><tbody><tr><td><img src="styles/images/vsobject_constant_private.png" alt="private constant" /></td><td><a href="4294967841.htm">AddinName</a></td><td /></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967831.htm">components</a></td><td /></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967850.htm">curRevision</a></td><td /></tr><tr><td><img src="styles/images/vsobject_field.png" alt="public field" /></td><td><a href="4294967837.htm">disableAddinAfterwards</a></td><td><div class="summary">flag for disabling addin after closing (set on DisableAddin_Click)</div></td></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967839.htm">dontChangeEventLevels</a></td><td><div class="summary">when setting EventLevels List item at load, prevent event from being fired with this</div></td></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967840.htm">doUpdate</a></td><td><div class="summary">only display result of check (false) or actually perform the update and download new version (true)</div></td></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967851.htm">foundARevision</a></td><td /></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967843.htm">localUpdateFolder</a></td><td /></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967844.htm">localUpdateMessage</a></td><td /></tr><tr><td><img src="styles/images/vsobject_field.png" alt="public field" /></td><td><a href="4294967838.htm">quitExcelAfterwards</a></td><td><div class="summary">flag for quitting excel after closing (set on CheckForUpdates_Click)</div></td></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967848.htm">response</a></td><td /></tr><tr><td><img src="styles/images/vsobject_constant_private.png" alt="private constant" /></td><td><a href="4294967842.htm">updateFilenameZip</a></td><td /></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967846.htm">updatesDownloadFolder</a></td><td /></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967845.htm">updatesMajorVersion</a></td><td /></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967847.htm">updatesUrlBase</a></td><td /></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967849.htm">urlFile</a></td><td /></tr></tbody></table></div><div class="footer">
3+
</p><h2>Fields</h2><table><thead><tr><th class="icon" /><th>Name</th><th>Description</th></tr></thead><tbody><tr><td><img src="styles/images/vsobject_constant_private.png" alt="private constant" /></td><td><a href="4294967840.htm">AddinName</a></td><td /></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967830.htm">components</a></td><td /></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967849.htm">curRevision</a></td><td /></tr><tr><td><img src="styles/images/vsobject_field.png" alt="public field" /></td><td><a href="4294967836.htm">disableAddinAfterwards</a></td><td><div class="summary">flag for disabling addin after closing (set on DisableAddin_Click)</div></td></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967838.htm">dontChangeEventLevels</a></td><td><div class="summary">when setting EventLevels List item at load, prevent event from being fired with this</div></td></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967839.htm">doUpdate</a></td><td><div class="summary">only display result of check (false) or actually perform the update and download new version (true)</div></td></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967850.htm">foundARevision</a></td><td /></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967842.htm">localUpdateFolder</a></td><td /></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967843.htm">localUpdateMessage</a></td><td /></tr><tr><td><img src="styles/images/vsobject_field.png" alt="public field" /></td><td><a href="4294967837.htm">quitExcelAfterwards</a></td><td><div class="summary">flag for quitting excel after closing (set on CheckForUpdates_Click)</div></td></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967847.htm">response</a></td><td /></tr><tr><td><img src="styles/images/vsobject_constant_private.png" alt="private constant" /></td><td><a href="4294967841.htm">updateFilenameZip</a></td><td /></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967845.htm">updatesDownloadFolder</a></td><td /></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967844.htm">updatesMajorVersion</a></td><td /></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967846.htm">updatesUrlBase</a></td><td /></tr><tr><td><img src="styles/images/vsobject_field_private.png" alt="private field" /></td><td><a href="4294967848.htm">urlFile</a></td><td /></tr></tbody></table></div><div class="footer">
44
Produced by the <a href="https://livedocumenter.barryjones.me.uk/">Live Documenter</a>.
55
</div></body></html>

docs/devdoc/4294967732-Methods.htm

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<html><head><title>AboutBox Methods</title><link href="styles/default.css" type="text/css" rel="stylesheet" /></head><body><div class="header"> </div><br class="clear" /><div class="navigation"><ul><li><a href="index.htm">Documentation</a></li></ul><ul><li><a class="" href="4294967296-DBaddin.htm">DBaddin</a><ul><li><a class="" href="4294967732.htm">AboutBox</a><ul><li><a class="current" href="4294967732-Methods.htm">Methods</a><ul><li><a class="" href="4294967776.htm">AboutBox1_Load</a></li><li><a class="" href="4294967779.htm">BackgroundWorker1_DoWork</a></li><li><a class="" href="4294967782.htm">BackgroundWorker1_RunWorkerCompleted</a></li><li><a class="" href="4294967797.htm">CheckForUpdates_Click</a></li><li><a class="" href="4294967734.htm">Dispose</a></li><li><a class="" href="4294967794.htm">EventLevels_SelectedValueChanged</a></li><li><a class="" href="4294967801.htm">fixLegacyFunc_Click</a></li><li><a class="" href="4294967760.htm">InitializeComponent</a></li><li><a class="" href="4294967788.htm">LabelCompanyName_Click</a></li><li><a class="" href="4294967791.htm">LabelProductName_Click</a></li><li><a class="" href="4294967785.htm">OKButton_Click</a></li><li><a class="" href="4294967800.htm">ValidationCallbackHandler</a></li></ul></li></ul></li></ul></li></ul></div><div class="content"><h1>AboutBox Methods</h1><p>
2+
The AboutBox type exposes the following members.
3+
</p><h2>Methods</h2><table><thead><tr><th class="icon" /><th>Name</th><th>Summary</th></tr></thead><tbody><tr><td><img src="styles/images/vsobject_method_private.png" alt="private method" /></td><td><a href="4294967776.htm">AboutBox1_Load(Object, EventArgs)</a></td><td><div class="summary">set up About box</div></td></tr><tr><td><img src="styles/images/vsobject_method_private.png" alt="private method" /></td><td><a href="4294967779.htm">BackgroundWorker1_DoWork(Object, DoWorkEventArgs)</a></td><td><div class="summary">checks for updates of DB-Addin, asks for download and downloads them</div></td></tr><tr><td><img src="styles/images/vsobject_method_private.png" alt="private method" /></td><td><a href="4294967782.htm">BackgroundWorker1_RunWorkerCompleted(Object, RunWorkerCompletedEventArgs)</a></td><td /></tr><tr><td><img src="styles/images/vsobject_method_private.png" alt="private method" /></td><td><a href="4294967797.htm">CheckForUpdates_Click(Object, EventArgs)</a></td><td /></tr><tr><td><img src="styles/images/vsobject_method_protected.png" alt="protected method" /></td><td><a href="4294967734.htm">Dispose(Boolean)</a></td><td /></tr><tr><td><img src="styles/images/vsobject_method_private.png" alt="private method" /></td><td><a href="4294967794.htm">EventLevels_SelectedValueChanged(Object, EventArgs)</a></td><td><div class="summary">select event levels: filter events by selected level (from now on)</div></td></tr><tr><td><img src="styles/images/vsobject_method_private.png" alt="private method" /></td><td><a href="4294967801.htm">fixLegacyFunc_Click(Object, EventArgs)</a></td><td /></tr><tr><td><img src="styles/images/vsobject_method_private.png" alt="private method" /></td><td><a href="4294967760.htm">InitializeComponent()</a></td><td /></tr><tr><td><img src="styles/images/vsobject_method_private.png" alt="private method" /></td><td><a href="4294967788.htm">LabelCompanyName_Click(Object, EventArgs)</a></td><td><div class="summary">Click on Project homepage: activate hyperlink in browser</div></td></tr><tr><td><img src="styles/images/vsobject_method_private.png" alt="private method" /></td><td><a href="4294967791.htm">LabelProductName_Click(Object, EventArgs)</a></td><td><div class="summary">Click on Local help: activate hyperlink in browser</div></td></tr><tr><td><img src="styles/images/vsobject_method_private.png" alt="private method" /></td><td><a href="4294967785.htm">OKButton_Click(Object, EventArgs)</a></td><td><div class="summary">Close About box</div></td></tr><tr><td><img src="styles/images/vsobject_method_private.png" alt="private method" /></td><td><a href="4294967800.htm">ValidationCallbackHandler()</a></td><td /></tr></tbody></table></div><div class="footer">
4+
Produced by the <a href="https://livedocumenter.barryjones.me.uk/">Live Documenter</a>.
5+
</div></body></html>

0 commit comments

Comments
 (0)