Compare commits
228 Commits
db96da42ed
...
Design
| Author | SHA1 | Date | |
|---|---|---|---|
| 42cc852775 | |||
| a641c0d3ae | |||
| d21475bef6 | |||
| af7aa23c8f | |||
| 55c59ccbe9 | |||
| ea5ab3460d | |||
| 6275c097ef | |||
|
|
e5d3f1f941 | ||
|
|
8f129647fb | ||
| 3995c6c9fd | |||
| b6b4c87dd2 | |||
|
|
d8e2f54fd5 | ||
|
|
97a2f6815c | ||
|
|
271a3d1157 | ||
|
|
1469fc3603 | ||
|
|
b19464b1f2 | ||
|
|
6d8ddda5c0 | ||
|
|
4dfde0478a | ||
|
|
81c8c26a9b | ||
| 41917df290 | |||
| 00e288055e | |||
|
|
3b316c43ef | ||
|
|
bd19f4ff11 | ||
|
|
3957077fc7 | ||
|
|
d3eee77136 | ||
|
|
ba5758d2ca | ||
|
|
6e821797d1 | ||
| 611257de1e | |||
| 32127a6524 | |||
|
|
9c7ac0047f | ||
|
|
7d1a231bde | ||
|
|
6240254324 | ||
| 8424fa3e31 | |||
| 5914e27bcc | |||
| abd6f3507a | |||
| fb4728e2bf | |||
|
|
e494f0c159 | ||
|
|
2da4a1b580 | ||
|
|
020de1aa4c | ||
|
|
f5a69eac84 | ||
|
|
c688219f24 | ||
|
|
85a7064afc | ||
|
|
076e01c678 | ||
|
|
aa8ba0e2e9 | ||
|
|
569c66d764 | ||
|
|
136d2a0f45 | ||
| fe08d51d78 | |||
| 2a28e32c7a | |||
|
|
9c0337ad4f | ||
|
|
eeb86a928f | ||
|
|
9ce53be9cd | ||
| 8bebf971f7 | |||
| dedc5e0c28 | |||
|
|
ee577064ff | ||
|
|
7c91662e20 | ||
|
|
f9a15191da | ||
|
|
9f49fa3900 | ||
|
|
09f1684d81 | ||
|
|
d036ad00c2 | ||
|
|
9c83f05d1e | ||
|
|
1e22fd2424 | ||
|
|
1b7675a1b4 | ||
|
|
8d42a486ed | ||
|
|
ea41de3623 | ||
|
|
585e6f9cae | ||
|
|
527b15c01c | ||
|
|
2101f51816 | ||
|
|
b2f82f3880 | ||
|
|
9b8a780f06 | ||
|
|
03c8d5267e | ||
|
|
c6fbdadd88 | ||
|
|
d70eff842a | ||
|
|
934d137651 | ||
|
|
59380fa964 | ||
|
|
3bf845100e | ||
|
|
397ecb9269 | ||
|
|
a921072556 | ||
|
|
a35d77d51f | ||
|
|
7b6c2f4117 | ||
|
|
ea3f898172 | ||
|
|
8227971743 | ||
|
|
60ff81b19d | ||
|
|
fccc192879 | ||
|
|
e81f2f0878 | ||
|
|
27294faa13 | ||
|
|
d31ba427e2 | ||
|
|
66039f22d8 | ||
|
|
59d6d26dce | ||
|
|
7e28e072df | ||
|
|
01e0a9dcf8 | ||
|
|
a97c3b8f41 | ||
|
|
9c0c31e141 | ||
|
|
ab2a0134f7 | ||
|
|
3fa9e8b75e | ||
|
|
cff6c289bb | ||
|
|
7a60728a27 | ||
|
|
f23a5a3ec1 | ||
|
|
133d461395 | ||
|
|
77ece6ca83 | ||
|
|
8c5927530d | ||
|
|
0c850a11fc | ||
|
|
b4c9b4f0b8 | ||
|
|
7f3a73afd3 | ||
|
|
90eb5d18ec | ||
|
|
a732db2171 | ||
|
|
0704b07de7 | ||
|
|
3da7e37c91 | ||
|
|
d7fca23ebc | ||
|
|
917d8b71a0 | ||
|
|
79202e379e | ||
|
|
8d82888437 | ||
|
|
d8dc517d11 | ||
|
|
f792a17395 | ||
|
|
04b4a14ac8 | ||
|
|
bcbc8890ed | ||
|
|
0a0147f751 | ||
|
|
5622af9f04 | ||
|
|
bb59b39773 | ||
|
|
1a6d55d982 | ||
|
|
03ab1f00c5 | ||
|
|
b32fd431be | ||
|
|
a581d8c81a | ||
|
|
69554d7fbd | ||
|
|
82be34b28e | ||
|
|
47a66e1220 | ||
|
|
5c44668002 | ||
|
|
a0c725163a | ||
|
|
2ca5bd4c37 | ||
|
|
21ea774aa7 | ||
|
|
d7775c72b8 | ||
|
|
c759ce19a5 | ||
|
|
748c965d48 | ||
|
|
a3b2c075a9 | ||
|
|
fcfed7e234 | ||
|
|
c145111e5c | ||
|
|
4f6e7ef049 | ||
|
|
66407cdf99 | ||
|
|
8ccb4693da | ||
|
|
4643f40b26 | ||
|
|
518e0369f3 | ||
|
|
04e5170312 | ||
|
|
b5d8317d71 | ||
|
|
5027cbf400 | ||
|
|
119e450c52 | ||
|
|
5e4205ffe2 | ||
|
|
86bdb0c545 | ||
|
|
d96469941b | ||
|
|
6ca755de12 | ||
|
|
763e45ef33 | ||
|
|
6e29c9f04b | ||
|
|
dfa0f58bc3 | ||
|
|
e029c20ae9 | ||
|
|
580597569d | ||
|
|
d771895b43 | ||
|
|
0692d4e295 | ||
|
|
f39b79e13c | ||
|
|
7a15ef9895 | ||
|
|
d5c6c17303 | ||
|
|
c86402f389 | ||
|
|
2a571a91ab | ||
|
|
ccf8236d9f | ||
|
|
01c6df6100 | ||
|
|
3ce46b2884 | ||
|
|
114e459577 | ||
|
|
efc5ca8962 | ||
|
|
9705922330 | ||
|
|
80654f97d6 | ||
|
|
0f9ad5659b | ||
|
|
a8531bc454 | ||
|
|
645ca1b893 | ||
|
|
37e61b91f0 | ||
|
|
58c3e50c7f | ||
|
|
f095914353 | ||
|
|
03159797ab | ||
|
|
2a3a30c4c6 | ||
|
|
30a44aa6ca | ||
|
|
aeee0d4077 | ||
|
|
271d38bd05 | ||
| f53f83e403 | |||
| 71642ddf92 | |||
|
|
d1efc91b45 | ||
| 65a7aed759 | |||
|
|
25e56fe80f | ||
|
|
2b88a16e53 | ||
|
|
ce6c55b448 | ||
|
|
86a7a81e03 | ||
|
|
de1ec47ab3 | ||
|
|
939b46acd7 | ||
|
|
b6647ec66c | ||
|
|
9b1a549f4e | ||
|
|
c2426efd32 | ||
|
|
50204e6ad0 | ||
|
|
d831fbc50d | ||
|
|
6042b7321d | ||
|
|
17bdcb3af7 | ||
|
|
14b1347128 | ||
|
|
fe6d75cbe4 | ||
|
|
6c58d91973 | ||
| bcade3f031 | |||
| 059dd761a2 | |||
|
|
fd4d35195c | ||
|
|
49d2c70c33 | ||
|
|
5f17b614fb | ||
|
|
b4c1524939 | ||
|
|
0728bb14bc | ||
|
|
b02d87c2a4 | ||
|
|
158c043675 | ||
|
|
6ed90fa6c1 | ||
|
|
706c15929b | ||
|
|
939b50e0c5 | ||
|
|
306566f374 | ||
|
|
b8cc39a7c7 | ||
|
|
33fa89bae9 | ||
|
|
d4852043ad | ||
|
|
c078380139 | ||
|
|
f393ba8886 | ||
|
|
d9fab01ce7 | ||
|
|
0d0447d19a | ||
|
|
5e466cd802 | ||
|
|
071d65212c | ||
|
|
cfa4927388 | ||
|
|
b5708b851b | ||
|
|
1dc95d862f | ||
|
|
7abf9c99c7 | ||
|
|
65f37d16e0 | ||
|
|
ebf08aa141 | ||
|
|
8d2e5be621 | ||
|
|
782093fd79 |
0
.vs/FileFlow/FileContentIndex/read.lock
Normal file
0
.vs/FileFlow/v15/Server/sqlite3/db.lock
Normal file
BIN
.vs/FileFlow/v15/Server/sqlite3/storage.ide
Normal file
BIN
.vs/FileFlow/v15/Server/sqlite3/storage.ide-shm
Normal file
BIN
.vs/FileFlow/v15/Server/sqlite3/storage.ide-wal
Normal file
0
.vs/FileFlow/v16/Server/sqlite3/db.lock
Normal file
BIN
.vs/FileFlow/v16/Server/sqlite3/storage.ide
Normal file
@@ -5,8 +5,6 @@ VisualStudioVersion = 16.0.29728.190
|
|||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Global_Indexer", "Global_Indexer\Global_Indexer.vbproj", "{7474B1D2-49A4-4D12-B544-C8674D3F7231}"
|
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Global_Indexer", "Global_Indexer\Global_Indexer.vbproj", "{7474B1D2-49A4-4D12-B544-C8674D3F7231}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "SetupWix", "SetupWix\SetupWix.wixproj", "{5BF6646D-6F46-45E5-8806-8783F030F311}"
|
|
||||||
EndProject
|
|
||||||
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "SetupVS19", "SetupVS19\SetupVS19.wixproj", "{54DBCFAE-14B1-4811-94AF-B59FFF61EA73}"
|
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "SetupVS19", "SetupVS19\SetupVS19.wixproj", "{54DBCFAE-14B1-4811-94AF-B59FFF61EA73}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
@@ -53,31 +51,6 @@ Global
|
|||||||
{7474B1D2-49A4-4D12-B544-C8674D3F7231}.SingleImage|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
{7474B1D2-49A4-4D12-B544-C8674D3F7231}.SingleImage|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||||
{7474B1D2-49A4-4D12-B544-C8674D3F7231}.SingleImage|Mixed Platforms.Build.0 = Debug|Any CPU
|
{7474B1D2-49A4-4D12-B544-C8674D3F7231}.SingleImage|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||||
{7474B1D2-49A4-4D12-B544-C8674D3F7231}.SingleImage|x86.ActiveCfg = Debug|Any CPU
|
{7474B1D2-49A4-4D12-B544-C8674D3F7231}.SingleImage|x86.ActiveCfg = Debug|Any CPU
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.CD_ROM|Any CPU.ActiveCfg = Release|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.CD_ROM|Mixed Platforms.ActiveCfg = Release|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.CD_ROM|Mixed Platforms.Build.0 = Release|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.CD_ROM|x86.ActiveCfg = Release|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.CD_ROM|x86.Build.0 = Release|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.Debug|Any CPU.ActiveCfg = Debug|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.Debug|Mixed Platforms.Build.0 = Debug|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.Debug|x86.ActiveCfg = Debug|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.Debug|x86.Build.0 = Debug|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.DVD-5|Any CPU.ActiveCfg = Debug|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.DVD-5|Mixed Platforms.ActiveCfg = Debug|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.DVD-5|Mixed Platforms.Build.0 = Debug|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.DVD-5|x86.ActiveCfg = Debug|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.DVD-5|x86.Build.0 = Debug|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.Release|Any CPU.ActiveCfg = Release|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.Release|Mixed Platforms.ActiveCfg = Release|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.Release|Mixed Platforms.Build.0 = Release|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.Release|x86.ActiveCfg = Release|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.Release|x86.Build.0 = Release|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.SingleImage|Any CPU.ActiveCfg = Release|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.SingleImage|Mixed Platforms.ActiveCfg = Release|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.SingleImage|Mixed Platforms.Build.0 = Release|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.SingleImage|x86.ActiveCfg = Release|x86
|
|
||||||
{5BF6646D-6F46-45E5-8806-8783F030F311}.SingleImage|x86.Build.0 = Release|x86
|
|
||||||
{54DBCFAE-14B1-4811-94AF-B59FFF61EA73}.CD_ROM|Any CPU.ActiveCfg = Release|x86
|
{54DBCFAE-14B1-4811-94AF-B59FFF61EA73}.CD_ROM|Any CPU.ActiveCfg = Release|x86
|
||||||
{54DBCFAE-14B1-4811-94AF-B59FFF61EA73}.CD_ROM|Any CPU.Build.0 = Release|x86
|
{54DBCFAE-14B1-4811-94AF-B59FFF61EA73}.CD_ROM|Any CPU.Build.0 = Release|x86
|
||||||
{54DBCFAE-14B1-4811-94AF-B59FFF61EA73}.CD_ROM|Mixed Platforms.ActiveCfg = Release|x86
|
{54DBCFAE-14B1-4811-94AF-B59FFF61EA73}.CD_ROM|Mixed Platforms.ActiveCfg = Release|x86
|
||||||
@@ -1,13 +1,62 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<configSections>
|
<configSections>
|
||||||
</configSections>
|
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System">
|
||||||
<connectionStrings>
|
<section name="DevExpress.LookAndFeel.Design.AppSettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
||||||
<add name="Global_Indexer.My.MySettings.DD_ECMConnectionString"
|
</sectionGroup>
|
||||||
connectionString="Data Source=SDD-VMP04-SQL17\DD_DEVELOP01;Initial Catalog=DD_ECM_TEST;Persist Security Info=True;User ID=sa;Password=dd"
|
</configSections>
|
||||||
providerName="System.Data.SqlClient" />
|
<applicationSettings>
|
||||||
</connectionStrings>
|
<DevExpress.LookAndFeel.Design.AppSettings>
|
||||||
<startup>
|
<setting name="DefaultAppSkin" serializeAs="String">
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
|
<value>Skin/Office 2019 White</value>
|
||||||
</startup>
|
</setting>
|
||||||
</configuration>
|
<setting name="DefaultPalette" serializeAs="String">
|
||||||
|
<value>Yale</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="TouchUI" serializeAs="String">
|
||||||
|
<value></value>
|
||||||
|
</setting>
|
||||||
|
<setting name="CompactUI" serializeAs="String">
|
||||||
|
<value></value>
|
||||||
|
</setting>
|
||||||
|
<setting name="TouchScaleFactor" serializeAs="String">
|
||||||
|
<value></value>
|
||||||
|
</setting>
|
||||||
|
<setting name="DirectX" serializeAs="String">
|
||||||
|
<value></value>
|
||||||
|
</setting>
|
||||||
|
<setting name="RegisterUserSkins" serializeAs="String">
|
||||||
|
<value></value>
|
||||||
|
</setting>
|
||||||
|
<setting name="RegisterBonusSkins" serializeAs="String">
|
||||||
|
<value></value>
|
||||||
|
</setting>
|
||||||
|
<setting name="FontBehavior" serializeAs="String">
|
||||||
|
<value></value>
|
||||||
|
</setting>
|
||||||
|
<setting name="DefaultAppFont" serializeAs="String">
|
||||||
|
<value></value>
|
||||||
|
</setting>
|
||||||
|
<setting name="DPIAwarenessMode" serializeAs="String">
|
||||||
|
<value>System</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="CustomPaletteCollection" serializeAs="Xml">
|
||||||
|
<value />
|
||||||
|
</setting>
|
||||||
|
</DevExpress.LookAndFeel.Design.AppSettings>
|
||||||
|
</applicationSettings>
|
||||||
|
<connectionStrings>
|
||||||
|
<add name="Global_Indexer.My.MySettings.DD_ECMConnectionString" connectionString="Data Source=SDD-VMP04-SQL17\DD_DEVELOP01;Initial Catalog=DD_ECM_TEST;Persist Security Info=True;User ID=sa;Password=dd" providerName="System.Data.SqlClient" />
|
||||||
|
</connectionStrings>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
|
||||||
|
</startup>
|
||||||
|
<runtime>
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="NLog" publicKeyToken="5120e14c03d0593c" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
</assemblyBinding>
|
||||||
|
</runtime>
|
||||||
|
</configuration>
|
||||||
12
Global_Indexer/Changelog.txt
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
## 2.5.0
|
||||||
|
|
||||||
|
* Replace Mail Library
|
||||||
|
* Use DigitalData.Modules.Database for DB Access
|
||||||
|
* Use DigitalData.Modules.License for License Management
|
||||||
|
* Remove clsHotkey.vb
|
||||||
|
* Remove ClassLogger.vb
|
||||||
|
* Remove DDLLicenseManager
|
||||||
|
* Fix jumping selection when refreshing profiles, indicies, etc
|
||||||
|
* Fix crash when clicking add twice in admin
|
||||||
@@ -17,6 +17,7 @@ Public Class ClassConfig
|
|||||||
Public Property TopMost As Boolean = True
|
Public Property TopMost As Boolean = True
|
||||||
|
|
||||||
' Misc Settings
|
' Misc Settings
|
||||||
Public Property LogErrorsOnly As Boolean = True
|
Public Property LogDEBUG As Boolean = True
|
||||||
Public Property WindreamSearchMaximized As Boolean = False
|
Public Property WindreamSearchMaximized As Boolean = False
|
||||||
|
Public Property OverrideLanguage As String = ""
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
Public Class ClassConstants
|
Public Class ClassConstants
|
||||||
Public Const VECTORSEPARATOR = "╚"
|
Public Const VECTORSEPARATOR = "╚"
|
||||||
|
|
||||||
|
Public Const INDEX_TYPE_BOOLEAN = "BOOLEAN"
|
||||||
|
Public Const INDEX_TYPE_INTEGER = "INTEGER"
|
||||||
|
Public Const INDEX_TYPE_VARCHAR = "VARCHAR"
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -1,481 +0,0 @@
|
|||||||
Imports System.Data.SqlClient
|
|
||||||
Imports Oracle.ManagedDataAccess.Client
|
|
||||||
Imports DigitalData.Controls.LookupGrid
|
|
||||||
|
|
||||||
|
|
||||||
Public Class ClassControls
|
|
||||||
Private Property Form As frmIndex
|
|
||||||
Private Property Panel As Panel
|
|
||||||
|
|
||||||
Public Class ControlMeta
|
|
||||||
Public Property IndexName As String
|
|
||||||
Public Property IndexType As String
|
|
||||||
Public Property MultipleValues As Boolean = False
|
|
||||||
End Class
|
|
||||||
|
|
||||||
Public Sub New(Panel As Panel, Form As frmIndex)
|
|
||||||
Me.Form = Form
|
|
||||||
Me.Panel = Panel
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Public Function AddCheckBox(indexname As String, y As Integer, vorbelegung As String, caption As String)
|
|
||||||
Try
|
|
||||||
Dim value As Boolean = False
|
|
||||||
Dim chk As New CheckBox
|
|
||||||
chk.Name = "chk" & indexname
|
|
||||||
chk.Size = New Size(100, 27)
|
|
||||||
chk.Location = New Point(11, y)
|
|
||||||
chk.Tag = New ControlMeta() With {
|
|
||||||
.IndexName = indexname,
|
|
||||||
.IndexType = "BOOLEAN"
|
|
||||||
}
|
|
||||||
|
|
||||||
If caption <> "" Then
|
|
||||||
chk.Text = caption
|
|
||||||
chk.Size = New Size(CInt(caption.Length * 15), 27)
|
|
||||||
End If
|
|
||||||
|
|
||||||
If Boolean.TryParse(vorbelegung, value) = False Then
|
|
||||||
If vorbelegung = "1" Or vorbelegung = "0" Then
|
|
||||||
chk.Checked = CBool(vorbelegung)
|
|
||||||
Else
|
|
||||||
chk.Checked = False
|
|
||||||
End If
|
|
||||||
Else
|
|
||||||
chk.Checked = value
|
|
||||||
End If
|
|
||||||
|
|
||||||
AddHandler chk.CheckedChanged, AddressOf Checkbox_CheckedChanged
|
|
||||||
|
|
||||||
Return chk
|
|
||||||
Catch ex As Exception
|
|
||||||
LOGGER.Info("Unhandled Exception in AddCheckBox: " & ex.Message)
|
|
||||||
LOGGER.Error(ex.Message)
|
|
||||||
Return Nothing
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
|
|
||||||
Public Sub Checkbox_CheckedChanged(sender As CheckBox, e As EventArgs)
|
|
||||||
PrepareDependingControl(sender)
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Public Function AddVorschlag_ComboBox(indexname As String, y As Integer, conid As Integer, sql_Vorschlag As String, Multiselect As Boolean, DataType As String, Optional Vorgabe As String = "", Optional AddNewValues As Boolean = False, Optional PreventDuplicateValues As Boolean = False, Optional SQLSuggestion As Boolean = False) As Control
|
|
||||||
Try
|
|
||||||
Dim oSql As String = sql_Vorschlag
|
|
||||||
Dim oConnectionString As String
|
|
||||||
Dim oControl As New DigitalData.Controls.LookupGrid.LookupControl2 With {
|
|
||||||
.MultiSelect = Multiselect,
|
|
||||||
.AllowAddNewValues = AddNewValues,
|
|
||||||
.PreventDuplicates = PreventDuplicateValues,
|
|
||||||
.Location = New Point(11, y),
|
|
||||||
.Size = New Size(300, 27),
|
|
||||||
.Name = "cmbMulti" & indexname,
|
|
||||||
.Tag = New ControlMeta() With {
|
|
||||||
.IndexName = indexname,
|
|
||||||
.IndexType = DataType
|
|
||||||
}
|
|
||||||
}
|
|
||||||
oControl.Properties.AppearanceFocused.BackColor = Color.Lime
|
|
||||||
|
|
||||||
If Not String.IsNullOrEmpty(Vorgabe) Then
|
|
||||||
Dim oDefaultValues As New List(Of String)
|
|
||||||
|
|
||||||
If Vorgabe.Contains(",") Then
|
|
||||||
oDefaultValues = Vorgabe.
|
|
||||||
Split(",").ToList().
|
|
||||||
Select(Function(item) item.Trim()).
|
|
||||||
ToList()
|
|
||||||
Else
|
|
||||||
oDefaultValues = Vorgabe.
|
|
||||||
Split(ClassConstants.VECTORSEPARATOR).ToList().
|
|
||||||
Select(Function(item) item.Trim()).
|
|
||||||
ToList()
|
|
||||||
End If
|
|
||||||
oControl.SelectedValues = oDefaultValues
|
|
||||||
End If
|
|
||||||
|
|
||||||
AddHandler oControl.SelectedValuesChanged, AddressOf Lookup_SelectedValuesChanged
|
|
||||||
|
|
||||||
oConnectionString = ClassFormFunctions.GetConnectionString(conid)
|
|
||||||
|
|
||||||
If oConnectionString IsNot Nothing And oSql.Length > 0 And SQLSuggestion = True Then
|
|
||||||
LOGGER.Debug("Connection String (redacted): [{0}]", oConnectionString.Substring(0, 30))
|
|
||||||
|
|
||||||
If ClassPatterns.HasComplexPatterns(oSql) Then
|
|
||||||
LOGGER.Debug(" >>sql enthält Platzhalter und wird erst während der Laufzeit gefüllt!", False)
|
|
||||||
Else
|
|
||||||
Dim oDatatable = ClassDatabase.Return_Datatable_Combined(oSql, oConnectionString, False)
|
|
||||||
oControl.DataSource = oDatatable
|
|
||||||
End If
|
|
||||||
Else
|
|
||||||
LOGGER.Warn("Connection String for control [{0}] is empty!", oControl.Name)
|
|
||||||
End If
|
|
||||||
|
|
||||||
Return oControl
|
|
||||||
Catch ex As Exception
|
|
||||||
LOGGER.Info(" - Unvorhergesehener Unexpected error in AddVorschlag_ComboBox - Indexname: " & indexname & " - Fehler: " & vbNewLine & ex.Message)
|
|
||||||
LOGGER.Error(ex.Message)
|
|
||||||
MsgBox(ex.Message, MsgBoxStyle.Critical, "Unvorhergesehener Unexpected error in AddVorschlag_ComboBox:")
|
|
||||||
Return Nothing
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
|
|
||||||
Private Sub Lookup_SelectedValuesChanged(sender As LookupControl2, SelectedValues As List(Of String))
|
|
||||||
PrepareDependingControl(sender)
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Function AddCombobox(indexname As String, y As Integer)
|
|
||||||
Dim cmb As New ComboBox
|
|
||||||
cmb.Name = "cmb" & indexname
|
|
||||||
cmb.AutoSize = True
|
|
||||||
cmb.Size = New Size(300, 27)
|
|
||||||
cmb.Location = New Point(11, y)
|
|
||||||
|
|
||||||
cmb.Tag = New ControlMeta() With {
|
|
||||||
.IndexName = indexname
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
AddHandler cmb.SelectedIndexChanged, AddressOf OncmbSIndexChanged
|
|
||||||
AddHandler cmb.GotFocus, AddressOf OncmbGotFocus
|
|
||||||
AddHandler cmb.LostFocus, AddressOf OncmbLostFocus
|
|
||||||
AddHandler cmb.KeyDown, AddressOf OncmbKeyDown
|
|
||||||
Return cmb
|
|
||||||
End Function
|
|
||||||
|
|
||||||
Public Sub OncmbKeyDown(sender As System.Object, e As System.EventArgs)
|
|
||||||
Dim cmb As ComboBox = sender
|
|
||||||
|
|
||||||
' Verhindert, dass Auswahlliste und Autocompleteliste übereinander liegen
|
|
||||||
If cmb.DroppedDown = True Then
|
|
||||||
cmb.DroppedDown = False
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Public Sub OncmbGotFocus(sender As System.Object, e As System.EventArgs)
|
|
||||||
Dim cmb As ComboBox = sender
|
|
||||||
cmb.BackColor = Color.Lime
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Public Sub OncmbLostFocus(sender As System.Object, e As System.EventArgs)
|
|
||||||
Dim cmb As ComboBox = sender
|
|
||||||
cmb.BackColor = Color.White
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Public Sub OncmbSIndexChanged(sender As System.Object, e As System.EventArgs)
|
|
||||||
If Form.FormLoaded = False Then
|
|
||||||
Exit Sub
|
|
||||||
End If
|
|
||||||
|
|
||||||
Dim cmb As ComboBox = sender
|
|
||||||
If cmb.SelectedIndex <> -1 Then
|
|
||||||
If cmb.Text.Length > 15 Then
|
|
||||||
Dim g As Graphics = cmb.CreateGraphics
|
|
||||||
cmb.Width = g.MeasureString(cmb.Text, cmb.Font).Width + 30
|
|
||||||
g.Dispose()
|
|
||||||
End If
|
|
||||||
Get_NextComboBoxResults(cmb)
|
|
||||||
|
|
||||||
|
|
||||||
SendKeys.Send("{TAB}")
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub Get_NextComboBoxResults(cmb As ComboBox)
|
|
||||||
Try
|
|
||||||
Dim indexname = cmb.Name.Replace("cmb", "")
|
|
||||||
Dim sql = "SELECT GUID,NAME,SQL_RESULT FROM TBDD_INDEX_MAN where SUGGESTION = 1 AND SQL_RESULT like '%@" & indexname & "%' and DOK_ID = " & CURRENT_DOKART_ID & " ORDER BY SEQUENCE"
|
|
||||||
Dim DT As DataTable = ClassDatabase.Return_Datatable(sql, True)
|
|
||||||
If Not IsNothing(DT) Then
|
|
||||||
If DT.Rows.Count > 0 Then
|
|
||||||
Dim cmbname = "cmb" & DT.Rows(0).Item("NAME")
|
|
||||||
Renew_ComboboxResults(DT.Rows(0).Item("GUID"), indexname, cmb.Text)
|
|
||||||
End If
|
|
||||||
|
|
||||||
End If
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Error in Get_NextComboBoxResults:" & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
End Try
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub Renew_ComboboxResults(INDEX_GUID As Integer, SearchString As String, Resultvalue As String)
|
|
||||||
Try
|
|
||||||
Dim connectionString As String
|
|
||||||
Dim sqlCnn As SqlConnection
|
|
||||||
Dim sqlCmd As SqlCommand
|
|
||||||
Dim adapter As New SqlDataAdapter
|
|
||||||
|
|
||||||
Dim oracleConn As OracleConnection
|
|
||||||
Dim oracleCmd As OracleCommand
|
|
||||||
Dim oracleadapter As New OracleDataAdapter
|
|
||||||
|
|
||||||
Dim NewDataset As New DataSet
|
|
||||||
Dim i As Integer
|
|
||||||
|
|
||||||
Dim DT_INDEX As DataTable = ClassDatabase.Return_Datatable("select * FROM TBDD_INDEX_MAN WHERE GUID = " & INDEX_GUID, True)
|
|
||||||
If IsNothing(DT_INDEX) Then
|
|
||||||
Exit Sub
|
|
||||||
End If
|
|
||||||
|
|
||||||
Dim conid = DT_INDEX.Rows(0).Item("CONNECTION_ID")
|
|
||||||
Dim sql_result = DT_INDEX.Rows(0).Item("SQL_RESULT")
|
|
||||||
Dim NAME = DT_INDEX.Rows(0).Item("NAME")
|
|
||||||
If Not IsNothing(conid) And Not IsNothing(sql_result) And Not IsNothing(NAME) Then
|
|
||||||
For Each ctrl As Control In Me.Panel.Controls
|
|
||||||
If ctrl.Name = "cmb" & NAME.ToString Then
|
|
||||||
Dim cmb As ComboBox = ctrl
|
|
||||||
Dim sql As String = sql_result.ToString.ToUpper.Replace("@" & SearchString.ToUpper, Resultvalue)
|
|
||||||
|
|
||||||
connectionString = ClassFormFunctions.GetConnectionString(conid)
|
|
||||||
If connectionString Is Nothing = False Then
|
|
||||||
'SQL Befehl füllt die Auswahlliste
|
|
||||||
|
|
||||||
If connectionString.Contains("Initial Catalog=") Then
|
|
||||||
sqlCnn = New SqlConnection(connectionString)
|
|
||||||
sqlCnn.Open()
|
|
||||||
sqlCmd = New SqlCommand(sql, sqlCnn)
|
|
||||||
adapter.SelectCommand = sqlCmd
|
|
||||||
adapter.Fill(NewDataset)
|
|
||||||
ElseIf connectionString.StartsWith("Data Source=") And connectionString.Contains("SERVICE_NAME") Then
|
|
||||||
oracleConn = New OracleConnection(connectionString)
|
|
||||||
' Try
|
|
||||||
oracleConn.Open()
|
|
||||||
oracleCmd = New OracleCommand(sql, oracleConn)
|
|
||||||
oracleadapter.SelectCommand = oracleCmd
|
|
||||||
oracleadapter.Fill(NewDataset)
|
|
||||||
End If
|
|
||||||
If NewDataset.Tables(0).Rows.Count > 0 Then
|
|
||||||
cmb.Items.Clear()
|
|
||||||
'Die Standargrösse definieren
|
|
||||||
Dim newWidth As Integer = 300
|
|
||||||
For i = 0 To NewDataset.Tables(0).Rows.Count - 1
|
|
||||||
'MsgBox(NewDataset.Tables(0).Rows(i).Item(0))
|
|
||||||
cmb.Items.Add(NewDataset.Tables(0).Rows(i).Item(0))
|
|
||||||
Try
|
|
||||||
Dim text As String = NewDataset.Tables(0).Rows(i).Item(0)
|
|
||||||
If text.Length > 15 Then
|
|
||||||
Dim g As Graphics = cmb.CreateGraphics
|
|
||||||
If g.MeasureString(text, cmb.Font).Width + 30 > newWidth Then
|
|
||||||
newWidth = g.MeasureString(text, cmb.Font).Width + 30
|
|
||||||
End If
|
|
||||||
g.Dispose()
|
|
||||||
End If
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox(ex.Message, MsgBoxStyle.Critical, "Unexpected error in Anpassung Breite ComboBox:")
|
|
||||||
End Try
|
|
||||||
|
|
||||||
Next
|
|
||||||
cmb.Size = New Size(newWidth, 27)
|
|
||||||
cmb.AutoCompleteSource = AutoCompleteSource.ListItems
|
|
||||||
cmb.AutoCompleteMode = AutoCompleteMode.Suggest
|
|
||||||
End If
|
|
||||||
If connectionString.Contains("Initial Catalog=") Then
|
|
||||||
Try
|
|
||||||
adapter.Dispose()
|
|
||||||
sqlCmd.Dispose()
|
|
||||||
sqlCnn.Close()
|
|
||||||
Catch ex As Exception
|
|
||||||
|
|
||||||
End Try
|
|
||||||
Else
|
|
||||||
Try
|
|
||||||
oracleadapter.Dispose()
|
|
||||||
oracleCmd.Dispose()
|
|
||||||
oracleConn.Close()
|
|
||||||
Catch ex As Exception
|
|
||||||
|
|
||||||
End Try
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
Next
|
|
||||||
End If
|
|
||||||
Catch ex As Exception
|
|
||||||
LOGGER.Info(" - Unvorhergesehener Unexpected error in Renew_ComboboxResults - Fehler: " & vbNewLine & ex.Message)
|
|
||||||
LOGGER.Error(ex.Message)
|
|
||||||
MsgBox(ex.Message, MsgBoxStyle.Critical, "Unvorhergesehener Unexpected error in Renew_ComboboxResults:")
|
|
||||||
End Try
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Public Function AddTextBox(indexname As String, y As Integer, text As String, DataType As String) As DevExpress.XtraEditors.TextEdit
|
|
||||||
Dim oEdit As New DevExpress.XtraEditors.TextEdit With {
|
|
||||||
.Name = "txt" & indexname,
|
|
||||||
.Size = New Size(260, 27),
|
|
||||||
.Location = New Point(11, y),
|
|
||||||
.Tag = New ControlMeta() With {
|
|
||||||
.IndexName = indexname,
|
|
||||||
.IndexType = DataType
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Select Case DataType
|
|
||||||
Case "INTEGER"
|
|
||||||
oEdit.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric
|
|
||||||
oEdit.Properties.Mask.EditMask = "d"
|
|
||||||
Console.WriteLine()
|
|
||||||
End Select
|
|
||||||
|
|
||||||
If text IsNot Nothing Then
|
|
||||||
oEdit.Text = text
|
|
||||||
oEdit.SelectAll()
|
|
||||||
End If
|
|
||||||
|
|
||||||
AddHandler oEdit.GotFocus, AddressOf OnTextBoxFocus
|
|
||||||
AddHandler oEdit.LostFocus, AddressOf OnTextBoxLostFocus
|
|
||||||
AddHandler oEdit.KeyUp, AddressOf OnTextBoxKeyUp
|
|
||||||
AddHandler oEdit.TextChanged, AddressOf OnTextBoxTextChanged
|
|
||||||
|
|
||||||
Return oEdit
|
|
||||||
End Function
|
|
||||||
|
|
||||||
Public Sub OnTextBoxFocus(sender As System.Object, e As System.EventArgs)
|
|
||||||
Dim oTextbox As DevExpress.XtraEditors.TextEdit = sender
|
|
||||||
oTextbox.BackColor = Color.Lime
|
|
||||||
oTextbox.SelectAll()
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Public Sub OnTextBoxTextChanged(sender As System.Object, e As System.EventArgs)
|
|
||||||
Dim oTextbox As DevExpress.XtraEditors.TextEdit = sender
|
|
||||||
Using oGraphics As Graphics = oTextbox.CreateGraphics()
|
|
||||||
oTextbox.Width = oGraphics.MeasureString(oTextbox.Text, oTextbox.Font).Width + 15
|
|
||||||
End Using
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Public Sub OnTextBoxLostFocus(sender As System.Object, e As System.EventArgs)
|
|
||||||
Dim oTextbox As DevExpress.XtraEditors.TextEdit = sender
|
|
||||||
oTextbox.BackColor = Color.White
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Public Sub OnTextBoxKeyUp(sender As System.Object, e As System.Windows.Forms.KeyEventArgs)
|
|
||||||
Dim oTextbox As DevExpress.XtraEditors.TextEdit = sender
|
|
||||||
|
|
||||||
If oTextbox.Text = String.Empty Then
|
|
||||||
Exit Sub
|
|
||||||
End If
|
|
||||||
|
|
||||||
If e.KeyCode = Keys.Return Or e.KeyCode = Keys.Enter Or e.KeyCode = Keys.Tab Then
|
|
||||||
PrepareDependingControl(oTextbox)
|
|
||||||
End If
|
|
||||||
|
|
||||||
If (e.KeyCode = Keys.Return) Then
|
|
||||||
SendKeys.Send("{TAB}")
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
|
|
||||||
Public Function AddDateTimePicker(indexname As String, y As Integer, DataType As String) As DevExpress.XtraEditors.DateEdit
|
|
||||||
Dim oPicker As New DevExpress.XtraEditors.DateEdit With {
|
|
||||||
.Name = "dtp" & indexname,
|
|
||||||
.Size = New Size(260, 27),
|
|
||||||
.Location = New Point(11, y),
|
|
||||||
.Tag = New ControlMeta() With {
|
|
||||||
.IndexName = indexname,
|
|
||||||
.IndexType = DataType
|
|
||||||
}
|
|
||||||
}
|
|
||||||
oPicker.Properties.AppearanceFocused.BackColor = Color.Lime
|
|
||||||
|
|
||||||
Return oPicker
|
|
||||||
End Function
|
|
||||||
Sub OndtpChanged()
|
|
||||||
'offen was hier zu tun ist
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub PrepareDependingControl(Control As Control)
|
|
||||||
If TypeOf Control Is Label Then
|
|
||||||
Exit Sub
|
|
||||||
End If
|
|
||||||
|
|
||||||
Try
|
|
||||||
Dim oMeta = DirectCast(Control.Tag, ClassControls.ControlMeta)
|
|
||||||
Dim oIndexName As String = oMeta.IndexName
|
|
||||||
Dim oSQL = $"SELECT * FROM TBDD_INDEX_MAN WHERE SQL_RESULT LIKE '%{oIndexName}%'"
|
|
||||||
Dim oDatatable As DataTable = ClassDatabase.Return_Datatable(oSQL)
|
|
||||||
|
|
||||||
If Not IsNothing(oDatatable) Then
|
|
||||||
LOGGER.Debug("Found [{0}] depending controls for [{1}]", oDatatable.Rows.Count, Control.Name)
|
|
||||||
|
|
||||||
For Each oRow As DataRow In oDatatable.Rows
|
|
||||||
Dim oControlName As String = NotNull(oRow.Item("NAME"), "")
|
|
||||||
Dim oConnectionId As Integer = NotNull(oRow.Item("CONNECTION_ID"), -1)
|
|
||||||
Dim oControlSql As String = NotNull(oRow.Item("SQL_RESULT"), "")
|
|
||||||
|
|
||||||
If oConnectionId = -1 Or oControlSql = String.Empty Then
|
|
||||||
LOGGER.Warn("Missing SQL Query or ConnectionId for Control [{0}]! Continuing.", oControlName)
|
|
||||||
Continue For
|
|
||||||
End If
|
|
||||||
|
|
||||||
oControlSql = ClassPatterns.ReplaceUserValues(oControlSql, USER_PRENAME, USER_SURNAME, USER_SHORTNAME, USER_LANGUAGE, USER_EMAIL, USER_ID, CURRENT_DOKART_ID)
|
|
||||||
oControlSql = ClassPatterns.ReplaceInternalValues(oControlSql)
|
|
||||||
oControlSql = ClassPatterns.ReplaceControlValues(oControlSql, Panel)
|
|
||||||
|
|
||||||
|
|
||||||
LOGGER.Debug("SQL After Preparing: [{0}]", oControlSql)
|
|
||||||
LOGGER.Debug("Setting new value for [{0}]", oControlName)
|
|
||||||
SetDependingControlResult(oControlName, oControlSql, oConnectionId)
|
|
||||||
Next
|
|
||||||
End If
|
|
||||||
Catch ex As Exception
|
|
||||||
LOGGER.Error(ex)
|
|
||||||
End Try
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub SetDependingControlResult(IndexName As String, SqlCommand As String, SqlConnectionId As Integer)
|
|
||||||
Try
|
|
||||||
If SqlCommand Is Nothing OrElse SqlCommand = String.Empty Then
|
|
||||||
LOGGER.Warn("New Value for Index [{0}] could not be set. Supplied SQL is empty.")
|
|
||||||
Exit Sub
|
|
||||||
End If
|
|
||||||
|
|
||||||
Dim oConnectionString = ClassFormFunctions.GetConnectionString(SqlConnectionId)
|
|
||||||
Dim oDatatable As DataTable = ClassDatabase.Return_Datatable_CS(SqlCommand, oConnectionString)
|
|
||||||
Dim oFoundControl As Control = Nothing
|
|
||||||
|
|
||||||
For Each oControl As Control In Panel.Controls
|
|
||||||
If TypeOf oControl Is Label Then
|
|
||||||
Continue For
|
|
||||||
End If
|
|
||||||
|
|
||||||
Dim oMeta = DirectCast(oControl.Tag, ClassControls.ControlMeta)
|
|
||||||
Dim oIndex As String = oMeta.IndexName
|
|
||||||
|
|
||||||
If oIndex = IndexName Then
|
|
||||||
oFoundControl = oControl
|
|
||||||
Exit For
|
|
||||||
End If
|
|
||||||
Next
|
|
||||||
|
|
||||||
If oFoundControl Is Nothing Then
|
|
||||||
LOGGER.Warn("Depending Control for Index [{0}] not found!", IndexName)
|
|
||||||
End If
|
|
||||||
|
|
||||||
If oDatatable Is Nothing Then
|
|
||||||
LOGGER.Warn("Error in SQL Command: {0}", SqlCommand)
|
|
||||||
End If
|
|
||||||
|
|
||||||
Select Case oFoundControl.GetType.Name
|
|
||||||
Case GetType(DevExpress.XtraEditors.TextEdit).Name
|
|
||||||
If oDatatable.Rows.Count > 0 Then
|
|
||||||
Dim oFirstRow As DataRow = oDatatable.Rows.Item(0)
|
|
||||||
|
|
||||||
If oFirstRow.ItemArray.Length > 0 Then
|
|
||||||
Dim oValue = oFirstRow.Item(0).ToString()
|
|
||||||
|
|
||||||
LOGGER.Debug("Setting Value for TextEdit [{0}]: [{1}]", oFoundControl.Name, oValue)
|
|
||||||
DirectCast(oFoundControl, DevExpress.XtraEditors.TextEdit).Text = oValue
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
Case GetType(LookupControl2).Name
|
|
||||||
LOGGER.Debug("Setting Value for LookupControl [{0}]: [{1}]", oFoundControl.Name, "DATATABLE")
|
|
||||||
DirectCast(oFoundControl, LookupControl2).DataSource = oDatatable
|
|
||||||
Case GetType(ComboBox).Name
|
|
||||||
LOGGER.Debug("Setting Value for Combobox [{0}]: [{1}]", oFoundControl.Name, "DATATABLE")
|
|
||||||
DirectCast(oFoundControl, ComboBox).DataSource = oDatatable
|
|
||||||
Case Else
|
|
||||||
LOGGER.Debug("Could not set depending control result for [{0}]", oFoundControl.GetType.Name)
|
|
||||||
End Select
|
|
||||||
Catch ex As Exception
|
|
||||||
LOGGER.Error(ex)
|
|
||||||
End Try
|
|
||||||
End Sub
|
|
||||||
End Class
|
|
||||||
@@ -1,338 +0,0 @@
|
|||||||
Imports System.Data.SqlClient
|
|
||||||
Imports Oracle.ManagedDataAccess.Client
|
|
||||||
Public Class ClassDatabase
|
|
||||||
Private Const NETWORK_TIMEOUT As Integer = -1
|
|
||||||
|
|
||||||
Private Shared SQLSERVERConnectionString As String
|
|
||||||
Private Shared OracleConnectionString As String
|
|
||||||
|
|
||||||
Public Shared DatabaseConnectionTimeout As Boolean = False
|
|
||||||
|
|
||||||
Public Shared Function Init()
|
|
||||||
Try
|
|
||||||
SQLSERVERConnectionString = MyConnectionString
|
|
||||||
Dim SQLconnect As New SqlConnection
|
|
||||||
SQLconnect.ConnectionString = SQLSERVERConnectionString
|
|
||||||
SQLconnect.Open()
|
|
||||||
SQLconnect.Close()
|
|
||||||
Return True
|
|
||||||
Catch ex As Exception
|
|
||||||
LOGGER.Info("Unexpected error in Database-Init: " & ex.Message)
|
|
||||||
LOGGER.Error(ex)
|
|
||||||
Return False
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
|
|
||||||
Public Shared Function Get_ConnectionString(id As Integer)
|
|
||||||
Dim connectionString As String = ""
|
|
||||||
Try
|
|
||||||
'Me.TBCONNECTIONTableAdapter.FillByID(Me.DD_DMSLiteDataSet.TBCONNECTION, id)
|
|
||||||
Dim DTConnection As DataTable = ClassDatabase.Return_Datatable("SELECT * FROM TBDD_CONNECTION WHERE GUID = " & id)
|
|
||||||
If DTConnection.Rows.Count = 1 Then
|
|
||||||
Select Case DTConnection.Rows(0).Item("SQL_PROVIDER").ToString.ToUpper
|
|
||||||
Case "MS-SQL"
|
|
||||||
If DTConnection.Rows(0).Item("USERNAME") = "WINAUTH" Then
|
|
||||||
connectionString = "Server=" & DTConnection.Rows(0).Item("SERVER") & ";Database=" & DTConnection.Rows(0).Item("DATENBANK") & ";Trusted_Connection=True;"
|
|
||||||
Else
|
|
||||||
connectionString = "Server=" & DTConnection.Rows(0).Item("SERVER") & ";Database=" & DTConnection.Rows(0).Item("DATENBANK") & ";User Id=" & DTConnection.Rows(0).Item("USERNAME") & ";Password=" & DTConnection.Rows(0).Item("USERNAME") & ";Password=" & DTConnection.Rows(0).Item("PASSWORD") & ";"
|
|
||||||
End If
|
|
||||||
' connectionString = "Server=" & DTConnection.Rows(0).Item("SERVER") & ";Database=" & DTConnection.Rows(0).Item("DATENBANK") & ";User Id=" & DTConnection.Rows(0).Item("USERNAME") & ";Password=" & DTConnection.Rows(0).Item("PASSWORD") & ";"
|
|
||||||
Case "Oracle"
|
|
||||||
If DTConnection.Rows(0).Item("BEMERKUNG").ToString.Contains("without tnsnames") Then
|
|
||||||
connectionString = "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=" & DTConnection.Rows(0).Item("SERVER") & ")(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=" &
|
|
||||||
DTConnection.Rows(0).Item("DATENBANK") & ")));User Id=" & DTConnection.Rows(0).Item("USERNAME") & ";Password=" & DTConnection.Rows(0).Item("PASSWORD") & ";"
|
|
||||||
Else
|
|
||||||
connectionString = "Data Source=" & DTConnection.Rows(0).Item("SERVER") & ";Persist Security Info=True;User Id=" & DTConnection.Rows(0).Item("USERNAME") & ";Password=" & DTConnection.Rows(0).Item("PASSWORD") & ";Unicode=True"
|
|
||||||
End If
|
|
||||||
'Case "ODBC"
|
|
||||||
' Dim conn As New OdbcConnection("dsn=" & DTConnection.Rows(0).Item("SERVER") & ";uid=" & DTConnection.Rows(0).Item("USERNAME") & ";pwd=" + DTConnection.Rows(0).Item("PASSWORD"))
|
|
||||||
' connectionString = conn.ConnectionString
|
|
||||||
Case Else
|
|
||||||
LOGGER.Info(" - ConnectionType nicht integriert")
|
|
||||||
MsgBox("ConnectionType nicht integriert", MsgBoxStyle.Critical, "Bitte Konfiguration Connection überprüfen!")
|
|
||||||
End Select
|
|
||||||
Else
|
|
||||||
LOGGER.Info(" No entry for Connection-ID: " & id.ToString)
|
|
||||||
End If
|
|
||||||
|
|
||||||
Catch ex As Exception
|
|
||||||
LOGGER.Error(ex)
|
|
||||||
LOGGER.Info(" - Error in bei Get ConnectionString - Fehler: " & vbNewLine & ex.Message)
|
|
||||||
MsgBox(ex.Message, MsgBoxStyle.Critical, "Error in Get ConnectionString:")
|
|
||||||
End Try
|
|
||||||
Return connectionString
|
|
||||||
End Function
|
|
||||||
|
|
||||||
Public Shared Function Return_Datatable_Combined(SqlCommand As String, ConnectionString As String, Optional userInput As Boolean = False)
|
|
||||||
If ConnectionString.Contains("Initial Catalog=") Then
|
|
||||||
Return Return_Datatable_CS(SqlCommand, ConnectionString, userInput)
|
|
||||||
Else
|
|
||||||
Return Oracle_Return_Datatable(SqlCommand, ConnectionString, userInput)
|
|
||||||
End If
|
|
||||||
End Function
|
|
||||||
|
|
||||||
Public Shared Function Return_Datatable(sql_command As String, Optional userInput As Boolean = False) As DataTable
|
|
||||||
Try
|
|
||||||
Dim SQLconnect As New SqlConnection
|
|
||||||
Dim SQLcommand As SqlCommand
|
|
||||||
SQLconnect.ConnectionString = SQLSERVERConnectionString
|
|
||||||
SQLconnect.Open()
|
|
||||||
SQLcommand = SQLconnect.CreateCommand
|
|
||||||
SQLcommand.CommandText = sql_command
|
|
||||||
Dim adapter1 As SqlDataAdapter = New SqlDataAdapter(SQLcommand)
|
|
||||||
Dim dt As DataTable = New DataTable()
|
|
||||||
adapter1.Fill(dt)
|
|
||||||
SQLconnect.Close()
|
|
||||||
|
|
||||||
' Reset timeout counter when query was sucessful
|
|
||||||
DatabaseConnectionTimeout = False
|
|
||||||
|
|
||||||
Return dt
|
|
||||||
Catch ex As SqlException
|
|
||||||
Dim handled = CatchDatabaseTimeout(ex, sql_command)
|
|
||||||
|
|
||||||
If Not handled Then
|
|
||||||
If userInput = True Then
|
|
||||||
MsgBox("Error in Return_Datatable - Error-Message:" & vbNewLine & ex.Message & vbNewLine & "SQL-Command:" & vbNewLine & sql_command, MsgBoxStyle.Critical)
|
|
||||||
End If
|
|
||||||
LOGGER.Error(ex)
|
|
||||||
LOGGER.Info("#SQL: " & sql_command)
|
|
||||||
End If
|
|
||||||
|
|
||||||
Return Nothing
|
|
||||||
Catch ex As Exception
|
|
||||||
If userInput = True Then
|
|
||||||
MsgBox("Error in Return Datatable - Error-Message:" & vbNewLine & ex.Message & vbNewLine & "SQL-Command:" & vbNewLine & sql_command, MsgBoxStyle.Critical)
|
|
||||||
End If
|
|
||||||
LOGGER.Error(ex)
|
|
||||||
LOGGER.Info("#SQL: " & sql_command)
|
|
||||||
Return Nothing
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
Public Shared Function Return_Datatable_CS(sql_command As String, ConString As String, Optional userInput As Boolean = False)
|
|
||||||
Try
|
|
||||||
Dim SQLconnect As New SqlConnection
|
|
||||||
Dim SQLcommand As SqlCommand
|
|
||||||
SQLconnect.ConnectionString = ConString
|
|
||||||
SQLconnect.Open()
|
|
||||||
SQLcommand = SQLconnect.CreateCommand
|
|
||||||
SQLcommand.CommandText = sql_command
|
|
||||||
|
|
||||||
Dim adapter1 As SqlDataAdapter = New SqlDataAdapter(SQLcommand)
|
|
||||||
Dim dt As DataTable = New DataTable()
|
|
||||||
adapter1.Fill(dt)
|
|
||||||
SQLconnect.Close()
|
|
||||||
|
|
||||||
' Reset timeout counter when query was sucessful
|
|
||||||
DatabaseConnectionTimeout = False
|
|
||||||
|
|
||||||
Return dt
|
|
||||||
Catch ex As SqlException
|
|
||||||
Dim handled = CatchDatabaseTimeout(ex, sql_command)
|
|
||||||
|
|
||||||
If Not handled Then
|
|
||||||
If userInput = True Then
|
|
||||||
MsgBox("Error in Return_Datatable_CS - Error-Message:" & vbNewLine & ex.Message & vbNewLine & "SQL-Command:" & vbNewLine & sql_command, MsgBoxStyle.Critical)
|
|
||||||
End If
|
|
||||||
LOGGER.Error(ex)
|
|
||||||
LOGGER.Info("#SQL: " & sql_command)
|
|
||||||
End If
|
|
||||||
|
|
||||||
Return False
|
|
||||||
Catch ex As Exception
|
|
||||||
If userInput = True Then
|
|
||||||
MsgBox("Error in Return_Datatable_CS - Error-Message:" & vbNewLine & ex.Message & vbNewLine & "SQL-Command:" & vbNewLine & sql_command, MsgBoxStyle.Critical)
|
|
||||||
End If
|
|
||||||
LOGGER.Error(ex)
|
|
||||||
LOGGER.Info("#SQL: " & sql_command)
|
|
||||||
Return Nothing
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
Public Shared Function Execute_non_Query(sql_command As String, Optional userInput As Boolean = False) As Boolean
|
|
||||||
Try
|
|
||||||
Dim SQLconnect As New SqlConnection
|
|
||||||
Dim SQLcommand As SqlCommand
|
|
||||||
SQLconnect.ConnectionString = SQLSERVERConnectionString
|
|
||||||
SQLconnect.Open()
|
|
||||||
SQLcommand = SQLconnect.CreateCommand
|
|
||||||
'Update Last Created Record in Foo
|
|
||||||
SQLcommand.CommandText = sql_command
|
|
||||||
SQLcommand.ExecuteNonQuery()
|
|
||||||
SQLcommand.Dispose()
|
|
||||||
SQLconnect.Close()
|
|
||||||
|
|
||||||
' Reset timeout counter when query was sucessful
|
|
||||||
DatabaseConnectionTimeout = False
|
|
||||||
|
|
||||||
Return True
|
|
||||||
Catch ex As SqlException
|
|
||||||
Dim handled = CatchDatabaseTimeout(ex, sql_command)
|
|
||||||
|
|
||||||
If Not handled Then
|
|
||||||
If userInput = True Then
|
|
||||||
MsgBox("Error in Execute non query - Error-Message:" & vbNewLine & ex.Message & vbNewLine & "SQL-Command:" & vbNewLine & sql_command, MsgBoxStyle.Critical)
|
|
||||||
End If
|
|
||||||
LOGGER.Error(ex)
|
|
||||||
LOGGER.Info("#SQL: " & sql_command)
|
|
||||||
End If
|
|
||||||
|
|
||||||
Return False
|
|
||||||
Catch ex As Exception
|
|
||||||
If userInput = True Then
|
|
||||||
MsgBox("Error in Execute non query - Error-Message:" & vbNewLine & ex.Message & vbNewLine & "SQL-Command:" & vbNewLine & sql_command, MsgBoxStyle.Critical)
|
|
||||||
End If
|
|
||||||
LOGGER.Error(ex)
|
|
||||||
LOGGER.Info("#SQL: " & sql_command)
|
|
||||||
|
|
||||||
Return False
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
Public Shared Function Execute_non_Query_ConStr(ExecuteCMD As String, ConnString As String, Optional userInput As Boolean = False)
|
|
||||||
Try
|
|
||||||
Dim SQLconnect As New SqlClient.SqlConnection
|
|
||||||
Dim SQLcommand As SqlClient.SqlCommand
|
|
||||||
SQLconnect.ConnectionString = ConnString
|
|
||||||
SQLconnect.Open()
|
|
||||||
SQLcommand = SQLconnect.CreateCommand
|
|
||||||
'Update Last Created Record in Foo
|
|
||||||
SQLcommand.CommandText = ExecuteCMD
|
|
||||||
LOGGER.Debug("Execute_non_Query_ConStr Created: " & ExecuteCMD)
|
|
||||||
SQLcommand.ExecuteNonQuery()
|
|
||||||
SQLcommand.Dispose()
|
|
||||||
SQLconnect.Close()
|
|
||||||
Return True
|
|
||||||
Catch ex As Exception
|
|
||||||
LOGGER.Error(ex)
|
|
||||||
If userInput = True Then
|
|
||||||
MsgBox("Error in Execute_non_Query_ConStr - Error-Message:" & vbNewLine & ex.Message & vbNewLine & "SQL-Command:" & vbNewLine & ExecuteCMD, MsgBoxStyle.Critical)
|
|
||||||
End If
|
|
||||||
Clipboard.SetText("Error Execute_non_Query_ConStr: " & ex.Message & vbNewLine & "SQL: " & ExecuteCMD)
|
|
||||||
LOGGER.Info("Fehler bei Execute_non_Query_ConStr: " & ex.Message, True)
|
|
||||||
LOGGER.Info("#SQL: " & ExecuteCMD, False)
|
|
||||||
|
|
||||||
Return False
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
Public Shared Function Execute_Scalar(sql_command As String, ConString As String, Optional userInput As Boolean = False)
|
|
||||||
Dim result
|
|
||||||
Try
|
|
||||||
Dim SQLconnect As New SqlConnection
|
|
||||||
Dim SQLcommand As SqlCommand
|
|
||||||
SQLconnect.ConnectionString = ConString
|
|
||||||
SQLconnect.Open()
|
|
||||||
SQLcommand = SQLconnect.CreateCommand
|
|
||||||
'Update Last Created Record in Foo
|
|
||||||
SQLcommand.CommandText = sql_command
|
|
||||||
result = SQLcommand.ExecuteScalar()
|
|
||||||
SQLcommand.Dispose()
|
|
||||||
SQLconnect.Close()
|
|
||||||
|
|
||||||
' Reset timeout counter when query was sucessful
|
|
||||||
DatabaseConnectionTimeout = False
|
|
||||||
|
|
||||||
Return result
|
|
||||||
Catch ex As SqlException
|
|
||||||
Dim handled = CatchDatabaseTimeout(ex, sql_command)
|
|
||||||
|
|
||||||
If Not handled Then
|
|
||||||
If userInput = True Then
|
|
||||||
MsgBox("Error in Execute non query - Error-Message:" & vbNewLine & ex.Message & vbNewLine & "SQL-Command:" & vbNewLine & sql_command, MsgBoxStyle.Critical)
|
|
||||||
End If
|
|
||||||
LOGGER.Error(ex)
|
|
||||||
LOGGER.Info("#SQL: " & sql_command)
|
|
||||||
End If
|
|
||||||
|
|
||||||
Return False
|
|
||||||
Catch ex As Exception
|
|
||||||
If userInput = True Then
|
|
||||||
MsgBox("Error in Execute Scalar - Error-Message:" & vbNewLine & ex.Message & vbNewLine & "SQL-Command:" & vbNewLine & sql_command, MsgBoxStyle.Critical)
|
|
||||||
End If
|
|
||||||
LOGGER.Error(ex)
|
|
||||||
LOGGER.Info("#SQL: " & sql_command)
|
|
||||||
Return Nothing
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
Public Shared Function OracleExecute_Scalar(cmdscalar As String, OracleConnection As String)
|
|
||||||
Dim result
|
|
||||||
Try
|
|
||||||
Dim SQLconnect As New OracleConnection
|
|
||||||
Dim SQLcommand As New OracleCommand
|
|
||||||
SQLconnect.ConnectionString = OracleConnection
|
|
||||||
SQLconnect.Open()
|
|
||||||
SQLcommand = SQLconnect.CreateCommand
|
|
||||||
'Update Last Created Record in Foo
|
|
||||||
SQLcommand.CommandText = cmdscalar
|
|
||||||
result = SQLcommand.ExecuteScalar()
|
|
||||||
SQLcommand.Dispose()
|
|
||||||
SQLconnect.Close()
|
|
||||||
Return result
|
|
||||||
Catch ex As Exception
|
|
||||||
LOGGER.Info("Unexpected error in OracleExecute_Scalar: " & ex.Message)
|
|
||||||
LOGGER.Error(ex.Message)
|
|
||||||
LOGGER.Info("#SQL: " & cmdscalar)
|
|
||||||
Return Nothing
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
Public Shared Function OracleExecute_non_Query(ExecuteCMD As String, OracleConnection As String, Optional userInput As Boolean = False)
|
|
||||||
Try
|
|
||||||
Dim SQLconnect As New OracleConnection
|
|
||||||
Dim SQLcommand As OracleCommand
|
|
||||||
SQLconnect.ConnectionString = OracleConnection
|
|
||||||
SQLconnect.Open()
|
|
||||||
SQLcommand = SQLconnect.CreateCommand
|
|
||||||
'Update Last Created Record in Foo
|
|
||||||
SQLcommand.CommandText = ExecuteCMD
|
|
||||||
SQLcommand.ExecuteNonQuery()
|
|
||||||
SQLcommand.Dispose()
|
|
||||||
SQLconnect.Close()
|
|
||||||
Return True
|
|
||||||
Catch ex As Exception
|
|
||||||
If userInput = True Then
|
|
||||||
MsgBox("Error in OracleExecute_non_Query - Error-Message:" & vbNewLine & ex.Message & vbNewLine & "SQL-Command:" & vbNewLine & ExecuteCMD, MsgBoxStyle.Critical)
|
|
||||||
End If
|
|
||||||
LOGGER.Error(ex)
|
|
||||||
LOGGER.Info("#SQL: " & ExecuteCMD)
|
|
||||||
|
|
||||||
Return False
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
|
|
||||||
Public Shared Function Oracle_Return_Datatable(Select_anweisung As String, OracleConnection As String, Optional userInput As Boolean = False)
|
|
||||||
Try
|
|
||||||
Dim SQLconnect As New OracleConnection
|
|
||||||
Dim SQLcommand As OracleCommand
|
|
||||||
SQLconnect.ConnectionString = OracleConnection
|
|
||||||
SQLconnect.Open()
|
|
||||||
SQLcommand = SQLconnect.CreateCommand
|
|
||||||
SQLcommand.CommandText = Select_anweisung
|
|
||||||
|
|
||||||
Dim adapter1 As OracleDataAdapter = New OracleDataAdapter(SQLcommand)
|
|
||||||
Dim dt As DataTable = New DataTable()
|
|
||||||
adapter1.Fill(dt)
|
|
||||||
SQLconnect.Close()
|
|
||||||
Return dt
|
|
||||||
Catch ex As Exception
|
|
||||||
If userInput = True Then
|
|
||||||
MsgBox("Error in Oracle Return Datatable - Error-Message:" & vbNewLine & ex.Message & vbNewLine & "SQL-Command:" & vbNewLine & Select_anweisung, MsgBoxStyle.Critical)
|
|
||||||
End If
|
|
||||||
LOGGER.Error(ex)
|
|
||||||
LOGGER.Info("#SQL: " & Select_anweisung)
|
|
||||||
Return Nothing
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
|
|
||||||
Public Shared Function CatchDatabaseTimeout(ex As SqlException, sql_command As String)
|
|
||||||
Dim FatalErrors As New List(Of Integer) From {-1, -2, 121}
|
|
||||||
|
|
||||||
If FatalErrors.Contains(ex.Number) Then
|
|
||||||
DatabaseConnectionTimeout = True
|
|
||||||
|
|
||||||
LOGGER.Info("Network timeout error in Return_Datatable: " & ex.Message)
|
|
||||||
LOGGER.Info("#SQL: " & sql_command)
|
|
||||||
|
|
||||||
Return True
|
|
||||||
Else
|
|
||||||
Return False
|
|
||||||
End If
|
|
||||||
End Function
|
|
||||||
End Class
|
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
(DOCTYPE_ID, GROUP_ID, ADDED_WHO)
|
(DOCTYPE_ID, GROUP_ID, ADDED_WHO)
|
||||||
VALUES ({ProfileId}, {GroupId}, '{Environment.UserName}')
|
VALUES ({ProfileId}, {GroupId}, '{Environment.UserName}')
|
||||||
"
|
"
|
||||||
Return ClassDatabase.Execute_non_Query(oSQL, True)
|
Return DATABASE_ECM.ExecuteNonQuery(oSQL)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LOGGER.Error(ex)
|
LOGGER.Error(ex)
|
||||||
Return False
|
Return False
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
Public Shared Function RemoveGroupFromProfile(GroupId As Integer, ProfileId As Integer) As Boolean
|
Public Shared Function RemoveGroupFromProfile(GroupId As Integer, ProfileId As Integer) As Boolean
|
||||||
Try
|
Try
|
||||||
Dim oSQL = $"DELETE FROM TBDD_USRGRP_DOKTYPE WHERE DOCTYPE_ID = {ProfileId} AND GROUP_ID = {GroupId}"
|
Dim oSQL = $"DELETE FROM TBDD_USRGRP_DOKTYPE WHERE DOCTYPE_ID = {ProfileId} AND GROUP_ID = {GroupId}"
|
||||||
Return ClassDatabase.Execute_non_Query(oSQL, True)
|
Return DATABASE_ECM.ExecuteNonQuery(oSQL)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LOGGER.Error(ex)
|
LOGGER.Error(ex)
|
||||||
Return False
|
Return False
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
WHERE DOCTYPE_ID = {ProfileId}
|
WHERE DOCTYPE_ID = {ProfileId}
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
Dim oDatatable As DataTable = ClassDatabase.Return_Datatable(oSQL)
|
Dim oDatatable As DataTable = DATABASE_ECM.GetDatatable(oSQL)
|
||||||
|
|
||||||
Return oDatatable
|
Return oDatatable
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
WHERE DOCTYPE_ID = {ProfileId}
|
WHERE DOCTYPE_ID = {ProfileId}
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
Dim oDatatable As DataTable = ClassDatabase.Return_Datatable(oSQL)
|
Dim oDatatable As DataTable = DATABASE_ECM.GetDatatable(oSQL)
|
||||||
|
|
||||||
Return oDatatable
|
Return oDatatable
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
(DOCTYPE_ID, USER_ID, ADDED_WHO)
|
(DOCTYPE_ID, USER_ID, ADDED_WHO)
|
||||||
VALUES ({ProfileId}, {UserId}, '{Environment.UserName}')
|
VALUES ({ProfileId}, {UserId}, '{Environment.UserName}')
|
||||||
"
|
"
|
||||||
Return ClassDatabase.Execute_non_Query(oSQL, True)
|
Return DATABASE_ECM.ExecuteNonQuery(oSQL)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LOGGER.Error(ex)
|
LOGGER.Error(ex)
|
||||||
Return False
|
Return False
|
||||||
@@ -85,7 +85,7 @@
|
|||||||
Public Shared Function RemoveUserFromProfile(UserId As Integer, ProfileId As Integer) As Boolean
|
Public Shared Function RemoveUserFromProfile(UserId As Integer, ProfileId As Integer) As Boolean
|
||||||
Try
|
Try
|
||||||
Dim oSQL = $"DELETE FROM TBDD_USER_DOKTYPE WHERE DOCTYPE_ID = {ProfileId} AND USER_ID = {UserId}"
|
Dim oSQL = $"DELETE FROM TBDD_USER_DOKTYPE WHERE DOCTYPE_ID = {ProfileId} AND USER_ID = {UserId}"
|
||||||
Return ClassDatabase.Execute_non_Query(oSQL, True)
|
Return DATABASE_ECM.ExecuteNonQuery(oSQL)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LOGGER.Error(ex)
|
LOGGER.Error(ex)
|
||||||
Return False
|
Return False
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
WHERE DOCTYPE_ID = {ProfileId}
|
WHERE DOCTYPE_ID = {ProfileId}
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
Dim oDatatable As DataTable = ClassDatabase.Return_Datatable(oSQL)
|
Dim oDatatable As DataTable = DATABASE_ECM.GetDatatable(oSQL)
|
||||||
|
|
||||||
Return oDatatable
|
Return oDatatable
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
@@ -122,7 +122,7 @@
|
|||||||
)
|
)
|
||||||
AND GUID IN (SELECT USER_ID FROM [dbo].[FNDD_GET_USER_FOR_MODULE] ('GLOBIX', 1))
|
AND GUID IN (SELECT USER_ID FROM [dbo].[FNDD_GET_USER_FOR_MODULE] ('GLOBIX', 1))
|
||||||
"
|
"
|
||||||
Dim oDatatable As DataTable = ClassDatabase.Return_Datatable(oSQL)
|
Dim oDatatable As DataTable = DATABASE_ECM.GetDatatable(oSQL)
|
||||||
|
|
||||||
Return oDatatable
|
Return oDatatable
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
|
|||||||
@@ -1,74 +0,0 @@
|
|||||||
Imports System.Net.Mail
|
|
||||||
|
|
||||||
Public Class ClassEmail
|
|
||||||
Public Shared Function Send_Log_Mail(ByVal vBody As String, ByVal vBetreff As String, ByVal emailfrom As String, ByVal emailsmtp As String, ByVal emailuser As String, ByVal emailpw As String, ByVal email_empf As String, Optional test As Boolean = False, Optional Log As Boolean = False)
|
|
||||||
'#### E-MAIL NACHRICHT VERSENDEN
|
|
||||||
Try
|
|
||||||
Dim empfaenger As String()
|
|
||||||
If email_empf.Contains(";") Then
|
|
||||||
empfaenger = email_empf.Split(";")
|
|
||||||
Else
|
|
||||||
ReDim Preserve empfaenger(0)
|
|
||||||
empfaenger(0) = email_empf
|
|
||||||
End If
|
|
||||||
'Für jeden Empfänger eine Neue Mail erzeugen
|
|
||||||
For Each _mailempfaenger As String In empfaenger
|
|
||||||
' Neue Nachricht erzeugen:
|
|
||||||
Dim message As New MailMessage(emailfrom, _mailempfaenger, vBetreff & " - Domain: " & Environment.UserDomainName,
|
|
||||||
"<font face=""Arial"">" & vBody & "<br>>> Version: " & My.Application.Info.Version.ToString & "<br>>> Maschine: " & Environment.MachineName & "<br>" & "<br>>> Domain-Name: " & Environment.UserDomainName & "<br>" &
|
|
||||||
"<br>>> Gesendet am: " & My.Computer.Clock.LocalTime.ToShortDateString & " " &
|
|
||||||
My.Computer.Clock.LocalTime.ToLongTimeString & "</font>")
|
|
||||||
If test = False Then
|
|
||||||
If Log = True Then
|
|
||||||
' create and add the attachment(s) */
|
|
||||||
If ClassLogger.logDateiname.Contains("\\") Then
|
|
||||||
ClassLogger.logDateiname = ClassLogger.logDateiname.Replace("\\", "\")
|
|
||||||
End If
|
|
||||||
If IO.File.Exists(ClassLogger.logDateiname) Then
|
|
||||||
Dim Attachment As Attachment = New Attachment(ClassLogger.logDateiname)
|
|
||||||
message.Attachments.Add(Attachment)
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
|
|
||||||
With message
|
|
||||||
.IsBodyHtml = True
|
|
||||||
.Priority = MailPriority.High
|
|
||||||
End With
|
|
||||||
|
|
||||||
'Einen SMTP Client erzeugen und Anmeldungsinformationen hinterlegen
|
|
||||||
Dim emailClient As New SmtpClient(emailsmtp)
|
|
||||||
'Email mit Authentifizierung
|
|
||||||
Dim SMTPUserInfo As New System.Net.NetworkCredential(emailuser, emailpw)
|
|
||||||
emailClient.UseDefaultCredentials = False
|
|
||||||
emailClient.Credentials = SMTPUserInfo
|
|
||||||
emailClient.Port = 25
|
|
||||||
|
|
||||||
'*Send the message */
|
|
||||||
emailClient.Send(message)
|
|
||||||
If USER_LANGUAGE = "de-DE" Then
|
|
||||||
If test = True Then
|
|
||||||
MsgBox("Die Test-Email wurde erfolgreich versendet!", MsgBoxStyle.Information, "Erfolgsmeldung:")
|
|
||||||
End If
|
|
||||||
If Log = True Then
|
|
||||||
MsgBox("Die Support-Email wurde erfolgreich versendet!", MsgBoxStyle.Information, "Erfolgsmeldung:")
|
|
||||||
End If
|
|
||||||
Else
|
|
||||||
If test = True Then
|
|
||||||
MsgBox("Test-Email sucessfully sent!", MsgBoxStyle.Information, "Success:")
|
|
||||||
End If
|
|
||||||
If Log = True Then
|
|
||||||
MsgBox("Support-Email sucessfully sent!", MsgBoxStyle.Information, "Success:")
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
'LOGGER.Info(">> Support/Log Email erfolgreich an " & _mailempfaenger & " versendet!")
|
|
||||||
Next
|
|
||||||
Return True
|
|
||||||
Catch ex As Exception
|
|
||||||
LOGGER.Info("### Fehler im Mailversand: " & ex.Message)
|
|
||||||
LOGGER.Error(ex.message)
|
|
||||||
Return False
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
|
|
||||||
End Class
|
|
||||||
@@ -1,112 +0,0 @@
|
|||||||
Imports Independentsoft
|
|
||||||
Imports System.Text.RegularExpressions
|
|
||||||
|
|
||||||
Public Class ClassEmailHeaderExtractor
|
|
||||||
''' <summary>
|
|
||||||
''' Extrahiert die Headerinformationen aus einer .msg Datei mithilfe der MSG.NET Klasse
|
|
||||||
''' </summary>
|
|
||||||
''' <param name="path">Der Pfad einer .msg Datei</param>
|
|
||||||
''' <returns>Headerinformationen als String oder Nothing wenn ein Fehler aufgetreten ist.</returns>
|
|
||||||
Public Shared Function getMessageHeaders(path As String)
|
|
||||||
Try
|
|
||||||
Dim msg As New Msg.Message(path)
|
|
||||||
Dim headers = msg.TransportMessageHeaders.Replace(vbCrLf, " ")
|
|
||||||
Return headers
|
|
||||||
Catch ex As Exception
|
|
||||||
Return Nothing
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
|
|
||||||
''' <summary>
|
|
||||||
''' Extrahiert die Headerinformationen aus einem msg Objekt mithilfe der MSG.NET Klasse
|
|
||||||
''' </summary>
|
|
||||||
''' <param name="msg">Eine Email vom Typ Msg.Message</param>
|
|
||||||
''' <returns>Headerinformationen als String oder Nothing wenn ein Fehler aufgetreten ist.</returns>
|
|
||||||
Public Shared Function getMessageHeaders(msg As Msg.Message)
|
|
||||||
Try
|
|
||||||
Dim headers = msg.TransportMessageHeaders.Replace(vbCrLf, " ")
|
|
||||||
Return headers
|
|
||||||
Catch ex As Exception
|
|
||||||
Return Nothing
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
|
|
||||||
''' <summary>
|
|
||||||
''' Extrahiert aus den Headerinformationen anhand einer Liste von Regular Expressions eine Absenderadresse.
|
|
||||||
''' </summary>
|
|
||||||
''' <param name="messageHeaders">Headerinformationen die von getMessageHeaders erzeugt wurden.</param>
|
|
||||||
''' <param name="RegexList">Eine Liste von Regular Expressions</param>
|
|
||||||
''' <param name="RegexGroup">Die Ergebnisgruppe, die die Adresse enthält</param>
|
|
||||||
''' <returns>Eine Emailadresse oder Nothing, wenn keine der Regular Expressions ein Ergebnis lieferte.</returns>
|
|
||||||
Public Shared Function extractFromAddress(messageHeaders As String, RegexList As List(Of Regex), Optional RegexGroup As Integer = 1)
|
|
||||||
If IsNothing(messageHeaders) Then
|
|
||||||
Return Nothing
|
|
||||||
End If
|
|
||||||
|
|
||||||
For Each rx In RegexList
|
|
||||||
Dim match As Match = rx.Match(messageHeaders)
|
|
||||||
Dim email As String = match.Groups(RegexGroup).Value
|
|
||||||
|
|
||||||
If Not String.IsNullOrWhiteSpace(email) Then
|
|
||||||
Return email
|
|
||||||
End If
|
|
||||||
Next
|
|
||||||
|
|
||||||
Return Nothing
|
|
||||||
End Function
|
|
||||||
Public Shared Function extractFromHeader(messageHeaders As String, Regex As String)
|
|
||||||
Try
|
|
||||||
Dim result
|
|
||||||
Dim i As Integer = 0
|
|
||||||
If IsNothing(messageHeaders) Then
|
|
||||||
Return Nothing
|
|
||||||
End If
|
|
||||||
' einen Regulären Ausdruck laden
|
|
||||||
Dim strRegex As String = Regex
|
|
||||||
Dim myRegex As New Regex(strRegex, RegexOptions.IgnorePatternWhitespace)
|
|
||||||
Dim strTargetString As String = messageHeaders.Trim
|
|
||||||
' die Vorkommen im String auslesen
|
|
||||||
For Each myMatch As Match In myRegex.Matches(strTargetString)
|
|
||||||
If myMatch.Success Then
|
|
||||||
If myMatch.Value <> "" Then
|
|
||||||
If i = 0 Then
|
|
||||||
result = myMatch.Value.ToString
|
|
||||||
Else
|
|
||||||
result = result & ";" & myMatch.Value.ToString
|
|
||||||
End If
|
|
||||||
i += 1
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
Next
|
|
||||||
Return result
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Unexpected Error in extractFromHeader: " & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
Return Nothing
|
|
||||||
End Try
|
|
||||||
|
|
||||||
End Function
|
|
||||||
|
|
||||||
''' <summary>
|
|
||||||
''' Extrahiert aus den Headerinformationen anhand einer Liste von Regular Expressions eine Empfängeradresse.
|
|
||||||
''' </summary>
|
|
||||||
''' <param name="messageHeaders">Headerinformationen die von getMessageHeaders erzeugt wurden.</param>
|
|
||||||
''' <param name="RegexList">Eine Liste von Regular Expressions</param>
|
|
||||||
''' <param name="RegexGroup">Die Ergebnisgruppe, die die Adresse enthält</param>
|
|
||||||
''' <returns>Eine Emailadresse oder Nothing, wenn keine der Regular Expressions ein Ergebnis lieferte.</returns>
|
|
||||||
Public Shared Function extractToAddress(messageHeaders As String, RegexList As List(Of Regex), Optional RegexGroup As Integer = 1)
|
|
||||||
If IsNothing(messageHeaders) Then
|
|
||||||
Return Nothing
|
|
||||||
End If
|
|
||||||
|
|
||||||
For Each rx In RegexList
|
|
||||||
Dim match As Match = rx.Match(messageHeaders)
|
|
||||||
Dim email As String = match.Groups(RegexGroup).Value
|
|
||||||
|
|
||||||
If Not String.IsNullOrWhiteSpace(email) Then
|
|
||||||
Return email
|
|
||||||
End If
|
|
||||||
Next
|
|
||||||
|
|
||||||
Return Nothing
|
|
||||||
End Function
|
|
||||||
End Class
|
|
||||||
@@ -1,284 +0,0 @@
|
|||||||
Imports System.IO
|
|
||||||
Imports Microsoft.Office.Interop
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Public Class ClassFileDrop
|
|
||||||
Public Shared files_dropped As String()
|
|
||||||
|
|
||||||
' Tobit David Drag Drop: https://www.david-forum.de/thread/12671-drag-and-drop-von-faxen-und-mails-in-net-anwendung/
|
|
||||||
'Private Declare Function DVEmlFromMailItem Lib "DvApi32" (ByVal oMailItem As MailItem, ByVal strFileName As String) As Long
|
|
||||||
|
|
||||||
Public Shared Function Drop_File(e As DragEventArgs)
|
|
||||||
Try
|
|
||||||
LOGGER.Info("Available Drop Formats:")
|
|
||||||
|
|
||||||
For Each oFormat As String In e.Data.GetFormats()
|
|
||||||
LOGGER.Info(oFormat)
|
|
||||||
Next
|
|
||||||
|
|
||||||
LOGGER.Info(">> Drop_File")
|
|
||||||
files_dropped = Nothing
|
|
||||||
If e.Data.GetDataPresent(DataFormats.FileDrop) Then
|
|
||||||
Dim MyFiles() As String
|
|
||||||
Dim i As Integer
|
|
||||||
' Assign the files to an array.
|
|
||||||
MyFiles = e.Data.GetData(DataFormats.FileDrop)
|
|
||||||
' Loop through the array and add the files to the list.
|
|
||||||
For i = 0 To MyFiles.Length - 1
|
|
||||||
LOGGER.Info(">> Simple FileDrop - File: " & MyFiles(i))
|
|
||||||
ReDim Preserve files_dropped(i)
|
|
||||||
files_dropped(i) = "|DROPFROMFSYSTEM|" & MyFiles(i)
|
|
||||||
' ListBox1.Items.Add(MyFiles(i))
|
|
||||||
Next
|
|
||||||
Return True
|
|
||||||
ElseIf (e.Data.GetDataPresent("FileGroupDescriptor")) AndAlso (e.Data.GetDataPresent("FileContents")) Then
|
|
||||||
'// the first step here is to get the stbFileName
|
|
||||||
'// of the attachment and
|
|
||||||
'// build a full-path name so we can store it
|
|
||||||
'// in the temporary folder
|
|
||||||
'//
|
|
||||||
'// set up to obtain the aryFileGroupDescriptor
|
|
||||||
'// and extract the file name
|
|
||||||
Dim stmInput As IO.Stream = CType(e.Data.GetData("FileGroupDescriptor"), IO.Stream)
|
|
||||||
Dim aryFileGroupDescriptor(512) As Byte ' = new byte[512]
|
|
||||||
stmInput.Read(aryFileGroupDescriptor, 0, 512)
|
|
||||||
'// used to build the stbFileName from the aryFileGroupDescriptor block
|
|
||||||
Dim stbFileName As System.Text.StringBuilder = New System.Text.StringBuilder("")
|
|
||||||
'// this trick gets the stbFileName of the passed attached file
|
|
||||||
Dim intCnt As Integer = 76
|
|
||||||
Do While aryFileGroupDescriptor(intCnt) <> 0
|
|
||||||
stbFileName.Append(Convert.ToChar(aryFileGroupDescriptor(intCnt), System.Globalization.CultureInfo.CreateSpecificCulture("de-DE")))
|
|
||||||
intCnt += 1
|
|
||||||
Loop
|
|
||||||
stmInput.Close()
|
|
||||||
'Sonderzeichen entfernen
|
|
||||||
Dim Tempfilename = ClassFilehandle.InvalidCharacters(stbFileName.ToString)
|
|
||||||
Dim anhaenge = e.Data.GetDataPresent("FileContents")
|
|
||||||
'Dim path As String = "C:\VBProjekte\Dateien"
|
|
||||||
'// put the zip file into the temp directory
|
|
||||||
Dim strOutFile As String = Path.GetTempPath() & Tempfilename
|
|
||||||
'// create the full-path name
|
|
||||||
'//
|
|
||||||
'// Second step: we have the file name.
|
|
||||||
'// Now we need to get the actual raw
|
|
||||||
'// data for the attached file and copy it to disk so we work on it.
|
|
||||||
'//
|
|
||||||
'// get the actual raw file into memory
|
|
||||||
Dim msInput As IO.MemoryStream = CType(e.Data.GetData("FileContents", True), IO.MemoryStream) 'This returns nothing for an Email
|
|
||||||
If msInput Is Nothing = False Then
|
|
||||||
'// allocate enough bytes to hold the raw date
|
|
||||||
Dim aryFileBytes(CType(msInput.Length, Int32)) As Byte
|
|
||||||
'// set starting position at first byte and read in the raw data
|
|
||||||
msInput.Position = 0
|
|
||||||
msInput.Read(aryFileBytes, 0, CType(msInput.Length, Int32))
|
|
||||||
'// create a file and save the raw zip file to it
|
|
||||||
Dim fsOutput As IO.FileStream = New IO.FileStream(strOutFile, IO.FileMode.Create) ';
|
|
||||||
fsOutput.Write(aryFileBytes, 0, aryFileBytes.Length)
|
|
||||||
fsOutput.Close() ' // close the file
|
|
||||||
Dim resultVersion = ClassFilehandle.Versionierung_Datei(strOutFile)
|
|
||||||
If resultVersion <> "" Then
|
|
||||||
strOutFile = resultVersion
|
|
||||||
End If
|
|
||||||
Dim finTemp As IO.FileInfo = New IO.FileInfo(strOutFile)
|
|
||||||
'// always good to make sure we actually created the file
|
|
||||||
If (finTemp.Exists = True) Then
|
|
||||||
ReDim Preserve files_dropped(0)
|
|
||||||
files_dropped(0) = "|OUTLOOK_ATTACHMENT|" & strOutFile
|
|
||||||
LOGGER.Info(">> Drop an Attachment - File: " & strOutFile)
|
|
||||||
Return True
|
|
||||||
Else
|
|
||||||
LOGGER.Info(">> Attachment File from Outlook could not be created")
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
If e.Data.GetDataPresent("FileGroupDescriptor") Then
|
|
||||||
Dim oApp
|
|
||||||
Try
|
|
||||||
oApp = New Outlook.Application()
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Unexpected error in Initialisieren von Outlook-API:" & vbNewLine & ex.Message & vbNewLine & vbNewLine & "Evtl ist Outlook nicht in der dafür vorgesehenen For")
|
|
||||||
End Try
|
|
||||||
|
|
||||||
LOGGER.Info(">> Drop of msg")
|
|
||||||
'supports a drop of a Outlook message
|
|
||||||
Dim myobj As Object
|
|
||||||
For i As Integer = 1 To oApp.ActiveExplorer.Selection.Count
|
|
||||||
myobj = oApp.ActiveExplorer.Selection.Item(i)
|
|
||||||
Dim subj As String = myobj.Subject
|
|
||||||
If subj = "" Then
|
|
||||||
subj = "NO_SUBJECT"
|
|
||||||
End If
|
|
||||||
If subj.Contains("\") Then
|
|
||||||
subj = subj.Replace("\", "-")
|
|
||||||
End If
|
|
||||||
If subj.Contains("/") Then
|
|
||||||
subj = subj.Replace("/", "-")
|
|
||||||
End If
|
|
||||||
'Sonderzeichen entfernen
|
|
||||||
subj = ClassFilehandle.InvalidCharacters(subj)
|
|
||||||
'hardcode a destination path for testing
|
|
||||||
Dim strFile As String = IO.Path.Combine(Path.GetTempPath, subj + ".msg")
|
|
||||||
strFile = strFile.Replace("?", "")
|
|
||||||
strFile = strFile.Replace("!", "")
|
|
||||||
strFile = strFile.Replace("%", "")
|
|
||||||
strFile = strFile.Replace("$", "")
|
|
||||||
LOGGER.Info(">> Drop of msg - File:" & strFile)
|
|
||||||
Try
|
|
||||||
myobj.SaveAs(strFile)
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Error in Save Email2Tempfile" & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
Return False
|
|
||||||
End Try
|
|
||||||
|
|
||||||
ReDim Preserve files_dropped(i)
|
|
||||||
files_dropped(i) = "|OUTLOOK_MESSAGE|" & strFile
|
|
||||||
Next
|
|
||||||
Return True
|
|
||||||
'Drop eines Outlook Attachments
|
|
||||||
End If
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Error in Drop-File" & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
Return False
|
|
||||||
End Try
|
|
||||||
|
|
||||||
|
|
||||||
End Function
|
|
||||||
|
|
||||||
'Private Sub DragDrop_HandleTobit(e As DragEventArgs)
|
|
||||||
' If e.Data.GetDataPresent("#TobitMsgData") Then
|
|
||||||
' Dim Quellpfad As String = ""
|
|
||||||
' Dim Dateinamen As String()
|
|
||||||
' 'Quellpfad zu den David Dateien auslesen
|
|
||||||
' Using ms As MemoryStream = e.Data.GetData("#TobitMsgData")
|
|
||||||
' Dim bytes As Byte() = ms.ToArray()
|
|
||||||
' Dim n As Integer = 0
|
|
||||||
' Dim c As Char
|
|
||||||
' Do While True
|
|
||||||
' c = Convert.ToChar(bytes(n))
|
|
||||||
' If bytes(n) <> 0 Then
|
|
||||||
' Quellpfad &= c
|
|
||||||
' n += 1
|
|
||||||
' Else
|
|
||||||
' Exit Do
|
|
||||||
' End If
|
|
||||||
' Loop
|
|
||||||
' End Using
|
|
||||||
' 'Dateinamen der gedroppten Emails auslesen
|
|
||||||
' Using ms As MemoryStream = e.Data.GetData("FileGroupDescriptor")
|
|
||||||
' 'Header sind 4B
|
|
||||||
' 'Jeder Datensatz ist 332B
|
|
||||||
' 'Bei Index 72 des Datensatzes beginnt das "Dateiname.eml"
|
|
||||||
' Dim bytes As Byte() = ms.ToArray()
|
|
||||||
' ReDim Dateinamen(Int(bytes.Count / 332) - 1)
|
|
||||||
' ' Array mit so vielen Elementen wie Datensätze im FileGroupDescriptor sind
|
|
||||||
' Dim AnzahlMails As Integer = bytes(0)
|
|
||||||
' Dim Dateiname As String
|
|
||||||
' Dim n As Integer
|
|
||||||
' For i = 0 To AnzahlMails - 1
|
|
||||||
' Dateiname = ""
|
|
||||||
' n = 0
|
|
||||||
' Do While True
|
|
||||||
' 'Solange die Bytes auslesen, bis man einen vbNullChar liest
|
|
||||||
' If bytes(i * 332 + 4 + 72 + n) <> 0 Then
|
|
||||||
' Dateiname = Dateiname & Convert.ToChar(bytes(i * 332 + 4 + 72 + n))
|
|
||||||
|
|
||||||
' n += 1
|
|
||||||
' Else
|
|
||||||
' Exit Do
|
|
||||||
' End If
|
|
||||||
' Loop
|
|
||||||
' Dateinamen(i) = Dateiname
|
|
||||||
' Next
|
|
||||||
' End Using
|
|
||||||
' Using EntryDataEx As MemoryStream = e.Data.GetData("#TobitEntryDataEx")
|
|
||||||
' Dim bytes As Byte() = EntryDataEx.ToArray()
|
|
||||||
' 'Die Größe des Headers steht im ersten Byte
|
|
||||||
' Dim HeadExSize As Integer = bytes(0)
|
|
||||||
' 'Die Anzahl der Datensätze steht im 8. - 11. Byte
|
|
||||||
' Dim nCountEntries As Integer = BitConverter.ToInt32(bytes, 8)
|
|
||||||
' Dim nPositions(nCountEntries - 1) As Integer
|
|
||||||
' For i = 0 To nCountEntries - 1
|
|
||||||
' 'Datensätze in der #TobitEntryDataEx sind 269 Byte groß.
|
|
||||||
' 'In den ersten 4 Bytes steht die QID aus der archive.dat
|
|
||||||
' nPositions(i) = BitConverter.ToInt32(bytes, HeadExSize + i * 269)
|
|
||||||
' Next
|
|
||||||
|
|
||||||
' Using fs As New FileStream(Quellpfad & "\archive.dat", FileMode.Open, FileAccess.Read)
|
|
||||||
|
|
||||||
' 'archive.dat als MemoryStream kopieren
|
|
||||||
' Using ms As New MemoryStream
|
|
||||||
' fs.CopyTo(ms)
|
|
||||||
' 'MemoryStream in ein Byte-Array konvertieren
|
|
||||||
' Dim archiveBytes As Byte() = ms.ToArray()
|
|
||||||
' 'Datensätze in der archive.dat sind 430 Byte groß
|
|
||||||
' For i = 16 To archiveBytes.Length - 1 Step 430
|
|
||||||
|
|
||||||
' 'Das 17.-20. Byte ist die QID die wir suchen
|
|
||||||
' Dim QID As Integer = BitConverter.ToInt32(archiveBytes, i)
|
|
||||||
' 'Wenn die QID übereinstimmt mit einer der David-Mails, dann lies den Dateinamen im Archiv aus
|
|
||||||
' If nPositions.Contains(QID) Then
|
|
||||||
|
|
||||||
' 'Der Index der QID (0, ..., nCountEntries - 1)
|
|
||||||
' Dim nPosIndex As Integer = -1
|
|
||||||
' For j = 0 To nPositions.Length - 1
|
|
||||||
' If QID = nPositions(j) Then
|
|
||||||
' nPosIndex = j
|
|
||||||
' Exit For
|
|
||||||
' End If
|
|
||||||
' Next
|
|
||||||
' 'Alle Bytes ab dem 17. bis zum Ende des Datensatzes aus der archive.bat auslesen und als String konvertieren
|
|
||||||
' Dim byteString As String = ""
|
|
||||||
' For j = 0 To 429 - 17
|
|
||||||
' byteString &= Convert.ToChar(archiveBytes(i + j))
|
|
||||||
' Next
|
|
||||||
' 'Index der Id herausfinden (Index des Quellpfads im byteString + Länge des Quellpfads + 1 "\")
|
|
||||||
' Dim IdIndex As Integer = byteString.IndexOf(Quellpfad, StringComparison.OrdinalIgnoreCase) + Quellpfad.Length + 1
|
|
||||||
' 'Die Id sind dann die 8 Zeichen ab dem IdIndex
|
|
||||||
' Dim Id As String = byteString.Substring(IdIndex, 8)
|
|
||||||
' 'EML speichern
|
|
||||||
' DavidEmlSpeichern(Quellpfad, Dateinamen(nPosIndex), QID, Id)
|
|
||||||
' End If
|
|
||||||
' Next
|
|
||||||
' End Using
|
|
||||||
' End Using
|
|
||||||
' End Using
|
|
||||||
' End If
|
|
||||||
'End Sub
|
|
||||||
|
|
||||||
'Private Sub DavidEmlSpeichern(ArchivePfad As String, Dateiname As String, ID As String, FaxID As String)
|
|
||||||
' Dim oApp As DavidAPIClass
|
|
||||||
' Dim oAcc As Account
|
|
||||||
' Dim oArchive As Archive
|
|
||||||
' Dim oMessageItems As MessageItems
|
|
||||||
' Dim oMailItem As MailItem
|
|
||||||
' oApp = New DavidAPIClass()
|
|
||||||
' oApp.LoginOptions = DvLoginOptions.DvLoginForceAsyncDuplicate
|
|
||||||
' oAcc = oApp.Logon("DavidServer", "", "", "", "", "NOAUTH")
|
|
||||||
' oArchive = oAcc.ArchiveFromID(ArchivePfad)
|
|
||||||
' If FaxID.First() = "M" Then
|
|
||||||
' 'Faxe beginnen mit M
|
|
||||||
' 'Bei Faxen kann man einfach die .001 Datei kopieren und als TIF speichern
|
|
||||||
' File.Copy(ArchivePfad & "\" & FaxID & ".001", "C:\Temp\" & Dateiname, True)
|
|
||||||
' ListeAktualisieren()
|
|
||||||
' ElseIf FaxID.First() = "I" Then
|
|
||||||
' 'Emails beginnen mit I
|
|
||||||
' 'Bei Emails muss man die DVEmlFromMailItem mit dem richtigen oMailItem aufrufen
|
|
||||||
' oMessageItems = oArchive.MailItems
|
|
||||||
' For Each oMailItem In oMessageItems
|
|
||||||
' If oMailItem._ID = ID Then
|
|
||||||
' Dim fileName As String = Space(260)
|
|
||||||
' If DVEmlFromMailItem(oMailItem, fileName) <> 0 Then
|
|
||||||
' fileName = Trim(fileName)
|
|
||||||
' fileName = fileName.Substring(0, fileName.Length - 1)
|
|
||||||
' File.Copy(fileName, "C:\Temp\" & Dateiname, True)
|
|
||||||
' ListeAktualisieren()
|
|
||||||
' End If
|
|
||||||
' Exit For
|
|
||||||
' End If
|
|
||||||
' Next
|
|
||||||
' End If
|
|
||||||
'End Sub
|
|
||||||
|
|
||||||
|
|
||||||
End Class
|
|
||||||
389
Global_Indexer/ClassFileHandler.vb
Normal file
@@ -0,0 +1,389 @@
|
|||||||
|
Imports System.IO
|
||||||
|
Imports System.Guid
|
||||||
|
Imports System.Text.RegularExpressions
|
||||||
|
Imports Limilabs.Mail
|
||||||
|
Imports DigitalData.Modules.Base
|
||||||
|
Imports DigitalData.Modules.Logging
|
||||||
|
|
||||||
|
Public Class ClassFileHandler
|
||||||
|
Inherits BaseClass
|
||||||
|
|
||||||
|
Public Sub New(pLogConfig As LogConfig)
|
||||||
|
MyBase.New(pLogConfig)
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Public Property TempFiles As New List(Of String)
|
||||||
|
|
||||||
|
Private Function GetTempPath(pSourceFilePath As String, pNewFileName As String, pSubfolder As String) As String
|
||||||
|
Try
|
||||||
|
Dim oTempDirectory = Path.GetTempPath()
|
||||||
|
Dim oTempSubDirectory As String = Path.Combine(oTempDirectory, pSubfolder)
|
||||||
|
|
||||||
|
' Try to create a subdirectory for all temp files so it will be easier to clean up
|
||||||
|
' these files by just deleting the whole fucking folder. 🤬
|
||||||
|
If Not Directory.Exists(oTempSubDirectory) Then
|
||||||
|
Try
|
||||||
|
Directory.CreateDirectory(oTempSubDirectory)
|
||||||
|
Catch ex As Exception
|
||||||
|
Logger.Error(ex)
|
||||||
|
' We could not create a subfolder
|
||||||
|
' Set the final directory to the default temp
|
||||||
|
oTempSubDirectory = oTempDirectory
|
||||||
|
End Try
|
||||||
|
End If
|
||||||
|
|
||||||
|
' Copy the file to the new location
|
||||||
|
Dim oNewPath = Path.Combine(oTempSubDirectory, pNewFileName)
|
||||||
|
File.Copy(pSourceFilePath, oNewPath)
|
||||||
|
|
||||||
|
Return oNewPath
|
||||||
|
Catch ex As Exception
|
||||||
|
Return Nothing
|
||||||
|
End Try
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Public Sub Clear_Tempfiles()
|
||||||
|
For Each oFile In TempFiles
|
||||||
|
Try
|
||||||
|
System.IO.File.Delete(oFile)
|
||||||
|
Catch ex As Exception
|
||||||
|
Logger.Error(ex)
|
||||||
|
End Try
|
||||||
|
Next
|
||||||
|
|
||||||
|
TempFiles.Clear()
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
Public Function Decide_FileHandle(pFilepath As String, pHandletype As String) As Boolean
|
||||||
|
Try
|
||||||
|
''TODO: Before doing anything, clean the filename
|
||||||
|
'Dim oFilename = IO.Path.GetFileName(pFilepath)
|
||||||
|
'Dim oCleanFileName = Utils.RemoveInvalidCharacters(oFilename)
|
||||||
|
'Dim oTempDirectory = IO.Path.GetTempPath()
|
||||||
|
'Dim oTempFilePath = IO.Path.Combine(oTempDirectory, oCleanFileName)
|
||||||
|
|
||||||
|
'Try
|
||||||
|
' TEMP_FILES.Add(oTempFilePath)
|
||||||
|
' LOGGER.Debug("Copying file")
|
||||||
|
' LOGGER.Debug(pFilepath)
|
||||||
|
' LOGGER.Debug(oTempFilePath)
|
||||||
|
' IO.File.Copy(pFilepath, oTempFilePath, True)
|
||||||
|
'Catch ex As Exception
|
||||||
|
' LOGGER.Error(ex)
|
||||||
|
' Throw ex
|
||||||
|
'End Try
|
||||||
|
|
||||||
|
Dim oTempFilePath = pFilepath
|
||||||
|
|
||||||
|
Dim oInboxRegex As New Regex("\.INBOX\d+$")
|
||||||
|
|
||||||
|
If oInboxRegex.IsMatch(oTempFilePath) Then
|
||||||
|
Logger.Info("Renaming INBOX file to EML")
|
||||||
|
|
||||||
|
Try
|
||||||
|
Dim oInfo As New FileInfo(oTempFilePath)
|
||||||
|
Logger.Info("Old Name: {0}", oInfo.Name)
|
||||||
|
Dim oNewName = $"{oInfo.Name}.eml"
|
||||||
|
Logger.Info("New Name: {0}", oNewName)
|
||||||
|
Dim oTempDirectory = IO.Path.GetTempPath()
|
||||||
|
Dim oNewPath = IO.Path.Combine(oTempDirectory, oNewName)
|
||||||
|
|
||||||
|
IO.File.Copy(oInfo.FullName, oNewPath)
|
||||||
|
|
||||||
|
'TEMP_FILES.Add(oNewPath)
|
||||||
|
TempFiles.Add(oNewPath)
|
||||||
|
|
||||||
|
oTempFilePath = oNewPath
|
||||||
|
Catch ex As Exception
|
||||||
|
Logger.Error(ex)
|
||||||
|
End Try
|
||||||
|
End If
|
||||||
|
|
||||||
|
If oTempFilePath.ToUpper.EndsWith(".MSG") Or oTempFilePath.ToUpper.EndsWith(".EML") Then
|
||||||
|
CURRENT_MESSAGEID = ""
|
||||||
|
Dim oMail As IMail = EMAIL.Load_Email(oTempFilePath)
|
||||||
|
If oMail.Attachments.Count > 0 Then
|
||||||
|
Dim oTitle As String
|
||||||
|
Dim oMessage As String
|
||||||
|
|
||||||
|
If USER_LANGUAGE = "de-DE" Then
|
||||||
|
oTitle = "Nachfrage zur Indexierung:"
|
||||||
|
oMessage = "Achtung: Die Email enthält Anhänge!" & vbNewLine & "Wollen Sie die Anhänge separat indexieren und herauslösen?"
|
||||||
|
Else
|
||||||
|
oTitle = "Question about Indexing:"
|
||||||
|
oMessage = "Attention: This Email contains Attachments!" & vbNewLine & "Do you want to extract the attachments and index them seperately?"
|
||||||
|
End If
|
||||||
|
Dim oResult As DialogResult
|
||||||
|
|
||||||
|
' Weird hack to force messagebox to be topmost
|
||||||
|
' https://stackoverflow.com/questions/1220882/keep-messagebox-show-on-top-of-other-application-using-c-sharp
|
||||||
|
oResult = MessageBox.Show(oMessage, oTitle, MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly)
|
||||||
|
|
||||||
|
|
||||||
|
If oResult = MsgBoxResult.Yes Then
|
||||||
|
Dim oIsFolderWatch = pHandletype.StartsWith("|FW")
|
||||||
|
Return Save_EmailAndAttachmentsToDisk(oTempFilePath, oIsFolderWatch)
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
If oTempFilePath.ToUpper.EndsWith(".LNK") Then
|
||||||
|
If USER_LANGUAGE = "de-DE" Then
|
||||||
|
MsgBox("Verknüpfungen können nicht abgelegt werden!", MsgBoxStyle.Critical, "File Flow")
|
||||||
|
Else
|
||||||
|
MsgBox("Shortcuts cannot be droppped!", MsgBoxStyle.Critical, "File Flow")
|
||||||
|
End If
|
||||||
|
Return False
|
||||||
|
End If
|
||||||
|
|
||||||
|
Return Insert_GI_File(oTempFilePath, pHandletype)
|
||||||
|
Catch ex As Exception
|
||||||
|
MsgBox("Unexpected Error in Decide_FileHandle: " & ex.Message, MsgBoxStyle.Critical)
|
||||||
|
Return False
|
||||||
|
End Try
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Private Function Save_EmailAndAttachmentsToDisk(pEmailFilePath As String, Optional pFolderWatch As Boolean = False) As Boolean
|
||||||
|
Try
|
||||||
|
Dim oMessageOnlyMarker As String = "|MSGONLY|"
|
||||||
|
Dim oExtractedAttachmentMarker As String = "|ATTMNTEXTRACTED|"
|
||||||
|
If pFolderWatch = True Then
|
||||||
|
oMessageOnlyMarker = "|FW_MSGONLY|"
|
||||||
|
oExtractedAttachmentMarker = "|FW_ATTMNTEXTRACTED|"
|
||||||
|
End If
|
||||||
|
Dim oSuccess As Boolean = False
|
||||||
|
|
||||||
|
Logger.Info("Converting file to Eml if needed: [{0}]", pEmailFilePath)
|
||||||
|
Dim oEmail As IMail = EMAIL.Load_Email(pEmailFilePath)
|
||||||
|
|
||||||
|
If oEmail.MessageID IsNot Nothing Then
|
||||||
|
CURRENT_MESSAGEID = oEmail.MessageID
|
||||||
|
Else
|
||||||
|
Logger.Info("Es konnte keine Message-ID gelesen werden. Eine GUID wird erzeugt!")
|
||||||
|
CURRENT_MESSAGEID = NewGuid.ToString()
|
||||||
|
End If
|
||||||
|
|
||||||
|
Dim oEmailFilePathWithoutAttachments = EMAIL.Remove_AttachmentsFromEmail(pEmailFilePath, "_excl_attachments")
|
||||||
|
|
||||||
|
TempFiles.Add(oEmailFilePathWithoutAttachments)
|
||||||
|
'TEMP_FILES.Add(oEmailFilePathWithoutAttachments)
|
||||||
|
|
||||||
|
If Insert_GI_File(oEmailFilePathWithoutAttachments, oMessageOnlyMarker) = True Then
|
||||||
|
oSuccess = True
|
||||||
|
|
||||||
|
Dim oAttachments As List(Of String) = EMAIL.Save_AttachmentsToDisk(pEmailFilePath)
|
||||||
|
|
||||||
|
Logger.Debug("Saved [{0}] attachments to disk.", oAttachments.Count)
|
||||||
|
|
||||||
|
For Each oAttachment In oAttachments
|
||||||
|
'TEMP_FILES.Add(oAttachment)
|
||||||
|
TempFiles.Add(oAttachment)
|
||||||
|
|
||||||
|
Logger.Debug("Saved attachment [{0}].", oAttachment)
|
||||||
|
oSuccess = Insert_GI_File(oAttachment, oExtractedAttachmentMarker)
|
||||||
|
|
||||||
|
If oSuccess = False Then
|
||||||
|
Logger.Warn("Saving attachment to disk failed: [{0}]", oAttachment)
|
||||||
|
Exit For
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
End If
|
||||||
|
|
||||||
|
Return oSuccess
|
||||||
|
Catch ex As Exception
|
||||||
|
Logger.Warn("Saving email to disk failed (Email_Decay)")
|
||||||
|
Logger.Error(ex)
|
||||||
|
|
||||||
|
Return False
|
||||||
|
End Try
|
||||||
|
End Function
|
||||||
|
|
||||||
|
'Private Shared Function Email_Decay(msgname As String, Optional FW As Boolean = False)
|
||||||
|
' Try
|
||||||
|
' Dim msgonly As String = "|MSGONLY|"
|
||||||
|
' Dim ATT_EXTR As String = "|ATTMNTEXTRACTED|"
|
||||||
|
' If FW = True Then
|
||||||
|
' msgonly = "|FW_MSGONLY|"
|
||||||
|
' ATT_EXTR = "|FW_ATTMNTEXTRACTED|"
|
||||||
|
' End If
|
||||||
|
' Dim erfolgreich As Boolean = False
|
||||||
|
' Dim msg As New MSG.Message(msgname)
|
||||||
|
|
||||||
|
' If msg.InternetMessageId IsNot Nothing Then
|
||||||
|
' CURRENT_MESSAGEID = msg.InternetMessageId
|
||||||
|
' Else
|
||||||
|
' LOGGER.Info("Es konnte keine Message-ID gelesen werden. Eine GUID wird erzeugt!")
|
||||||
|
' Dim sGUID As String
|
||||||
|
' sGUID = System.Guid.NewGuid.ToString()
|
||||||
|
' CURRENT_MESSAGEID = sGUID
|
||||||
|
' End If
|
||||||
|
|
||||||
|
' 'Nur die MSGDatei ablegen
|
||||||
|
' Dim tempfile As String = Path.Combine(Path.GetTempPath, Path.GetFileNameWithoutExtension(msgname) & "_excl_att.msg")
|
||||||
|
|
||||||
|
' If File.Exists(tempfile) Then
|
||||||
|
' File.Delete(tempfile)
|
||||||
|
' End If
|
||||||
|
' Dim _msgEXAtt As New Msg.Message(msgname)
|
||||||
|
' _msgEXAtt.Attachments.Clear()
|
||||||
|
' _msgEXAtt.Save(tempfile)
|
||||||
|
' 'Datei in Array zum Templöschen speichern
|
||||||
|
' TEMP_FILES.Add(tempfile)
|
||||||
|
|
||||||
|
' If Insert_GI_File(tempfile, msgonly) = True Then
|
||||||
|
' erfolgreich = True
|
||||||
|
' 'Hier nun die Anhänge herauslösen
|
||||||
|
' Dim _msg As New Msg.Message(msgname)
|
||||||
|
' Dim i1 As Integer = 1
|
||||||
|
|
||||||
|
' LOGGER.Info(">> Anzahl der Attachments: " & _msg.Attachments.Count)
|
||||||
|
' For Each attachment As Independentsoft.Msg.Attachment In _msg.Attachments
|
||||||
|
' If erfolgreich = False Then
|
||||||
|
' Exit For
|
||||||
|
' End If
|
||||||
|
' Dim attachment_name As String
|
||||||
|
' If attachment.LongFileName Is Nothing Then
|
||||||
|
' attachment_name = attachment.DisplayName
|
||||||
|
' Else
|
||||||
|
' attachment_name = attachment.LongFileName
|
||||||
|
' End If
|
||||||
|
' If attachment.EmbeddedMessage IsNot Nothing Then
|
||||||
|
' attachment_name = Utils.RemoveInvalidCharacters(attachment_name)
|
||||||
|
' tempfile = Path.Combine(Path.GetTempPath, attachment_name & ".msg")
|
||||||
|
' tempfile = ClassFilehandle.Versionierung_Datei(tempfile)
|
||||||
|
|
||||||
|
' If tempfile <> String.Empty Then
|
||||||
|
' Dim oMessage = attachment.EmbeddedMessage
|
||||||
|
' oMessage.IsEmbedded = False
|
||||||
|
' oMessage.Save(tempfile)
|
||||||
|
' TEMP_FILES.Add(tempfile)
|
||||||
|
' LOGGER.Info(">> Attachment (" & i1 & "):" & tempfile)
|
||||||
|
' erfolgreich = Insert_GI_File(tempfile, ATT_EXTR)
|
||||||
|
' i1 += 1
|
||||||
|
' End If
|
||||||
|
' ElseIf Not attachment_name.Contains("inline") Then
|
||||||
|
' 'Sonderzeichen entfernen
|
||||||
|
' attachment_name = Utils.RemoveInvalidCharacters(attachment_name)
|
||||||
|
' tempfile = Path.Combine(Path.GetTempPath, attachment_name)
|
||||||
|
' tempfile = ClassFilehandle.Versionierung_Datei(tempfile)
|
||||||
|
' If tempfile <> "" Then
|
||||||
|
' attachment.Save(tempfile)
|
||||||
|
' 'Datei in Array zum Templöschen speichern
|
||||||
|
' TEMP_FILES.Add(tempfile)
|
||||||
|
' LOGGER.Info(">> Attachment (" & i1 & "):" & tempfile)
|
||||||
|
' 'nun der Insert des Anhanges
|
||||||
|
' erfolgreich = Insert_GI_File(tempfile, ATT_EXTR)
|
||||||
|
' i1 += 1
|
||||||
|
' End If
|
||||||
|
' End If
|
||||||
|
' Next
|
||||||
|
' End If
|
||||||
|
' Return erfolgreich
|
||||||
|
' Catch ex As Exception
|
||||||
|
' MsgBox("Error in Email_Decay: " & ex.Message, MsgBoxStyle.Critical)
|
||||||
|
' End Try
|
||||||
|
'End Function
|
||||||
|
|
||||||
|
Private Function Insert_GI_File(filename As String, handleType As String)
|
||||||
|
Try
|
||||||
|
filename = filename.Replace("'", "''")
|
||||||
|
|
||||||
|
Dim oHash As String = String.Empty
|
||||||
|
|
||||||
|
If File.Exists(filename) Then
|
||||||
|
If (filename.ToUpper.EndsWith(".MSG") Or filename.ToUpper.EndsWith(".EML")) And (handleType = "|OUTLOOK_MESSAGE|" Or handleType = "|MSGONLY|") Then
|
||||||
|
oHash = FILESYSTEM.GetChecksumFromString(filename)
|
||||||
|
Else
|
||||||
|
oHash = FILESYSTEM.GetChecksum(filename)
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
Dim filename_only As String = Path.GetFileName(filename)
|
||||||
|
Dim ins As String = $"INSERT INTO TBGI_FILES_USER (FILENAME2WORK, USER@WORK, HANDLE_TYPE, FILENAME_ONLY, FILE_HASH) VALUES ('{filename}','{Environment.UserName}','{handleType}','{filename_only}', '{oHash}')"
|
||||||
|
Return DATABASE_ECM.ExecuteNonQuery(ins)
|
||||||
|
|
||||||
|
Catch ex As Exception
|
||||||
|
Return False
|
||||||
|
End Try
|
||||||
|
End Function
|
||||||
|
Public Function IsFileInUse(ByVal fullFilePath As String) As Boolean
|
||||||
|
' Gibt zurück, ob die übergebene Datei momentan exklusiv zu haben ist.
|
||||||
|
' Prüft, ob die angegeben Datei aktuell durch eine
|
||||||
|
' andere Anwendung in Benutzung ist
|
||||||
|
Dim ff As Integer = FreeFile()
|
||||||
|
If File.Exists(fullFilePath) Then
|
||||||
|
Try
|
||||||
|
' Versuchen, die Datei mit *exklusiven* Lese- und
|
||||||
|
' Schreibrechten zu öffnen
|
||||||
|
FileOpen(ff, fullFilePath, OpenMode.Binary, OpenAccess.ReadWrite, OpenShare.LockReadWrite)
|
||||||
|
Catch ex As Exception
|
||||||
|
' Ist ein Fehler aufgetreten, so wird nach außen hin generell
|
||||||
|
' davon ausgegangen, dass die Datei in Benutzung ist (obwohl
|
||||||
|
' auch andere Ursachen, etwa Rechteprobleme, möglich sind).
|
||||||
|
Logger.Info(">> FileInUse Message: " & ex.Message)
|
||||||
|
IsFileInUse = True
|
||||||
|
Finally
|
||||||
|
' Die eventuell geöffnete Datei schließen
|
||||||
|
FileClose(ff)
|
||||||
|
End Try
|
||||||
|
Return False
|
||||||
|
End If
|
||||||
|
|
||||||
|
End Function
|
||||||
|
Public Function Versionierung_Datei(Dateiname As String)
|
||||||
|
Dim extension
|
||||||
|
Dim _NewFileString
|
||||||
|
Try
|
||||||
|
Dim version As Integer = 1
|
||||||
|
|
||||||
|
Dim Stammname As String = Path.GetDirectoryName(Dateiname) & "\" & Path.GetFileNameWithoutExtension(Dateiname).Trim()
|
||||||
|
extension = Path.GetExtension(Dateiname)
|
||||||
|
|
||||||
|
Dim _neuername As String = Stammname
|
||||||
|
'Dim MoveFilename As String = DATEINAME.Replace(element.Value, "")
|
||||||
|
'Überprüfen ob File existiert
|
||||||
|
If File.Exists(_neuername & extension) = False Then
|
||||||
|
_NewFileString = _neuername
|
||||||
|
Else
|
||||||
|
Do While File.Exists(_neuername & extension)
|
||||||
|
version += 1
|
||||||
|
_neuername = Stammname & "~" & version
|
||||||
|
_NewFileString = _neuername
|
||||||
|
Loop
|
||||||
|
End If
|
||||||
|
Return _NewFileString & extension
|
||||||
|
Catch ex As Exception
|
||||||
|
Logger.Info(" - Error in versioning file - error: " & vbNewLine & ex.Message)
|
||||||
|
Logger.Error(ex)
|
||||||
|
MsgBox(ex.Message, MsgBoxStyle.Critical, "Error in versioning file:")
|
||||||
|
Return ""
|
||||||
|
End Try
|
||||||
|
|
||||||
|
End Function
|
||||||
|
'' <summary>
|
||||||
|
''' Ersetzt alle nicht zulässigen Zeichen im angegebenen Dateinamen
|
||||||
|
''' </summary>
|
||||||
|
''' <param name="sFilename">Dateiname ohne Pfadangabe</param>
|
||||||
|
''' <param name="sChar">Ersatzzeichen für alle unzulässigen Zeichen
|
||||||
|
''' im Dateinamen</param>
|
||||||
|
Public Function CleanFilename(ByVal sFilename As String, Optional ByVal REPLACEChar As String = "") As String
|
||||||
|
Logger.Info(" >> Filename before CleanFilename: '" & sFilename & "'")
|
||||||
|
If sFilename.Contains(".\") Then
|
||||||
|
sFilename = sFilename.Replace(".\", "\")
|
||||||
|
End If
|
||||||
|
'If sFilename.Contains("'") Then
|
||||||
|
' sFilename = sFilename.Replace("'", "")
|
||||||
|
'End If
|
||||||
|
'If sFilename.Contains("..") Then
|
||||||
|
' sFilename = sFilename.Replace("..", ".")
|
||||||
|
'End If
|
||||||
|
' alle nicht zulässigen Zeichen ersetzen
|
||||||
|
sFilename = System.Text.RegularExpressions.Regex.Replace(sFilename, REGEX_CLEAN_FILENAME, REPLACEChar)
|
||||||
|
sFilename = System.Text.RegularExpressions.Regex.Replace(sFilename, "[\\/:*?""<>|\r\n]", "", System.Text.RegularExpressions.RegexOptions.Singleline)
|
||||||
|
'Dim oCleanFileName As String = String.Join(REPLACEChar, sFilename.Split(Path.GetInvalidFileNameChars()))
|
||||||
|
Dim oCleanFileName As New System.IO.FileInfo(System.Text.RegularExpressions.Regex.Replace(sFilename, String.Format("[{0}]", String.Join(String.Empty, Path.GetInvalidFileNameChars)), REPLACEChar))
|
||||||
|
Logger.Info(" >> Filename after CleanFilename: '" & sFilename & "'")
|
||||||
|
Return sFilename
|
||||||
|
End Function
|
||||||
|
End Class
|
||||||
@@ -1,234 +0,0 @@
|
|||||||
Imports System.IO
|
|
||||||
Imports System.Text.RegularExpressions
|
|
||||||
Imports Independentsoft
|
|
||||||
|
|
||||||
Public Class ClassFilehandle
|
|
||||||
''' <summary>
|
|
||||||
''' Diese Funktion entfernt alle Zeichen aus dem übergebenen String
|
|
||||||
''' die in Dateinamen nicht erlaubt sind.
|
|
||||||
''' </summary>
|
|
||||||
''' <param name="Input">Der zu prüfende String</param>
|
|
||||||
''' <returns>String ohne nichterlaubte Zeichen</returns>
|
|
||||||
Public Shared Function InvalidCharacters(Input As String) As String
|
|
||||||
Dim replacement = ""
|
|
||||||
'Return System.Text.RegularExpressions.Regex.Replace(Input, "[\\/:*?""<>|\r\n]", "", System.Text.RegularExpressions.RegexOptions.Singleline)
|
|
||||||
Dim regexSearch = New String(Path.GetInvalidFileNameChars()) & New String(Path.GetInvalidPathChars())
|
|
||||||
Dim r = New Regex(String.Format("[{0}]", Regex.Escape(regexSearch)))
|
|
||||||
Return r.Replace(Input, replacement)
|
|
||||||
End Function
|
|
||||||
Public Shared Function Decide_FileHandle(filename As String, handletype As String)
|
|
||||||
Try
|
|
||||||
If filename.EndsWith(".msg") Then
|
|
||||||
CURRENT_MESSAGEID = ""
|
|
||||||
Dim _msg As New Msg.Message(filename)
|
|
||||||
If _msg.Attachments.Count > 0 Then
|
|
||||||
Dim result As MsgBoxResult
|
|
||||||
|
|
||||||
If USER_LANGUAGE = "de-DE" Then
|
|
||||||
result = MessageBox.Show(New Form With {.TopMost = True}, "Achtung: Die Email enthält Anhänge!" & vbNewLine & "Wollen Sie die Anhänge separat indexieren und herauslösen?", "Nachfrage zur Indexierung:", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
|
|
||||||
Else
|
|
||||||
result = MessageBox.Show(New Form With {.TopMost = True}, "Attention: This Email contains Attachments!" & vbNewLine & "Do you want to extract the attachments and index them seperately?", "Question about Indexing:", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
|
|
||||||
End If
|
|
||||||
|
|
||||||
If result = MsgBoxResult.Yes Then
|
|
||||||
If handletype.StartsWith("|FW") Then
|
|
||||||
Return Email_Decay(filename, True)
|
|
||||||
Else
|
|
||||||
Return Email_Decay(filename)
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
|
|
||||||
If filename.ToUpper.EndsWith(".LNK") Then
|
|
||||||
If USER_LANGUAGE = "de-DE" Then
|
|
||||||
MsgBox("Verknüpfungen können nicht abgelegt werden!", MsgBoxStyle.Critical, "Global Indexer")
|
|
||||||
Else
|
|
||||||
MsgBox("Shortcuts cannot be droppped!", MsgBoxStyle.Critical, "Global Indexer")
|
|
||||||
End If
|
|
||||||
Return False
|
|
||||||
End If
|
|
||||||
|
|
||||||
Return Insert_GI_File(filename, handletype)
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Unexpected Error in Decide_FileHandle: " & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
Return False
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
Private Shared Function Email_Decay(msgname As String, Optional FW As Boolean = False)
|
|
||||||
Try
|
|
||||||
Dim msgonly As String = "|MSGONLY|"
|
|
||||||
Dim ATT_EXTR As String = "|ATTMNTEXTRACTED|"
|
|
||||||
If FW = True Then
|
|
||||||
msgonly = "|FW_MSGONLY|"
|
|
||||||
ATT_EXTR = "|FW_ATTMNTEXTRACTED|"
|
|
||||||
End If
|
|
||||||
Dim erfolgreich As Boolean = False
|
|
||||||
Dim msg As New Msg.Message(msgname)
|
|
||||||
|
|
||||||
If Not msg.InternetMessageId Is Nothing Then
|
|
||||||
CURRENT_MESSAGEID = msg.InternetMessageId
|
|
||||||
Else
|
|
||||||
LOGGER.Info(">> Email_Decay: Es konnte keine Message-ID gelesen werden. Eine GUID wird erzeugt!")
|
|
||||||
Dim sGUID As String
|
|
||||||
sGUID = System.Guid.NewGuid.ToString()
|
|
||||||
CURRENT_MESSAGEID = sGUID
|
|
||||||
End If
|
|
||||||
|
|
||||||
'Nur die MSGDatei ablegen
|
|
||||||
Dim tempfile As String = Path.Combine(Path.GetTempPath, Path.GetFileNameWithoutExtension(msgname) & "_excl_att.msg")
|
|
||||||
|
|
||||||
If File.Exists(tempfile) Then
|
|
||||||
File.Delete(tempfile)
|
|
||||||
End If
|
|
||||||
Dim _msgEXAtt As New Msg.Message(msgname)
|
|
||||||
_msgEXAtt.Attachments.Clear()
|
|
||||||
_msgEXAtt.Save(tempfile)
|
|
||||||
'Datei in Array zum Templöschen speichern
|
|
||||||
TEMP_FILES.Add(tempfile)
|
|
||||||
|
|
||||||
If Insert_GI_File(tempfile, msgonly) = True Then
|
|
||||||
erfolgreich = True
|
|
||||||
'Hier nun die Anhänge herauslösen
|
|
||||||
Dim _msg As New Msg.Message(msgname)
|
|
||||||
Dim i1 As Integer = 1
|
|
||||||
|
|
||||||
LOGGER.Info(">> Anzahl der Attachments: " & _msg.Attachments.Count)
|
|
||||||
For Each attachment As Independentsoft.Msg.Attachment In _msg.Attachments
|
|
||||||
If erfolgreich = False Then
|
|
||||||
Exit For
|
|
||||||
End If
|
|
||||||
Dim attachment_name As String
|
|
||||||
If attachment.LongFileName Is Nothing Then
|
|
||||||
attachment_name = attachment.DisplayName
|
|
||||||
Else
|
|
||||||
attachment_name = attachment.LongFileName
|
|
||||||
End If
|
|
||||||
If attachment.EmbeddedMessage IsNot Nothing Then
|
|
||||||
attachment_name = ClassFilehandle.InvalidCharacters(attachment_name)
|
|
||||||
tempfile = Path.Combine(Path.GetTempPath, attachment_name & ".msg")
|
|
||||||
tempfile = ClassFilehandle.Versionierung_Datei(tempfile)
|
|
||||||
|
|
||||||
If tempfile <> String.Empty Then
|
|
||||||
Dim oMessage = attachment.EmbeddedMessage
|
|
||||||
oMessage.Save(tempfile)
|
|
||||||
TEMP_FILES.Add(tempfile)
|
|
||||||
LOGGER.Info(">> Attachment (" & i1 & "):" & tempfile)
|
|
||||||
erfolgreich = Insert_GI_File(tempfile, ATT_EXTR)
|
|
||||||
i1 += 1
|
|
||||||
End If
|
|
||||||
ElseIf Not attachment_name.Contains("inline") Then
|
|
||||||
'Sonderzeichen entfernen
|
|
||||||
attachment_name = ClassFilehandle.InvalidCharacters(attachment_name)
|
|
||||||
tempfile = Path.Combine(Path.GetTempPath, attachment_name)
|
|
||||||
tempfile = ClassFilehandle.Versionierung_Datei(tempfile)
|
|
||||||
If tempfile <> "" Then
|
|
||||||
attachment.Save(tempfile)
|
|
||||||
'Datei in Array zum Templöschen speichern
|
|
||||||
TEMP_FILES.Add(tempfile)
|
|
||||||
LOGGER.Info(">> Attachment (" & i1 & "):" & tempfile)
|
|
||||||
'nun der Insert des Anhanges
|
|
||||||
erfolgreich = Insert_GI_File(tempfile, ATT_EXTR)
|
|
||||||
i1 += 1
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
Next
|
|
||||||
End If
|
|
||||||
Return erfolgreich
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Error in Email_Decay: " & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
|
|
||||||
Private Shared Function Insert_GI_File(filename As String, handleType As String)
|
|
||||||
Try
|
|
||||||
filename = filename.Replace("'", "''")
|
|
||||||
|
|
||||||
Dim filename_only As String = Path.GetFileName(filename)
|
|
||||||
Dim ins As String = "INSERT INTO TBGI_FILES_USER (FILENAME2WORK, USER@WORK,HANDLE_TYPE,FILENAME_ONLY) VALUES ('" & filename & "','" & Environment.UserName & "','" & handleType & "','" & filename_only & "')"
|
|
||||||
Return ClassDatabase.Execute_non_Query(ins, True)
|
|
||||||
|
|
||||||
Catch ex As Exception
|
|
||||||
Return False
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
Public Shared Function IsFileInUse(ByVal fullFilePath As String) As Boolean
|
|
||||||
' Gibt zurück, ob die übergebene Datei momentan exklusiv zu haben ist.
|
|
||||||
' Prüft, ob die angegeben Datei aktuell durch eine
|
|
||||||
' andere Anwendung in Benutzung ist
|
|
||||||
Dim ff As Integer = FreeFile()
|
|
||||||
If System.IO.File.Exists(fullFilePath) Then
|
|
||||||
Try
|
|
||||||
' Versuchen, die Datei mit *exklusiven* Lese- und
|
|
||||||
' Schreibrechten zu öffnen
|
|
||||||
FileOpen(ff, fullFilePath, OpenMode.Binary, OpenAccess.ReadWrite, OpenShare.LockReadWrite)
|
|
||||||
Catch ex As Exception
|
|
||||||
' Ist ein Fehler aufgetreten, so wird nach außen hin generell
|
|
||||||
' davon ausgegangen, dass die Datei in Benutzung ist (obwohl
|
|
||||||
' auch andere Ursachen, etwa Rechteprobleme, möglich sind).
|
|
||||||
LOGGER.Info(">> FileInUse Message: " & ex.Message)
|
|
||||||
IsFileInUse = True
|
|
||||||
Finally
|
|
||||||
' Die eventuell geöffnete Datei schließen
|
|
||||||
FileClose(ff)
|
|
||||||
End Try
|
|
||||||
Return False
|
|
||||||
End If
|
|
||||||
|
|
||||||
End Function
|
|
||||||
Public Shared Function Versionierung_Datei(Dateiname As String)
|
|
||||||
Dim extension
|
|
||||||
Dim _NewFileString
|
|
||||||
Try
|
|
||||||
Dim version As Integer = 1
|
|
||||||
|
|
||||||
Dim Stammname As String = Path.GetDirectoryName(Dateiname) & "\" & Path.GetFileNameWithoutExtension(Dateiname)
|
|
||||||
extension = Path.GetExtension(Dateiname)
|
|
||||||
|
|
||||||
Dim _neuername As String = Stammname
|
|
||||||
'Dim MoveFilename As String = DATEINAME.Replace(element.Value, "")
|
|
||||||
'Überprüfen ob File existiert
|
|
||||||
If File.Exists(_neuername & extension) = False Then
|
|
||||||
_NewFileString = _neuername
|
|
||||||
Else
|
|
||||||
Do While File.Exists(_neuername & extension)
|
|
||||||
version = version + 1
|
|
||||||
_neuername = Stammname & "~" & version
|
|
||||||
_NewFileString = _neuername
|
|
||||||
Loop
|
|
||||||
End If
|
|
||||||
Return _NewFileString & extension
|
|
||||||
Catch ex As Exception
|
|
||||||
LOGGER.Info(" - Error in versioning file - error: " & vbNewLine & ex.Message)
|
|
||||||
LOGGER.Error(ex.Message)
|
|
||||||
MsgBox(ex.Message, MsgBoxStyle.Critical, "Error in versioning file:")
|
|
||||||
Return ""
|
|
||||||
End Try
|
|
||||||
|
|
||||||
End Function
|
|
||||||
'' <summary>
|
|
||||||
''' Ersetzt alle nicht zulässigen Zeichen im angegebenen Dateinamen
|
|
||||||
''' </summary>
|
|
||||||
''' <param name="sFilename">Dateiname ohne Pfadangabe</param>
|
|
||||||
''' <param name="sChar">Ersatzzeichen für alle unzulässigen Zeichen
|
|
||||||
''' im Dateinamen</param>
|
|
||||||
Public Shared Function CleanFilename(ByVal sFilename As String, Optional ByVal REPLACEChar As String = "") As String
|
|
||||||
LOGGER.Info(" >> Filename before CleanFilename: '" & sFilename & "'")
|
|
||||||
If sFilename.Contains(".\") Then
|
|
||||||
sFilename = sFilename.Replace(".\", "\")
|
|
||||||
End If
|
|
||||||
'If sFilename.Contains("'") Then
|
|
||||||
' sFilename = sFilename.Replace("'", "")
|
|
||||||
'End If
|
|
||||||
'If sFilename.Contains("..") Then
|
|
||||||
' sFilename = sFilename.Replace("..", ".")
|
|
||||||
'End If
|
|
||||||
' alle nicht zulässigen Zeichen ersetzen
|
|
||||||
sFilename = System.Text.RegularExpressions.Regex.Replace(sFilename, REGEX_CLEAN_FILENAME, REPLACEChar)
|
|
||||||
sFilename = System.Text.RegularExpressions.Regex.Replace(sFilename, "[\\/:*?""<>|\r\n]", "", System.Text.RegularExpressions.RegexOptions.Singleline)
|
|
||||||
'Dim oCleanFileName As String = String.Join(REPLACEChar, sFilename.Split(Path.GetInvalidFileNameChars()))
|
|
||||||
Dim oCleanFileName As New System.IO.FileInfo(System.Text.RegularExpressions.Regex.Replace(sFilename, String.Format("[{0}]", String.Join(String.Empty, Path.GetInvalidFileNameChars)), REPLACEChar))
|
|
||||||
LOGGER.Info(" >> Filename after CleanFilename: '" & sFilename & "'")
|
|
||||||
Return sFilename
|
|
||||||
End Function
|
|
||||||
End Class
|
|
||||||
@@ -1,11 +1,25 @@
|
|||||||
Imports System.IO
|
Imports System.IO
|
||||||
Imports Independentsoft
|
|
||||||
Imports System.Threading
|
Imports System.Threading
|
||||||
|
Imports DigitalData.Modules.Base
|
||||||
|
Imports DigitalData.Modules.Logging
|
||||||
|
|
||||||
Public Class ClassFolderWatcher
|
Public Class ClassFolderWatcher
|
||||||
Public Shared FolderWatcher As FileSystemWatcher
|
Inherits BaseClass
|
||||||
Public Shared FolderWatcher_SCAN As FileSystemWatcher
|
|
||||||
Public Shared Function Restart_FolderWatch()
|
Public FolderWatcher As FileSystemWatcher
|
||||||
|
Public FolderWatcher_SCAN As FileSystemWatcher
|
||||||
|
|
||||||
|
Public Event FileCreated As EventHandler(Of FileSystemEventArgs)
|
||||||
|
|
||||||
|
Public Sub New(pLogConfig As LogConfig)
|
||||||
|
MyBase.New(pLogConfig)
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub OnCreated(source As Object, e As IO.FileSystemEventArgs)
|
||||||
|
RaiseEvent FileCreated(source, e)
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Public Sub Restart_FolderWatch()
|
||||||
Try
|
Try
|
||||||
If FolderWatcher.EnableRaisingEvents = True Then
|
If FolderWatcher.EnableRaisingEvents = True Then
|
||||||
'Gestartet also Stoppen
|
'Gestartet also Stoppen
|
||||||
@@ -13,41 +27,40 @@ Public Class ClassFolderWatcher
|
|||||||
FW_started = False
|
FW_started = False
|
||||||
'FolderWatch neu instanzieren
|
'FolderWatch neu instanzieren
|
||||||
FolderWatcher = New System.IO.FileSystemWatcher(CURRENT_FOLDERWATCH, "*.*")
|
FolderWatcher = New System.IO.FileSystemWatcher(CURRENT_FOLDERWATCH, "*.*")
|
||||||
LOGGER.Info(" >> FolderWatch neu instanziert")
|
|
||||||
|
Logger.Info(" >> FolderWatch neu instanziert")
|
||||||
FolderWatcher.IncludeSubdirectories = False
|
FolderWatcher.IncludeSubdirectories = False
|
||||||
FolderWatcher.EnableRaisingEvents = True
|
FolderWatcher.EnableRaisingEvents = True
|
||||||
AddHandler FolderWatcher.Created, AddressOf OnCreated
|
AddHandler FolderWatcher.Created, AddressOf OnCreated
|
||||||
FW_started = True
|
FW_started = True
|
||||||
'SaveConfigValue("FW_started", "True")
|
|
||||||
CONFIG.Config.FolderWatchStarted = True
|
CONFIG.Config.FolderWatchStarted = True
|
||||||
CONFIG.Save()
|
CONFIG.Save()
|
||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LOGGER.Info($"Error in Restart_FolderWatch: {ex.Message}")
|
Logger.Info($"Error in Restart_FolderWatch: {ex.Message}")
|
||||||
LOGGER.Error(ex.Message)
|
Logger.Error(ex)
|
||||||
End Try
|
End Try
|
||||||
End Function
|
End Sub
|
||||||
Public Shared Function Restart_FolderWatchSCAN()
|
Public Sub Restart_FolderWatchSCAN()
|
||||||
Try
|
Try
|
||||||
If FolderWatcher_SCAN.EnableRaisingEvents = True Then
|
If FolderWatcher_SCAN.EnableRaisingEvents = True Then
|
||||||
'Gestartet also Stoppen
|
'Gestartet also Stoppen
|
||||||
FolderWatcher_SCAN.EnableRaisingEvents = False
|
FolderWatcher_SCAN.EnableRaisingEvents = False
|
||||||
'FolderWatch neu instanzieren
|
'FolderWatch neu instanzieren
|
||||||
FolderWatcher_SCAN = New System.IO.FileSystemWatcher(CURRENT_SCAN_FOLDERWATCH, "*.*")
|
FolderWatcher_SCAN = New System.IO.FileSystemWatcher(CURRENT_SCAN_FOLDERWATCH, "*.*")
|
||||||
LOGGER.Info(" >> FolderWatchScan neu instanziert")
|
Logger.Info(" >> FolderWatchScan neu instanziert")
|
||||||
FolderWatcher_SCAN.IncludeSubdirectories = False
|
FolderWatcher_SCAN.IncludeSubdirectories = False
|
||||||
FolderWatcher_SCAN.EnableRaisingEvents = True
|
FolderWatcher_SCAN.EnableRaisingEvents = True
|
||||||
AddHandler FolderWatcher_SCAN.Created, AddressOf OnCreated
|
AddHandler FolderWatcher_SCAN.Created, AddressOf OnCreated
|
||||||
'SaveConfigValue("FWSCAN_started", "True")
|
|
||||||
CONFIG.Config.FolderWatchScanStarted = True
|
CONFIG.Config.FolderWatchScanStarted = True
|
||||||
CONFIG.Save()
|
CONFIG.Save()
|
||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LOGGER.Info($"Error in Restart_FolderWatchSCAN: {ex.Message}")
|
Logger.Info($"Error in Restart_FolderWatchSCAN: {ex.Message}")
|
||||||
LOGGER.Error(ex.Message)
|
Logger.Error(ex)
|
||||||
End Try
|
End Try
|
||||||
End Function
|
End Sub
|
||||||
Public Shared Function StartStop_FolderWatch()
|
Public Function StartStop_FolderWatch() As Integer
|
||||||
Try
|
Try
|
||||||
If CURRENT_FOLDERWATCH = "" Then
|
If CURRENT_FOLDERWATCH = "" Then
|
||||||
'MsgBox("Bitte definieren Sie einen Überwachungsordner:", MsgBoxStyle.Exclamation)
|
'MsgBox("Bitte definieren Sie einen Überwachungsordner:", MsgBoxStyle.Exclamation)
|
||||||
@@ -55,12 +68,11 @@ Public Class ClassFolderWatcher
|
|||||||
End If
|
End If
|
||||||
If FolderWatcher Is Nothing Then
|
If FolderWatcher Is Nothing Then
|
||||||
FolderWatcher = New System.IO.FileSystemWatcher(CURRENT_FOLDERWATCH, "*.*")
|
FolderWatcher = New System.IO.FileSystemWatcher(CURRENT_FOLDERWATCH, "*.*")
|
||||||
LOGGER.Info(" >> FolderWatch Gestartet")
|
Logger.Info(" >> FolderWatch Gestartet")
|
||||||
FolderWatcher.IncludeSubdirectories = False
|
FolderWatcher.IncludeSubdirectories = False
|
||||||
FolderWatcher.EnableRaisingEvents = True
|
FolderWatcher.EnableRaisingEvents = True
|
||||||
AddHandler FolderWatcher.Created, AddressOf OnCreated
|
AddHandler FolderWatcher.Created, AddressOf OnCreated
|
||||||
FW_started = True
|
FW_started = True
|
||||||
'SaveConfigValue("FW_started", "True")
|
|
||||||
CONFIG.Config.FolderWatchStarted = True
|
CONFIG.Config.FolderWatchStarted = True
|
||||||
CONFIG.Save()
|
CONFIG.Save()
|
||||||
Return 1
|
Return 1
|
||||||
@@ -69,12 +81,11 @@ Public Class ClassFolderWatcher
|
|||||||
' Dim watcher As New FileSystemWatcher()
|
' Dim watcher As New FileSystemWatcher()
|
||||||
' watcher.Path = CURRENT_FOLDERWATCH
|
' watcher.Path = CURRENT_FOLDERWATCH
|
||||||
FolderWatcher = New System.IO.FileSystemWatcher(CURRENT_FOLDERWATCH, "*.*")
|
FolderWatcher = New System.IO.FileSystemWatcher(CURRENT_FOLDERWATCH, "*.*")
|
||||||
LOGGER.Info(" >> FolderWatch Gestartet")
|
Logger.Info(" >> FolderWatch Gestartet")
|
||||||
FolderWatcher.IncludeSubdirectories = False
|
FolderWatcher.IncludeSubdirectories = False
|
||||||
FolderWatcher.EnableRaisingEvents = True
|
FolderWatcher.EnableRaisingEvents = True
|
||||||
AddHandler FolderWatcher.Created, AddressOf OnCreated
|
AddHandler FolderWatcher.Created, AddressOf OnCreated
|
||||||
FW_started = True
|
FW_started = True
|
||||||
'SaveConfigValue("FW_started", "True")
|
|
||||||
CONFIG.Config.FolderWatchStarted = True
|
CONFIG.Config.FolderWatchStarted = True
|
||||||
CONFIG.Save()
|
CONFIG.Save()
|
||||||
Return 1
|
Return 1
|
||||||
@@ -82,30 +93,17 @@ Public Class ClassFolderWatcher
|
|||||||
'Gestartet also Stoppen
|
'Gestartet also Stoppen
|
||||||
FolderWatcher.EnableRaisingEvents = False
|
FolderWatcher.EnableRaisingEvents = False
|
||||||
FW_started = False
|
FW_started = False
|
||||||
LOGGER.Info(" >> FolderWatch gestoppt")
|
Logger.Info(" >> FolderWatch gestoppt")
|
||||||
'SaveConfigValue("FW_started", "False")
|
|
||||||
CONFIG.Config.FolderWatchStarted = False
|
CONFIG.Config.FolderWatchStarted = False
|
||||||
CONFIG.Save()
|
CONFIG.Save()
|
||||||
Return 0
|
Return 0
|
||||||
End If
|
End If
|
||||||
'If watcher.EnableRaisingEvents = False Then
|
|
||||||
' watcher = New System.IO.FileSystemWatcher(CURRENT_FOLDERWATCH, "*.*")
|
|
||||||
' LOGGER.Info(" - vFolderWatch.Gestartet")
|
|
||||||
' watcher.IncludeSubdirectories = False
|
|
||||||
' watcher.EnableRaisingEvents = True
|
|
||||||
' AddHandler watcher.Created, AddressOf OnCreated
|
|
||||||
' Return 1
|
|
||||||
'Else
|
|
||||||
' 'Gestartet also Stoppen
|
|
||||||
' watcher.EnableRaisingEvents = False
|
|
||||||
' Return 0
|
|
||||||
'End If
|
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
MsgBox("Error in StartStop_FolderWatch:" & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
MsgBox("Error in StartStop_FolderWatch:" & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
||||||
Return 99
|
Return 99
|
||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
Public Shared Function StartStop_FolderWatchSCAN()
|
Public Function StartStop_FolderWatchSCAN() As Integer
|
||||||
Try
|
Try
|
||||||
If CURRENT_SCAN_FOLDERWATCH = "" Then
|
If CURRENT_SCAN_FOLDERWATCH = "" Then
|
||||||
If FolderWatcher.EnableRaisingEvents = True Then
|
If FolderWatcher.EnableRaisingEvents = True Then
|
||||||
@@ -122,8 +120,8 @@ Public Class ClassFolderWatcher
|
|||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
If FolderWatcher_SCAN Is Nothing Then
|
If FolderWatcher_SCAN Is Nothing Then
|
||||||
FolderWatcher_SCAN = New System.IO.FileSystemWatcher(CURRENT_SCAN_FOLDERWATCH, "*.*")
|
FolderWatcher_SCAN = New FileSystemWatcher(CURRENT_SCAN_FOLDERWATCH, "*.*")
|
||||||
LOGGER.Info(" >> FolderWatch Scan Gestartet")
|
Logger.Info(" >> FolderWatch Scan Gestartet")
|
||||||
FolderWatcher_SCAN.IncludeSubdirectories = False
|
FolderWatcher_SCAN.IncludeSubdirectories = False
|
||||||
FolderWatcher_SCAN.EnableRaisingEvents = True
|
FolderWatcher_SCAN.EnableRaisingEvents = True
|
||||||
AddHandler FolderWatcher_SCAN.Created, AddressOf OnCreated
|
AddHandler FolderWatcher_SCAN.Created, AddressOf OnCreated
|
||||||
@@ -134,8 +132,8 @@ Public Class ClassFolderWatcher
|
|||||||
If FolderWatcher_SCAN.EnableRaisingEvents = False Then
|
If FolderWatcher_SCAN.EnableRaisingEvents = False Then
|
||||||
' Dim watcher As New FileSystemWatcher()
|
' Dim watcher As New FileSystemWatcher()
|
||||||
' watcher.Path = CURRENT_FOLDERWATCH
|
' watcher.Path = CURRENT_FOLDERWATCH
|
||||||
FolderWatcher_SCAN = New System.IO.FileSystemWatcher(CURRENT_SCAN_FOLDERWATCH, "*.*")
|
FolderWatcher_SCAN = New FileSystemWatcher(CURRENT_SCAN_FOLDERWATCH, "*.*")
|
||||||
LOGGER.Info(" >> FolderWatch Scan Gestartet")
|
Logger.Info(" >> FolderWatch Scan Gestartet")
|
||||||
FolderWatcher_SCAN.IncludeSubdirectories = False
|
FolderWatcher_SCAN.IncludeSubdirectories = False
|
||||||
FolderWatcher_SCAN.EnableRaisingEvents = True
|
FolderWatcher_SCAN.EnableRaisingEvents = True
|
||||||
AddHandler FolderWatcher_SCAN.Created, AddressOf OnCreated
|
AddHandler FolderWatcher_SCAN.Created, AddressOf OnCreated
|
||||||
@@ -145,8 +143,7 @@ Public Class ClassFolderWatcher
|
|||||||
Else
|
Else
|
||||||
'Gestartet also Stoppen
|
'Gestartet also Stoppen
|
||||||
FolderWatcher_SCAN.EnableRaisingEvents = False
|
FolderWatcher_SCAN.EnableRaisingEvents = False
|
||||||
LOGGER.Info(" >> FolderWatch Scan gestoppt")
|
Logger.Info(" >> FolderWatch Scan gestoppt")
|
||||||
'SaveConfigValue("FWSCAN_started", "False")
|
|
||||||
CONFIG.Config.FolderWatchScanStarted = False
|
CONFIG.Config.FolderWatchScanStarted = False
|
||||||
CONFIG.Save()
|
CONFIG.Save()
|
||||||
Return 0
|
Return 0
|
||||||
@@ -157,12 +154,12 @@ Public Class ClassFolderWatcher
|
|||||||
Return 99
|
Return 99
|
||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
Public Shared Function Stop_FWSCAN()
|
Public Function Stop_FWSCAN() As Boolean
|
||||||
If FolderWatcher.EnableRaisingEvents = True Then
|
If FolderWatcher.EnableRaisingEvents = True Then
|
||||||
'Gestartet also Stoppen
|
'Gestartet also Stoppen
|
||||||
FolderWatcher.EnableRaisingEvents = False
|
FolderWatcher.EnableRaisingEvents = False
|
||||||
FW_started = False
|
FW_started = False
|
||||||
LOGGER.Info(" >> FolderWatch gestoppt")
|
Logger.Info(" >> FolderWatch gestoppt")
|
||||||
'SaveConfigValue("FW_started", "False")
|
'SaveConfigValue("FW_started", "False")
|
||||||
CONFIG.Config.FolderWatchStarted = True
|
CONFIG.Config.FolderWatchStarted = True
|
||||||
CONFIG.Save()
|
CONFIG.Save()
|
||||||
@@ -171,38 +168,31 @@ Public Class ClassFolderWatcher
|
|||||||
Return False
|
Return False
|
||||||
End If
|
End If
|
||||||
End Function
|
End Function
|
||||||
Private Shared Sub OnCreated(source As Object, e As FileSystemEventArgs)
|
'Private Sub OnCreated(source As Object, e As FileSystemEventArgs)
|
||||||
If ClassDatabase.DatabaseConnectionTimeout = True Then
|
' Try
|
||||||
LOGGER.Info(">> File handling aborted because of database timeout error!")
|
' For Each row As DataRow In DTEXCLUDE_FILES.Rows
|
||||||
Exit Sub
|
' Dim content As String = row.Item(0).ToString.ToLower
|
||||||
End If
|
' If e.FullPath.ToLower.Contains(content) Then
|
||||||
|
' Exit Sub
|
||||||
|
' End If
|
||||||
|
' Next
|
||||||
|
|
||||||
Try
|
' Dim oHandleType As String
|
||||||
For Each row As DataRow In DTEXCLUDE_FILES.Rows
|
' If e.FullPath.ToLower.EndsWith(".msg") Then
|
||||||
Dim content As String = row.Item(0).ToString.ToLower
|
' oHandleType = "|FW_OUTLOOK_MESSAGE|"
|
||||||
If e.FullPath.ToLower.Contains(content) Then
|
' Else
|
||||||
Exit Sub
|
' oHandleType = "|FW_SIMPLEINDEXER|"
|
||||||
End If
|
' End If
|
||||||
Next
|
' 'Die Datei übergeben
|
||||||
|
' Logger.Info(">> OnCreated-File:" & e.FullPath)
|
||||||
|
|
||||||
Dim handleType As String
|
' If ClassIndexFunctions.CheckDuplicateFiles(e.FullPath, "FolderWatch/Scan") Then
|
||||||
If e.FullPath.ToLower.EndsWith(".msg") Then
|
' FileHandler.Decide_FileHandle(e.FullPath, oHandleType)
|
||||||
handleType = "|FW_OUTLOOK_MESSAGE|"
|
' End If
|
||||||
Else
|
' Catch ex As Exception
|
||||||
handleType = "|FW_SIMPLEINDEXER|"
|
' MsgBox(ex.Message, MsgBoxStyle.Critical, "Error in folder_watch_Created")
|
||||||
End If
|
' End Try
|
||||||
'Die Datei übergeben
|
|
||||||
LOGGER.Info(">> OnCreated-File:" & e.FullPath)
|
|
||||||
If ClassIndexFunctions.FileExistsinDropTable(e.FullPath) = False Then
|
|
||||||
ClassFilehandle.Decide_FileHandle(e.FullPath, handleType)
|
|
||||||
Else
|
|
||||||
LOGGER.Info(">> Folderwatcher: File already exists:" & e.FullPath)
|
|
||||||
End If
|
|
||||||
|
|
||||||
Catch ex As Exception
|
'End Sub
|
||||||
MsgBox(ex.Message, MsgBoxStyle.Critical, "Error in folder_watch_Created")
|
|
||||||
End Try
|
|
||||||
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -1,74 +0,0 @@
|
|||||||
Imports System.Text.RegularExpressions
|
|
||||||
Public Class ClassFormFunctions
|
|
||||||
Public Shared Function GetConnectionString(id As Integer)
|
|
||||||
Dim connectionString As String = ""
|
|
||||||
Try
|
|
||||||
'Me.TBCONNECTIONTableAdapter.FillByID(Me.DD_DMSLiteDataSet.TBCONNECTION, id)
|
|
||||||
Dim DTConnection As DataTable = ClassDatabase.Return_Datatable("SELECT * FROM TBDD_CONNECTION WHERE GUID = " & id)
|
|
||||||
If DTConnection.Rows.Count = 1 Then
|
|
||||||
Dim CSType = DTConnection.Rows(0).Item("SQL_PROVIDER").ToString.ToUpper
|
|
||||||
Select Case CSType
|
|
||||||
Case "MS-SQL".ToUpper
|
|
||||||
If DTConnection.Rows(0).Item("USERNAME").ToString.ToLower = "winauth" Then
|
|
||||||
connectionString = "Data Source=" & DTConnection.Rows(0).Item("SERVER") & ";Initial Catalog= " & DTConnection.Rows(0).Item("DATENBANK") & ";Trusted_Connection=True;"
|
|
||||||
Else
|
|
||||||
connectionString = "Data Source=" & DTConnection.Rows(0).Item("SERVER") & ";Initial Catalog= " & DTConnection.Rows(0).Item("DATENBANK") & ";User Id=" & DTConnection.Rows(0).Item("USERNAME") & ";Password=" & DTConnection.Rows(0).Item("PASSWORD") & ";"
|
|
||||||
End If
|
|
||||||
Case "MS-SQLServer".ToUpper
|
|
||||||
If DTConnection.Rows(0).Item("USERNAME").ToString.ToLower = "winauth" Then
|
|
||||||
connectionString = "Data Source=" & DTConnection.Rows(0).Item("SERVER") & ";Initial Catalog= " & DTConnection.Rows(0).Item("DATENBANK") & ";Trusted_Connection=True;"
|
|
||||||
Else
|
|
||||||
connectionString = "Data Source=" & DTConnection.Rows(0).Item("SERVER") & ";Initial Catalog= " & DTConnection.Rows(0).Item("DATENBANK") & ";User Id=" & DTConnection.Rows(0).Item("USERNAME") & ";Password=" & DTConnection.Rows(0).Item("PASSWORD") & ";"
|
|
||||||
End If
|
|
||||||
|
|
||||||
Case "Oracle".ToUpper
|
|
||||||
If DTConnection.Rows(0).Item("BEMERKUNG").ToString.Contains("without tnsnames") Then
|
|
||||||
connectionString = "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=" & DTConnection.Rows(0).Item("SERVER") & ")(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=" &
|
|
||||||
DTConnection.Rows(0).Item("DATENBANK") & ")));User Id=" & DTConnection.Rows(0).Item("USERNAME") & ";Password=" & DTConnection.Rows(0).Item("PASSWORD") & ";"
|
|
||||||
Else
|
|
||||||
connectionString = "Data Source=" & DTConnection.Rows(0).Item("SERVER") & ";Persist Security Info=True;User Id=" & DTConnection.Rows(0).Item("USERNAME") & ";Password=" & DTConnection.Rows(0).Item("PASSWORD") & ";Unicode=True"
|
|
||||||
End If
|
|
||||||
'Dim conn As New OracleConnectionStringBuilder
|
|
||||||
|
|
||||||
'If chkOR_ohne_TNS.Checked Then
|
|
||||||
' connstr = "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=" & SERVERTextBox.Text & ")(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=" & _
|
|
||||||
' DATENBANKTextBox.Text & ")));User Id=" & USERNAMETextBox.Text & ";Password=" & PASSWORDTextBox.Text & ";"
|
|
||||||
'Else
|
|
||||||
' conn.DataSource = DATENBANKTextBox.Text
|
|
||||||
' conn.UserID = USERNAMETextBox.Text
|
|
||||||
' conn.Password = PASSWORDTextBox.Text
|
|
||||||
' conn.PersistSecurityInfo = True
|
|
||||||
' conn.ConnectionTimeout = 120
|
|
||||||
' connstr = conn.ConnectionString
|
|
||||||
'End If
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
'Data Source=MyOracleDB;User Id=myUsername;Password=myPassword;Integrated Security=no;
|
|
||||||
|
|
||||||
Case Else
|
|
||||||
LOGGER.Info(" - ConnectionType not integrated")
|
|
||||||
MsgBox("ConnectionType not integrated", MsgBoxStyle.Critical, "Please check connection:")
|
|
||||||
End Select
|
|
||||||
End If
|
|
||||||
|
|
||||||
Catch ex As Exception
|
|
||||||
LOGGER.Info(" - Unexpected Error in GetConnectionString:" & vbNewLine & ex.Message)
|
|
||||||
LOGGER.Error(ex.message)
|
|
||||||
MsgBox(ex.Message, MsgBoxStyle.Critical, "Error in GetConnectionString:")
|
|
||||||
|
|
||||||
End Try
|
|
||||||
Return connectionString
|
|
||||||
End Function
|
|
||||||
Public Shared Function CleanInput(strIn As String) As String
|
|
||||||
' Replace invalid characters with empty strings.
|
|
||||||
Try
|
|
||||||
Return Regex.Replace(strIn, "[^\w\.@-]", "")
|
|
||||||
' If we timeout when replacing invalid characters,
|
|
||||||
' we should return String.Empty.
|
|
||||||
Catch e As RegexMatchTimeoutException
|
|
||||||
Return String.Empty
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
|
|
||||||
End Class
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
Imports System.Text
|
|
||||||
Imports System.Text.RegularExpressions
|
|
||||||
|
|
||||||
Public Class ClassHelper
|
|
||||||
Public Shared Function encode_utf8(ByVal str As String) As String
|
|
||||||
Try
|
|
||||||
'supply True as the construction parameter to indicate
|
|
||||||
'that you wanted the class to emit BOM (Byte Order Mark)
|
|
||||||
'NOTE: this BOM value is the indicator of a UTF-8 string
|
|
||||||
Dim utf8Encoding As New System.Text.UTF8Encoding(True)
|
|
||||||
Dim encodedString() As Byte
|
|
||||||
encodedString = utf8Encoding.GetBytes(str)
|
|
||||||
LOGGER.Info(String.Format(" >> String {0} was encoded via utf8 to {1}", str, utf8Encoding.GetString(encodedString)))
|
|
||||||
Return utf8Encoding.GetString(encodedString)
|
|
||||||
Catch ex As Exception
|
|
||||||
LOGGER.Info("Unexpected error in encode_utf8: " & ex.Message)
|
|
||||||
LOGGER.Error(ex.message)
|
|
||||||
Return Nothing
|
|
||||||
End Try
|
|
||||||
|
|
||||||
End Function
|
|
||||||
Public Shared Function StringAsUtf8Bytes(ByVal strData As String) As Byte()
|
|
||||||
Try
|
|
||||||
Dim bytes() As Byte
|
|
||||||
' get unicode string as bytes
|
|
||||||
bytes = Encoding.UTF8.GetBytes(strData)
|
|
||||||
' return byte data
|
|
||||||
Return bytes
|
|
||||||
Catch ex As Exception
|
|
||||||
LOGGER.Info("Unexpected error in StringAsUtf8Bytes: " & ex.Message)
|
|
||||||
LOGGER.Error(ex.message)
|
|
||||||
Return Nothing
|
|
||||||
End Try
|
|
||||||
|
|
||||||
End Function
|
|
||||||
Public Shared Function CheckSpecialSigns(ByVal str As String)
|
|
||||||
Try
|
|
||||||
Dim pattern As String = "[!""#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~\s]"
|
|
||||||
Dim matches As MatchCollection = Regex.Matches(str, pattern)
|
|
||||||
Return matches.Count
|
|
||||||
Catch ex As Exception
|
|
||||||
LOGGER.Info("Unexpected error in CheckSpecialSigns: " & ex.Message)
|
|
||||||
LOGGER.Error(ex.message)
|
|
||||||
Return 0
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
Public Shared Sub Refresh_RegexTable()
|
|
||||||
CURRENT_DT_REGEX = ClassDatabase.Return_Datatable("SELECT * FROM TBGI_FUNCTION_REGEX")
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
''' <summary>
|
|
||||||
''' Überprüft einen Wert auf verschiedene Arten von "Null" und gibt einen Standard-Wert zurück, wenn der Wert "Null" ist.
|
|
||||||
''' </summary>
|
|
||||||
''' <param name="value">Der zu überprüfende Wert</param>
|
|
||||||
''' <param name="defaultValue">Der Standard Wert</param>
|
|
||||||
''' <returns>value oder wenn dieser "Null" ist, defaultValue</returns>
|
|
||||||
Public Shared Function NotNull(Of T)(ByVal value As T, ByVal defaultValue As T) As T
|
|
||||||
If IsNothing(value) OrElse String.IsNullOrEmpty(value.ToString) OrElse IsDBNull(value) Then
|
|
||||||
Return defaultValue
|
|
||||||
Else
|
|
||||||
Return value
|
|
||||||
End If
|
|
||||||
End Function
|
|
||||||
|
|
||||||
End Class
|
|
||||||
@@ -1,341 +0,0 @@
|
|||||||
Imports System.IO
|
|
||||||
Imports System.Text
|
|
||||||
|
|
||||||
Public Class ClassHotkey_Windream
|
|
||||||
Private Declare Function GetForegroundWindow Lib "user32" Alias "GetForegroundWindow" () As IntPtr
|
|
||||||
Private Declare Auto Function GetWindowText Lib "user32" (ByVal hWnd As System.IntPtr, ByVal lpString As System.Text.StringBuilder, ByVal cch As Integer) As Integer
|
|
||||||
|
|
||||||
Private Declare Function ShowWindow Lib "user32" (ByVal handle As IntPtr, ByVal nCmdShow As Integer) As Integer
|
|
||||||
Private Declare Function SetForeGroundWindow Lib "user32" (ByVal Hwnd As IntPtr) As Integer
|
|
||||||
|
|
||||||
Private makel As String
|
|
||||||
Public Shared Function GetCaption() As String
|
|
||||||
Dim Caption As New System.Text.StringBuilder(256)
|
|
||||||
Dim hWnd As IntPtr = GetForegroundWindow()
|
|
||||||
GetWindowText(hWnd, Caption, Caption.Capacity)
|
|
||||||
Return Caption.ToString()
|
|
||||||
End Function
|
|
||||||
|
|
||||||
Private Shared fileContents As String
|
|
||||||
Private Shared Function IsRelevantWindow(windowname As String, myControlNo As Integer, Value As String)
|
|
||||||
Try
|
|
||||||
Dim Control_Sequence As Integer = 0
|
|
||||||
Dim enumerator1 As New ClassWindowAPI
|
|
||||||
'Jedes Formularwindow durchlaufen
|
|
||||||
For Each top As ClassWindowAPI.ApiWindow In enumerator1.GetTopLevelWindows()
|
|
||||||
LOGGER.Info(" ... top-window Name: " & top.MainWindowTitle)
|
|
||||||
If top.MainWindowTitle.Contains(windowname) Or top.MainWindowTitle.ToLower = windowname.ToLower Then
|
|
||||||
Control_Sequence = 0
|
|
||||||
For Each vControl As ClassWindowAPI.ApiWindow In enumerator1.GetChildWindows(top.hWnd)
|
|
||||||
|
|
||||||
If vControl.MainWindowTitle <> "" Then
|
|
||||||
If Control_Sequence = myControlNo Then
|
|
||||||
If Value.ToUpper = vControl.MainWindowTitle.ToUpper Then
|
|
||||||
Return True
|
|
||||||
Else
|
|
||||||
LOGGER.Info(" ... Control-Sequence: " & myControlNo.ToString & " entspricht nicht dem Matchvalue.")
|
|
||||||
Return False
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
Control_Sequence += 1
|
|
||||||
Next vControl
|
|
||||||
Return False
|
|
||||||
End If
|
|
||||||
Next top
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Error in IsRelevantWindowt:" & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
LOGGER.Info(">> Error in IsRelevantWindow:" & ex.Message)
|
|
||||||
Return False
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
Private Shared Function Get_windowContent(windowname As String, myControlID As Integer)
|
|
||||||
Try
|
|
||||||
Dim Control_Sequence As Integer = 0
|
|
||||||
Dim enumerator1 As New ClassWindowAPI
|
|
||||||
'Jedes Formularwindow durchlaufen
|
|
||||||
For Each top As ClassWindowAPI.ApiWindow In enumerator1.GetTopLevelWindows()
|
|
||||||
If top.MainWindowTitle.Contains(windowname) Or top.MainWindowTitle.ToLower = windowname.ToLower Then
|
|
||||||
Control_Sequence = 0
|
|
||||||
For Each vControl As ClassWindowAPI.ApiWindow In enumerator1.GetChildWindows(top.hWnd)
|
|
||||||
If vControl.MainWindowTitle <> "" Then
|
|
||||||
If Control_Sequence = myControlID Then
|
|
||||||
LOGGER.Info(" ... Control-Sequence: " & myControlID.ToString & " - Gelesener Wert: " & vControl.MainWindowTitle)
|
|
||||||
Return vControl.MainWindowTitle.ToString
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
Control_Sequence += 1
|
|
||||||
Next vControl
|
|
||||||
Return Nothing
|
|
||||||
End If
|
|
||||||
Next top
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Error in Get_windowContent:" & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
LOGGER.Info(">> Error in Get_windowContent:" & ex.Message)
|
|
||||||
Return Nothing
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
'Fenster position ermitteln/auslesen
|
|
||||||
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Integer
|
|
||||||
Private Declare Function GetWindowRect Lib "user32.dll" (ByVal hWnd As IntPtr, ByRef lpRect As RECT) As Int32
|
|
||||||
Private Structure RECT
|
|
||||||
Dim Left As Integer
|
|
||||||
Dim Top As Integer
|
|
||||||
Dim Right As Integer
|
|
||||||
Dim Bottom As Integer
|
|
||||||
End Structure
|
|
||||||
Private Shared Sub GetWindowClientSize(ByVal hWnd As Long)
|
|
||||||
Dim rc As RECT
|
|
||||||
GetWindowRect(hWnd, rc)
|
|
||||||
'Left = rc.Right - rc.Left
|
|
||||||
'Height = rc.Bottom - rc.Top
|
|
||||||
End Sub
|
|
||||||
Public Shared Function RUN_WD_SEARCH(HK_USR_PROFILE_ID As Integer)
|
|
||||||
Try
|
|
||||||
LOGGER.Info(" ...RUN_WD_SEARCH with HK_USR_PROFILE_ID '" & HK_USR_PROFILE_ID & "'")
|
|
||||||
Dim DTWD As DataTable
|
|
||||||
Dim Objecttype As String
|
|
||||||
Dim windowname As String
|
|
||||||
Dim HKPROFILE_ID As Integer
|
|
||||||
Dim type As String
|
|
||||||
|
|
||||||
|
|
||||||
Dim _sql = "SELECT WD_SEARCH,HKPROFILE_ID FROM TBHOTKEY_USER_PROFILE WHERE GUID = " & HK_USR_PROFILE_ID
|
|
||||||
DTWD = ClassDatabase.Return_Datatable(_sql)
|
|
||||||
If DTWD.Rows.Count = 0 Then
|
|
||||||
LOGGER.Info(" ...KEINE USER_PROFILES hinterlegt")
|
|
||||||
Return "Uncexpected Error in Hotkey - Check Log for Hotkey"
|
|
||||||
End If
|
|
||||||
If DTWD.Rows.Count > 1 Then
|
|
||||||
LOGGER.Info("Das Ergebnis von '" & _sql & "' liefert mehr als eine Zeile zurück!")
|
|
||||||
Return "Uncexpected Error in Hotkey - Check Log for Hotkey"
|
|
||||||
End If
|
|
||||||
If DTWD.Rows(0).Item(0) = "" Then
|
|
||||||
LOGGER.Info(">> KEINE Windream-Suche hinterlegt!")
|
|
||||||
Return "Error in Hotkey - KEINE Windream-Suche hinterlegt - Check Logkey"
|
|
||||||
End If
|
|
||||||
Dim BaseSearch = DTWD.Rows(0).Item(0)
|
|
||||||
Dim extension = Path.GetExtension(BaseSearch)
|
|
||||||
HKPROFILE_ID = DTWD.Rows(0).Item("HKPROFILE_ID")
|
|
||||||
Dim windream_temp_search As String = ""
|
|
||||||
If IO.File.Exists(BaseSearch) = False Then
|
|
||||||
LOGGER.Info("Die Windream-Suche existiert nicht oder ist nicht zugreifbar!")
|
|
||||||
|
|
||||||
If USER_LANGUAGE = "de-DE" Then
|
|
||||||
MsgBox("Die Windream-Suche existiert nicht oder ist nicht zugreifbar!", MsgBoxStyle.Critical)
|
|
||||||
Else
|
|
||||||
MsgBox("Windream-Search does not exist or is not accessible", MsgBoxStyle.Critical)
|
|
||||||
End If
|
|
||||||
|
|
||||||
Return Nothing
|
|
||||||
End If
|
|
||||||
windowname = ClassDatabase.Execute_Scalar("SELECT WINDOW_NAME FROM TBHOTKEY_PROFILE WHERE GUID = " & HKPROFILE_ID, MyConnectionString, True)
|
|
||||||
type = ClassDatabase.Execute_Scalar("SELECT OBJECTTYPE FROM TBHOTKEY_PROFILE WHERE GUID = " & HKPROFILE_ID, MyConnectionString, True)
|
|
||||||
fileContents = ""
|
|
||||||
|
|
||||||
'Eine tempfile generieren
|
|
||||||
Dim tempFilename1 = My.Computer.FileSystem.GetTempFileName()
|
|
||||||
'Nur den Filenamen ohne Erweiterung
|
|
||||||
Dim tempName = Path.GetFileNameWithoutExtension(tempFilename1)
|
|
||||||
'tempfile löschen
|
|
||||||
If My.Computer.FileSystem.FileExists(tempFilename1) Then
|
|
||||||
My.Computer.FileSystem.DeleteFile(tempFilename1)
|
|
||||||
End If
|
|
||||||
|
|
||||||
Dim temppath = Path.GetTempPath
|
|
||||||
|
|
||||||
Dim EncodingFormat As Encoding
|
|
||||||
Dim WDUnicode = ClassDatabase.Execute_Scalar("SELECT WD_UNICODE FROM TBGI_CONFIGURATION WHERE GUID = 1", MyConnectionString, True)
|
|
||||||
If WDUnicode = True Then
|
|
||||||
EncodingFormat = Encoding.GetEncoding(1252) '1252
|
|
||||||
LOGGER.Info(" ...Unicode is used (Encoding.GetEncoding(1252))")
|
|
||||||
Else
|
|
||||||
LOGGER.Info(" ...UTF8 (Encoding.GetEncoding(65001))")
|
|
||||||
EncodingFormat = Encoding.GetEncoding(65001)
|
|
||||||
End If
|
|
||||||
|
|
||||||
Dim DT_HOOKS As DataTable = ClassDatabase.Return_Datatable("select * from TBHOTKEY_WINDOW_HOOK where HKPROFILE_ID = " & HKPROFILE_ID, True)
|
|
||||||
If DT_HOOKS.Rows.Count > 0 Then
|
|
||||||
Dim RelevantWindow As Boolean = False
|
|
||||||
For Each row As DataRow In DT_HOOKS.Rows
|
|
||||||
RelevantWindow = IsRelevantWindow(windowname, row.Item("SEQUENCE_NUMBER"), row.Item("CONTROL_VALUE"))
|
|
||||||
If RelevantWindow = False Then
|
|
||||||
LOGGER.Info(" ...Not the relevant window")
|
|
||||||
Return "Not the Relevant window......"
|
|
||||||
End If
|
|
||||||
Next
|
|
||||||
End If
|
|
||||||
|
|
||||||
|
|
||||||
LOGGER.Info(" ...ReadAlltext: " & BaseSearch)
|
|
||||||
fileContents = My.Computer.FileSystem.ReadAllText(BaseSearch, EncodingFormat) ', System.Text.Encoding.Unicode
|
|
||||||
LOGGER.Info(" ...fileContents geladen")
|
|
||||||
fileContents = fileContents.Replace("Í", "Ö")
|
|
||||||
'Das Array für die PAtterns anpassen
|
|
||||||
_sql = "select * from TBHOTKEY_PATTERNS WHERE HKPROFILE_ID = " & HKPROFILE_ID
|
|
||||||
Dim DT_PATTERNS As DataTable = ClassDatabase.Return_Datatable(_sql, True)
|
|
||||||
If DT_PATTERNS.Rows.Count > 0 Then
|
|
||||||
Dim i As Integer = 0
|
|
||||||
For Each row As DataRow In DT_PATTERNS.Rows
|
|
||||||
If type = "COPYPASTE" Then
|
|
||||||
_sql = "select window_control from TBHOTKEY_PATTERNS where HKPROFILE_ID = " & HKPROFILE_ID
|
|
||||||
Dim copytype = ClassDatabase.Execute_Scalar(_sql, MyConnectionString, True)
|
|
||||||
Dim clipbrd
|
|
||||||
Dim theHandle As IntPtr = FindWindow(Nothing, CURRENT_FOCUSES_WINDOWNAME)
|
|
||||||
If theHandle <> IntPtr.Zero Then
|
|
||||||
Dim theForegroundWindow As Boolean = SetForeGroundWindow(theHandle)
|
|
||||||
If theForegroundWindow = True Then
|
|
||||||
Select Case copytype
|
|
||||||
Case "strgC"
|
|
||||||
' SetForeGroundWindow(HWND)
|
|
||||||
SendKeys.Send("^{c}") 'for Ctrl-C
|
|
||||||
|
|
||||||
Case "strA and strgC"
|
|
||||||
SendKeys.Send("^{A}")
|
|
||||||
'AppActivate(CURRENT_FOCUSES_WINDOWNAME)
|
|
||||||
SendKeys.Send("^{c}") 'for Ctrl-C
|
|
||||||
End Select
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
clipbrd = Clipboard.GetText
|
|
||||||
Console.WriteLine(clipbrd.ToString)
|
|
||||||
If Not clipbrd Is Nothing Then
|
|
||||||
If clipbrd <> "" Then
|
|
||||||
_sql = "select PATTERN_WDSEARCH from TBHOTKEY_PATTERNS where HKPROFILE_ID = " & HKPROFILE_ID
|
|
||||||
Dim _pattern = ClassDatabase.Execute_Scalar(_sql, MyConnectionString, True)
|
|
||||||
fileContents = fileContents.Replace(_pattern, clipbrd.ToString)
|
|
||||||
End If
|
|
||||||
|
|
||||||
End If
|
|
||||||
|
|
||||||
Else
|
|
||||||
LOGGER.Info(" ...Get Value for Control# '" & row.Item("SEQUENCE_NUMBER").ToString & "'")
|
|
||||||
Dim foundresult = Get_windowContent(windowname, row.Item("SEQUENCE_NUMBER").ToString)
|
|
||||||
If Not IsNothing(foundresult) Then
|
|
||||||
'Die Nachbearbeitungsschritte laden
|
|
||||||
Dim DTNB As DataTable = ClassDatabase.Return_Datatable("SELECT * FROM TBHOTKEY_PATTERNS_REWORK WHERE HKPATTERN_ID = " & row.Item("GUID") & " ORDER BY SEQUENCE")
|
|
||||||
If DTNB Is Nothing = False Then
|
|
||||||
If DTNB.Rows.Count > 0 Then
|
|
||||||
foundresult = ClassPostprocessing.Get_Nachbearbeitung_Wert(foundresult, DTNB)
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
If Not IsNothing(foundresult) Then
|
|
||||||
If foundresult.ToString = "<" Or foundresult.ToString = ">" Then
|
|
||||||
LOGGER.Info(">> Hot Key received an irregular value.")
|
|
||||||
Return "Hotkey konnte nur einen irregulären Wert auswerten."
|
|
||||||
End If
|
|
||||||
LOGGER.Info(" ...fileContents.length: " & fileContents.Length)
|
|
||||||
LOGGER.Info(" ...Replace pattern '" & row.Item(2).ToString & "' with '" & foundresult & "'")
|
|
||||||
fileContents = fileContents.Replace(row.Item(2).ToString, foundresult)
|
|
||||||
LOGGER.Info(" ...fileContents.length: " & fileContents.Length)
|
|
||||||
Else
|
|
||||||
LOGGER.Info(">> Hot Key could not read any value.")
|
|
||||||
Return "Hotkey konnte keinen Wert auswerten - Evtl. ist das konfigurierte Fenster nicht geöffnet?"
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
|
|
||||||
Next
|
|
||||||
End If
|
|
||||||
Try
|
|
||||||
'Die windream File zusammensetzen
|
|
||||||
windream_temp_search = temppath & tempName & extension
|
|
||||||
Try
|
|
||||||
'Die File schreiben
|
|
||||||
My.Computer.FileSystem.WriteAllText(windream_temp_search, fileContents, False, EncodingFormat)
|
|
||||||
LOGGER.Info(" ...wrote Text to windream_temp_search: " & windream_temp_search)
|
|
||||||
' XML-Datei öffnen und laden
|
|
||||||
Dim Stream As New IO.StreamReader(CStr(windream_temp_search), EncodingFormat)
|
|
||||||
Dim Reader As New System.Xml.XmlTextReader(Stream)
|
|
||||||
|
|
||||||
' XML-Datei initialisieren
|
|
||||||
Dim xml As New System.Xml.XmlDocument()
|
|
||||||
' XML-Datei öffnen und laden
|
|
||||||
xml.Load(Reader)
|
|
||||||
Reader.Close()
|
|
||||||
xml.Save(windream_temp_search)
|
|
||||||
LOGGER.Info(" ...Xml Generiert: " & windream_temp_search)
|
|
||||||
Catch ex As Exception
|
|
||||||
LOGGER.Info("TempFile could not be created: " & ex.Message)
|
|
||||||
LOGGER.Error(ex.Message)
|
|
||||||
MsgBox(ex.Message, MsgBoxStyle.Critical, "Unexpected Error in Write XmlSearch:")
|
|
||||||
End Try
|
|
||||||
|
|
||||||
CURRENT_WD_TEMPSEARCH = windream_temp_search
|
|
||||||
TEMP_FILES.Add(CURRENT_WD_TEMPSEARCH)
|
|
||||||
Try
|
|
||||||
Dim myhWnd As IntPtr
|
|
||||||
Dim p As New Process()
|
|
||||||
p.StartInfo.FileName = windream_temp_search
|
|
||||||
|
|
||||||
If CONFIG.Config.WindreamSearchMaximized Then
|
|
||||||
p.StartInfo.WindowStyle = ProcessWindowStyle.Maximized
|
|
||||||
Else
|
|
||||||
p.StartInfo.WindowStyle = ProcessWindowStyle.Normal
|
|
||||||
End If
|
|
||||||
p.Start()
|
|
||||||
|
|
||||||
myhWnd = p.MainWindowHandle
|
|
||||||
Threading.Thread.Sleep(1000)
|
|
||||||
Dim rctMain As RECT
|
|
||||||
GetWindowRect(p.MainWindowHandle, rctMain)
|
|
||||||
If LogErrorsOnly = False Then
|
|
||||||
LOGGER.Info(" ...Top-Position: " & rctMain.Top.ToString)
|
|
||||||
LOGGER.Info(" ...Left-Position: " & rctMain.Left.ToString)
|
|
||||||
LOGGER.Info(" ...Right-Position: " & rctMain.Right.ToString)
|
|
||||||
LOGGER.Info(" ...Bottom-Position: " & rctMain.Bottom.ToString)
|
|
||||||
End If
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox(ex.Message, MsgBoxStyle.Critical, "Unexpected error while executing windream-Search:")
|
|
||||||
LOGGER.Info("Unexpected error while executing search: " & ex.Message)
|
|
||||||
Return "Unexpected error while executing search"
|
|
||||||
End Try
|
|
||||||
Dim psList() As Process
|
|
||||||
Try
|
|
||||||
psList = Process.GetProcesses()
|
|
||||||
|
|
||||||
For Each p As Process In psList
|
|
||||||
Console.WriteLine(p.Id.ToString() + " " + p.ProcessName)
|
|
||||||
If p.ProcessName.Contains("indream.Find") Then
|
|
||||||
AppActivate(p.Id)
|
|
||||||
If CONFIG.Config.WindreamSearchMaximized = False Then
|
|
||||||
Dim rctMain As RECT
|
|
||||||
GetWindowRect(p.MainWindowHandle, rctMain)
|
|
||||||
If rctMain.Left = 0 Or rctMain.Right = 0 Then
|
|
||||||
ShowWindow(p.MainWindowHandle, 3) ' SW_MAXIMIZE
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
' SetForeGroundWindow( p.MainWindowHandle)
|
|
||||||
End If
|
|
||||||
|
|
||||||
Next p
|
|
||||||
|
|
||||||
Catch ex As Exception
|
|
||||||
LOGGER.Info("Unexpected error while Setting foreground: " & ex.Message)
|
|
||||||
LOGGER.Error(ex.Message)
|
|
||||||
End Try
|
|
||||||
Return ""
|
|
||||||
Catch ex As Exception
|
|
||||||
LOGGER.Info("Unexpected error in Create Search: " & ex.Message)
|
|
||||||
LOGGER.Error(ex.Message)
|
|
||||||
MsgBox("Error in Create Search:" & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
Return "Unexpected error in Create Search"
|
|
||||||
End Try
|
|
||||||
|
|
||||||
Catch ex As Exception
|
|
||||||
LOGGER.Info("Unexpected error in RUN_WD_SEARCH: " & ex.Message)
|
|
||||||
LOGGER.Error(ex.message)
|
|
||||||
MsgBox("Error in RUN_WD_SEARCH:" & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
Return "Unerwarteter Unexpected error in RUN_WD_SEARCH"
|
|
||||||
End Try
|
|
||||||
|
|
||||||
|
|
||||||
End Function
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
End Class
|
|
||||||
@@ -9,8 +9,11 @@
|
|||||||
'''
|
'''
|
||||||
Public Function Init()
|
Public Function Init()
|
||||||
Dim oSQL = $"SELECT * FROM VWIDB_BE_ATTRIBUTE"
|
Dim oSQL = $"SELECT * FROM VWIDB_BE_ATTRIBUTE"
|
||||||
DTVWIDB_BE_ATTRIBUTE = ClassDatabase.Return_Datatable_CS(oSQL, CONNECTION_STRING_IDB)
|
'DTVWIDB_BE_ATTRIBUTE = ClassDatabase.Return_Datatable_CS(oSQL, CONNECTION_STRING_IDB)
|
||||||
|
DTVWIDB_BE_ATTRIBUTE = DATABASE_IDB.GetDatatable(oSQL)
|
||||||
|
Return True
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Public IDBSystemIndices As List(Of String)
|
Public IDBSystemIndices As List(Of String)
|
||||||
Public Function GetIndicesByBE(ByVal BusinessEntity As String) As String()
|
Public Function GetIndicesByBE(ByVal BusinessEntity As String) As String()
|
||||||
Try
|
Try
|
||||||
@@ -101,7 +104,10 @@
|
|||||||
LOGGER.Debug($"oAttributeValue for Attribute [{oAttributeName}] is so far nothing..Now trying FNIDB_PM_GET_VARIABLE_VALUE ")
|
LOGGER.Debug($"oAttributeValue for Attribute [{oAttributeName}] is so far nothing..Now trying FNIDB_PM_GET_VARIABLE_VALUE ")
|
||||||
End If
|
End If
|
||||||
Dim oFNSQL = $"SELECT * FROM [dbo].[FNIDB_PM_GET_VARIABLE_VALUE] ({IDB_DOC_ID},'{oAttributeName}','{USER_LANGUAGE}',CONVERT(BIT,'{IDB_USES_WMFILESTORE}'))"
|
Dim oFNSQL = $"SELECT * FROM [dbo].[FNIDB_PM_GET_VARIABLE_VALUE] ({IDB_DOC_ID},'{oAttributeName}','{USER_LANGUAGE}',CONVERT(BIT,'{IDB_USES_WMFILESTORE}'))"
|
||||||
oAttributeValue = ClassDatabase.Return_Datatable_CS(oFNSQL, CONNECTION_STRING_IDB)
|
|
||||||
|
'oAttributeValue = ClassDatabase.Return_Datatable_CS(oFNSQL, CONNECTION_STRING_IDB)
|
||||||
|
oAttributeValue = DATABASE_IDB.GetDatatable(oFNSQL)
|
||||||
|
|
||||||
Dim odt As DataTable = oAttributeValue
|
Dim odt As DataTable = oAttributeValue
|
||||||
If odt.Rows.Count = 1 Then
|
If odt.Rows.Count = 1 Then
|
||||||
oAttributeValue = odt.Rows(0).Item(0)
|
oAttributeValue = odt.Rows(0).Item(0)
|
||||||
@@ -122,7 +128,9 @@
|
|||||||
oID_IS_FOREIGN = 1
|
oID_IS_FOREIGN = 1
|
||||||
End If
|
End If
|
||||||
Dim oDELSQL = $"EXEC PRIDB_DELETE_TERM_OBJECT_METADATA {IDB_DOC_ID},'{oAttributeName}','{oTerm2Delete}','{USER_USERNAME}','{USER_LANGUAGE}',{oID_IS_FOREIGN}"
|
Dim oDELSQL = $"EXEC PRIDB_DELETE_TERM_OBJECT_METADATA {IDB_DOC_ID},'{oAttributeName}','{oTerm2Delete}','{USER_USERNAME}','{USER_LANGUAGE}',{oID_IS_FOREIGN}"
|
||||||
ClassDatabase.Execute_non_Query_ConStr(oDELSQL, CONNECTION_STRING_IDB)
|
|
||||||
|
'DATABASE_ECM.ExecuteNonQuery_ConStr(oDELSQL, CONNECTION_STRING_IDB)
|
||||||
|
DATABASE_IDB.ExecuteNonQuery(oDELSQL)
|
||||||
|
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LOGGER.Error(ex)
|
LOGGER.Error(ex)
|
||||||
@@ -133,7 +141,9 @@
|
|||||||
Public Function Delete_AttributeData(pIDB_OBJID As Int64, pAttributeName As String) As Object
|
Public Function Delete_AttributeData(pIDB_OBJID As Int64, pAttributeName As String) As Object
|
||||||
Try
|
Try
|
||||||
Dim oDELSQL = $"EXEC PRIDB_DELETE_ATTRIBUTE_DATA {pIDB_OBJID},'{pAttributeName}','{USER_USERNAME}'"
|
Dim oDELSQL = $"EXEC PRIDB_DELETE_ATTRIBUTE_DATA {pIDB_OBJID},'{pAttributeName}','{USER_USERNAME}'"
|
||||||
ClassDatabase.Execute_non_Query_ConStr(oDELSQL, CONNECTION_STRING_IDB)
|
|
||||||
|
'DATABASE_ECM.ExecuteNonQuery_ConStr(oDELSQL, CONNECTION_STRING_IDB)
|
||||||
|
DATABASE_IDB.ExecuteNonQuery(oDELSQL)
|
||||||
|
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LOGGER.Error(ex)
|
LOGGER.Error(ex)
|
||||||
@@ -206,8 +216,11 @@
|
|||||||
|
|
||||||
For Each oNewValueRow As DataRow In oDTMyNewValues.Rows
|
For Each oNewValueRow As DataRow In oDTMyNewValues.Rows
|
||||||
Dim oSuccess As Boolean = False
|
Dim oSuccess As Boolean = False
|
||||||
Dim oFNSQL = $"DECLARE @NEW_OBJ_MD_ID BIGINT " & vbNewLine & $"EXEC PRIDB_NEW_OBJ_DATA {IDB_DOC_ID},'{oAttributeName}','{USER_USERNAME}','{oNewValueRow.Item(1).ToString}','{USER_LANGUAGE}',{IDB_DOC_ID},@OMD_ID = @NEW_OBJ_MD_ID OUTPUT"
|
Dim oFNSQL = $"DECLARE @NEW_OBJ_MD_ID BIGINT " & vbNewLine & $"EXEC PRIDB_NEW_OBJ_DATA {IDB_DOC_ID},'{oAttributeName}','{USER_USERNAME}','{oNewValueRow.Item(1)}','{USER_LANGUAGE}',{IDB_DOC_ID},@OMD_ID = @NEW_OBJ_MD_ID OUTPUT"
|
||||||
oSuccess = ClassDatabase.Execute_non_Query_ConStr(oFNSQL, CONNECTION_STRING_IDB)
|
|
||||||
|
'oSuccess = DATABASE_ECM.ExecuteNonQuery_ConStr(oFNSQL, CONNECTION_STRING_IDB)
|
||||||
|
oSuccess = DATABASE_IDB.ExecuteNonQuery(oFNSQL)
|
||||||
|
|
||||||
If oSuccess = False Then
|
If oSuccess = False Then
|
||||||
Return False
|
Return False
|
||||||
End If
|
End If
|
||||||
@@ -215,7 +228,9 @@
|
|||||||
Return True
|
Return True
|
||||||
Else
|
Else
|
||||||
Dim oFNSQL = $"DECLARE @NEW_OBJ_MD_ID BIGINT " & vbNewLine & $"EXEC PRIDB_NEW_OBJ_DATA {IDB_DOC_ID},'{oAttributeName}','{USER_USERNAME}','{oNewValue}','{USER_LANGUAGE}',{IDB_DOC_ID},@OMD_ID = @NEW_OBJ_MD_ID OUTPUT"
|
Dim oFNSQL = $"DECLARE @NEW_OBJ_MD_ID BIGINT " & vbNewLine & $"EXEC PRIDB_NEW_OBJ_DATA {IDB_DOC_ID},'{oAttributeName}','{USER_USERNAME}','{oNewValue}','{USER_LANGUAGE}',{IDB_DOC_ID},@OMD_ID = @NEW_OBJ_MD_ID OUTPUT"
|
||||||
Return ClassDatabase.Execute_non_Query_ConStr(oFNSQL, CONNECTION_STRING_IDB)
|
|
||||||
|
'Return DATABASE_ECM.ExecuteNonQuery_ConStr(oFNSQL, CONNECTION_STRING_IDB)
|
||||||
|
Return DATABASE_IDB.ExecuteNonQuery(oFNSQL)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
|
|||||||
@@ -1,19 +1,91 @@
|
|||||||
|
Imports System.IO
|
||||||
|
Imports DigitalData.GUIs.Common
|
||||||
|
|
||||||
Public Class ClassIndexFunctions
|
Public Class ClassIndexFunctions
|
||||||
Public Shared Function FileExistsinDropTable(Filename As String)
|
Public Shared Function FileExistsinDropTable(pFilename As String, pHandleType As String) As Date
|
||||||
Dim check As String
|
Dim oSQL As String
|
||||||
|
Dim oHash As String
|
||||||
|
|
||||||
Try
|
Try
|
||||||
If Filename.Contains("'") Then
|
If pFilename.Contains("'") Then
|
||||||
Filename = Filename.Replace("'", "''")
|
pFilename = pFilename.Replace("'", "''")
|
||||||
End If
|
End If
|
||||||
check = "SELECT COUNT(*) FROM TBGI_FILES_USER WHERE UPPER(FILENAME2WORK) = UPPER('" & Filename & "') AND WORKED = 0"
|
|
||||||
Dim result = ClassDatabase.Execute_Scalar(check, MyConnectionString, True)
|
If pFilename.ToUpper.EndsWith(".MSG") And (pHandleType = "|OUTLOOK_MESSAGE|" Or pHandleType = "|MSGONLY|") Then
|
||||||
Return result
|
' MSG Files cannot be hashed based on filecontents, so we use the filename instead
|
||||||
|
oHash = FILESYSTEM.GetChecksumFromString(pFilename)
|
||||||
|
Else
|
||||||
|
' If file cannot be accessed, checksum cannot be generated
|
||||||
|
' In this case, the file should be treated as not yet existing
|
||||||
|
oHash = FILESYSTEM.GetChecksum(pFilename)
|
||||||
|
End If
|
||||||
|
|
||||||
|
If oHash Is Nothing Then
|
||||||
|
LOGGER.Warn("Checksum for file {0} could not be generated. Treating as new file.", pFilename)
|
||||||
|
Return Nothing
|
||||||
|
End If
|
||||||
|
|
||||||
|
'oSQL = "SELECT * FROM TBGI_FILES_USER WHERE UPPER(FILE_HASH) = UPPER('" & oHash & "') AND WORKED = 0 ORDER BY ADDED_WHEN"
|
||||||
|
'Dim oResult As DataTable = ClassDatabase.Return_Datatable_CS(oSQL, MyConnectionString, True)
|
||||||
|
|
||||||
|
'If oResult Is Nothing Then
|
||||||
|
'Return Nothing
|
||||||
|
'End If
|
||||||
|
|
||||||
|
'If oResult.Rows.Count = 0 Then
|
||||||
|
oSQL = "SELECT * FROM TBGI_HISTORY WHERE UPPER(FILE_HASH) = UPPER('" & oHash & "') ORDER BY ADDED_WHEN"
|
||||||
|
'Dim oResult = ClassDatabase.Return_Datatable_CS(oSQL, MyConnectionString, True)
|
||||||
|
Dim oResult = DATABASE_ECM.GetDatatable(oSQL)
|
||||||
|
|
||||||
|
If oResult Is Nothing Then
|
||||||
|
Return Nothing
|
||||||
|
End If
|
||||||
|
|
||||||
|
If oResult.Rows.Count = 0 Then
|
||||||
|
Return Nothing
|
||||||
|
Else
|
||||||
|
Dim oFirstRow As DataRow = oResult.Rows.Item(0)
|
||||||
|
Return oFirstRow.Item("ADDED_WHEN")
|
||||||
|
End If
|
||||||
|
'Else
|
||||||
|
'Dim oFirstRow As DataRow = oResult.Rows.Item(0)
|
||||||
|
'Return oFirstRow.Item("ADDED_WHEN")
|
||||||
|
'End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
MsgBox("Error in FileExistsinDropTable - Error-Message:" & vbNewLine & ex.Message & vbNewLine & "SQL-Command:" & vbNewLine & check, MsgBoxStyle.Critical)
|
MsgBox("Error in FileExistsinDropTable - Error-Message:" & vbNewLine & ex.Message & vbNewLine & "SQL-Command:" & vbNewLine & oSQL, MsgBoxStyle.Critical)
|
||||||
Return Nothing
|
Return Nothing
|
||||||
End Try
|
End Try
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Public Shared Function CheckDuplicateFiles(pForm As Form, pFilepath As String, pModuleTitle As String, Optional pHandleType As String = "")
|
||||||
|
Dim oFileInfo As New FileInfo(pFilepath)
|
||||||
|
Dim oFormHelper As New FormHelper(LOGCONFIG, pForm)
|
||||||
|
Dim oFilename As String = oFileInfo.Name
|
||||||
|
Dim oFileExists As Date = FileExistsinDropTable(pFilepath, pHandleType)
|
||||||
|
|
||||||
|
If oFileExists.Equals(Date.MinValue) Then
|
||||||
|
Return True
|
||||||
|
Else
|
||||||
|
Dim oResult As DialogResult
|
||||||
|
Dim oDate As String = oFileExists.ToString("d")
|
||||||
|
Dim oBoxTitle = $"GLOBIX - {pModuleTitle}"
|
||||||
|
Dim oMessage As String
|
||||||
|
|
||||||
|
If USER_LANGUAGE = "de-DE" Then
|
||||||
|
oMessage = $"Die Datei [{oFilename}] wurde bereits am [{oDate}] verarbeitet.{vbNewLine}{vbNewLine}Wollen Sie die gleiche Datei noch einmal verarbeiten?"
|
||||||
|
Else
|
||||||
|
oMessage = $"The file [{oFilename}] has already been processed at [{oDate}].{vbNewLine}{vbNewLine}Do you want to process the same file again?"
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
oResult = oFormHelper.ShowQuestionMessage(oMessage, oBoxTitle)
|
||||||
|
'oResult = MessageBox.Show(oMessage, oBoxTitle, MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly)
|
||||||
|
|
||||||
|
If oResult = DialogResult.Yes Then
|
||||||
|
Return True
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
Return False
|
||||||
End Function
|
End Function
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -1,14 +1,19 @@
|
|||||||
Imports System.ComponentModel
|
Imports System.ComponentModel
|
||||||
Imports DLLLicenseManager
|
|
||||||
Imports DigitalData.Modules.Logging
|
Imports DigitalData.Modules.Logging
|
||||||
Imports DigitalData.Modules.Config
|
Imports DigitalData.Modules.Config
|
||||||
Imports DigitalData.Modules.Windream
|
Imports DigitalData.Modules.Windream
|
||||||
|
Imports DigitalData.Modules.Filesystem
|
||||||
|
Imports DigitalData.Modules.Messaging
|
||||||
|
Imports DigitalData.Modules.Database
|
||||||
|
Imports DLLLicenseManager
|
||||||
Public Class ClassInit
|
Public Class ClassInit
|
||||||
Public _lizenzManager As ClassLicenseManager
|
Private Form As Form
|
||||||
|
|
||||||
|
Public Sub New(pForm As Form)
|
||||||
|
Form = pForm
|
||||||
|
End Sub
|
||||||
|
|
||||||
Public Sub InitLogger()
|
Public Sub InitLogger()
|
||||||
ClassLogger.Init("", Environment.UserName)
|
|
||||||
LOGCONFIG = New LogConfig(LogConfig.PathType.AppData, Nothing, Nothing,
|
LOGCONFIG = New LogConfig(LogConfig.PathType.AppData, Nothing, Nothing,
|
||||||
CompanyName:=My.Application.Info.CompanyName,
|
CompanyName:=My.Application.Info.CompanyName,
|
||||||
ProductName:=My.Application.Info.ProductName)
|
ProductName:=My.Application.Info.ProductName)
|
||||||
@@ -18,12 +23,12 @@ Public Class ClassInit
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Public Sub InitConfig()
|
Public Sub InitConfig()
|
||||||
CONFIG = New ConfigManager(Of ClassConfig)(LOGCONFIG, Application.UserAppDataPath, Application.CommonAppDataPath)
|
CONFIG = New ConfigManager(Of ClassConfig)(LOGCONFIG, Application.UserAppDataPath, Application.CommonAppDataPath, Application.StartupPath)
|
||||||
LOGCONFIG.Debug = Not CONFIG.Config.LogErrorsOnly
|
LOGCONFIG.Debug = Not CONFIG.Config.LogDEBUG
|
||||||
LOGGER.Info("Debug log set to: [{0}]", LOGCONFIG.Debug)
|
LOGGER.Info("Debug log set to: [{0}]", LOGCONFIG.Debug)
|
||||||
|
|
||||||
MyConnectionString = DecryptConnectionString(CONFIG.Config.ConnectionString)
|
MyConnectionString = DecryptConnectionString(CONFIG.Config.ConnectionString)
|
||||||
LogErrorsOnly = CONFIG.Config.LogErrorsOnly
|
LogErrorsOnly = CONFIG.Config.LogDEBUG
|
||||||
|
|
||||||
'myPreviewActive = CONFIG.Config.FilePreview
|
'myPreviewActive = CONFIG.Config.FilePreview
|
||||||
FW_started = CONFIG.Config.FolderWatchStarted
|
FW_started = CONFIG.Config.FolderWatchStarted
|
||||||
@@ -43,12 +48,23 @@ Public Class ClassInit
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
If MyConnectionString <> String.Empty Then
|
If MyConnectionString <> String.Empty Then
|
||||||
dbResult = ClassDatabase.Init()
|
' === NEW ===
|
||||||
|
DATABASE_ECM = New MSSQLServer(LOGCONFIG, MyConnectionString)
|
||||||
|
dbResult = DATABASE_ECM.DBInitialized
|
||||||
|
|
||||||
|
' === OLD ===
|
||||||
|
'dbResult = ClassDatabase.Init()
|
||||||
Else
|
Else
|
||||||
MsgBox("No Databaseconnection configured. (First Start or Appdata not accessible)" & vbNewLine & "Basic-Config will be loaded.", MsgBoxStyle.Information)
|
MsgBox("No Databaseconnection configured. (First Start or Appdata not accessible)" & vbNewLine & "Basic-Config will be loaded.", MsgBoxStyle.Information)
|
||||||
ERROR_STATE = "NO DB-CONNECTION"
|
ERROR_STATE = "NO DB-CONNECTION"
|
||||||
frmConfig_Basic.ShowDialog()
|
frmConfig_Basic.ShowDialog()
|
||||||
dbResult = ClassDatabase.Init()
|
|
||||||
|
' === NEW ===
|
||||||
|
DATABASE_ECM = New MSSQLServer(LOGCONFIG, MyConnectionString)
|
||||||
|
dbResult = DATABASE_ECM.DBInitialized
|
||||||
|
|
||||||
|
' === OLD ===
|
||||||
|
'dbResult = ClassDatabase.Init()
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If dbResult = False Then
|
If dbResult = False Then
|
||||||
@@ -65,6 +81,9 @@ Public Class ClassInit
|
|||||||
Dim configResult As Boolean
|
Dim configResult As Boolean
|
||||||
configResult = Load_BasicConfig()
|
configResult = Load_BasicConfig()
|
||||||
|
|
||||||
|
FILESYSTEM = New File(LOGCONFIG)
|
||||||
|
EMAIL = New Email2(LOGCONFIG)
|
||||||
|
|
||||||
If configResult = False Then
|
If configResult = False Then
|
||||||
If USER_LANGUAGE = "de-DE" Then
|
If USER_LANGUAGE = "de-DE" Then
|
||||||
Throw New Exception("Unerwarteter Fehler beim Initialisieren der Basis-Einstellungen. Weitere Informationen finden Sie in der Logdatei.")
|
Throw New Exception("Unerwarteter Fehler beim Initialisieren der Basis-Einstellungen. Weitere Informationen finden Sie in der Logdatei.")
|
||||||
@@ -74,7 +93,7 @@ Public Class ClassInit
|
|||||||
Else
|
Else
|
||||||
If IDB_ACTIVE = False Then
|
If IDB_ACTIVE = False Then
|
||||||
Try
|
Try
|
||||||
WINDREAM = New Windream(LOGCONFIG, False, WMDrive, "\\windream\objects", True, "", "", "", "")
|
WINDREAM = New Windream(LOGCONFIG, False, WMDrive, WINDREAM_BASEPATH, True, "", "", "", "")
|
||||||
If Not IsNothing(WINDREAM) Then
|
If Not IsNothing(WINDREAM) Then
|
||||||
If WINDREAM.SessionLoggedin = True Then
|
If WINDREAM.SessionLoggedin = True Then
|
||||||
LOGGER.Debug("windream initialisiert")
|
LOGGER.Debug("windream initialisiert")
|
||||||
@@ -93,15 +112,15 @@ Public Class ClassInit
|
|||||||
|
|
||||||
Public Function Load_BasicConfig()
|
Public Function Load_BasicConfig()
|
||||||
Try
|
Try
|
||||||
ClassDatabase.Init()
|
'ClassDatabase.Init()
|
||||||
Dim oSql As String = "SELECT * FROM TBDD_MODULES WHERE NAME = 'Global-Indexer'"
|
Dim oSql As String = "SELECT * FROM TBDD_MODULES WHERE NAME = 'Global-Indexer'"
|
||||||
Dim DT As DataTable = ClassDatabase.Return_Datatable(oSql)
|
Dim DT As DataTable = DATABASE_ECM.GetDatatable(oSql)
|
||||||
If DT.Rows.Count = 1 Then
|
If DT.Rows.Count = 1 Then
|
||||||
GI_withWindream = DT.Rows(0).Item("BIT1")
|
GI_withWindream = DT.Rows(0).Item("BIT1")
|
||||||
'vWLaufwerk = DT.Rows(0).Item("STRING1")
|
'vWLaufwerk = DT.Rows(0).Item("STRING1")
|
||||||
End If
|
End If
|
||||||
oSql = "SELECT * FROM TBDD_BASECONFIG"
|
oSql = "SELECT * FROM TBDD_BASECONFIG"
|
||||||
DT = ClassDatabase.Return_Datatable(oSql)
|
DT = DATABASE_ECM.GetDatatable(oSql)
|
||||||
If DT.Rows.Count = 1 Then
|
If DT.Rows.Count = 1 Then
|
||||||
WMDrive = DT.Rows(0).Item("WM_DRIVE")
|
WMDrive = DT.Rows(0).Item("WM_DRIVE")
|
||||||
Return True
|
Return True
|
||||||
@@ -117,8 +136,12 @@ Public Class ClassInit
|
|||||||
|
|
||||||
Public Sub Init_Folderwatch()
|
Public Sub Init_Folderwatch()
|
||||||
Try
|
Try
|
||||||
|
FILE_HANDLER = New ClassFileHandler(LOGCONFIG)
|
||||||
|
FOLDER_WATCHER = New ClassFolderWatcher(LOGCONFIG)
|
||||||
|
AddHandler FOLDER_WATCHER.FileCreated, AddressOf OnCreated
|
||||||
|
|
||||||
Dim sql As String = "SELECT FOLDER_PATH FROM TBGI_FOLDERWATCH_USER WHERE FOLDER_TYPE = 'DEFAULT' AND USER_ID = " & USER_ID
|
Dim sql As String = "SELECT FOLDER_PATH FROM TBGI_FOLDERWATCH_USER WHERE FOLDER_TYPE = 'DEFAULT' AND USER_ID = " & USER_ID
|
||||||
Dim folderwatchPath = ClassDatabase.Execute_Scalar(sql, MyConnectionString, True)
|
Dim folderwatchPath = DATABASE_ECM.GetScalarValue(sql)
|
||||||
|
|
||||||
folderwatchPath = IIf(IsDBNull(folderwatchPath), "", folderwatchPath)
|
folderwatchPath = IIf(IsDBNull(folderwatchPath), "", folderwatchPath)
|
||||||
|
|
||||||
@@ -144,7 +167,7 @@ Public Class ClassInit
|
|||||||
|
|
||||||
FW_started = True
|
FW_started = True
|
||||||
FWFunction_STARTED = True
|
FWFunction_STARTED = True
|
||||||
ClassFolderWatcher.StartStop_FolderWatch()
|
FOLDER_WATCHER.StartStop_FolderWatch()
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
MsgBox($"Init_Folderwatch: Unexpected error while starting FolderWatch: {ex.Message}", MsgBoxStyle.Critical)
|
MsgBox($"Init_Folderwatch: Unexpected error while starting FolderWatch: {ex.Message}", MsgBoxStyle.Critical)
|
||||||
LOGGER.Info($"Init_Folderwatch: Unexpected error: {ex.Message}")
|
LOGGER.Info($"Init_Folderwatch: Unexpected error: {ex.Message}")
|
||||||
@@ -153,7 +176,7 @@ Public Class ClassInit
|
|||||||
|
|
||||||
Try
|
Try
|
||||||
Dim sql As String = "SELECT FOLDER_PATH FROM TBGI_FOLDERWATCH_USER WHERE FOLDER_TYPE = 'SCAN' AND USER_ID = " & USER_ID
|
Dim sql As String = "SELECT FOLDER_PATH FROM TBGI_FOLDERWATCH_USER WHERE FOLDER_TYPE = 'SCAN' AND USER_ID = " & USER_ID
|
||||||
Dim folderwatchScanPath = ClassDatabase.Execute_Scalar(sql, MyConnectionString, True)
|
Dim folderwatchScanPath = DATABASE_ECM.GetScalarValue(sql)
|
||||||
|
|
||||||
folderwatchScanPath = IIf(IsDBNull(folderwatchScanPath), "", folderwatchScanPath)
|
folderwatchScanPath = IIf(IsDBNull(folderwatchScanPath), "", folderwatchScanPath)
|
||||||
|
|
||||||
@@ -175,56 +198,47 @@ Public Class ClassInit
|
|||||||
|
|
||||||
|
|
||||||
FWFunction_STARTED = True
|
FWFunction_STARTED = True
|
||||||
ClassFolderWatcher.StartStop_FolderWatchSCAN()
|
FOLDER_WATCHER.StartStop_FolderWatchSCAN()
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
MsgBox($"Init_Folderwatch: Unexpected error while starting FolderWatchScan: {ex.Message}", MsgBoxStyle.Critical)
|
MsgBox($"Init_Folderwatch: Unexpected error while starting FolderWatchScan: {ex.Message}", MsgBoxStyle.Critical)
|
||||||
LOGGER.Info($"Init_Folderwatch: Unexpected error: {ex.Message}")
|
LOGGER.Info($"Init_Folderwatch: Unexpected error: {ex.Message}")
|
||||||
START_INCOMPLETE = True
|
START_INCOMPLETE = True
|
||||||
End Try
|
End Try
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
'Try
|
|
||||||
' 'Die FolderWatch starten
|
|
||||||
'Dim sql1 = "SELECT FOLDER_PATH FROM TBGI_FOLDERWATCH_USER WHERE FOLDER_TYPE = 'DEFAULT' AND USER_ID = " & CURRENT_USER_ID
|
|
||||||
' Dim folderwatch = ClassDatabase.Execute_Scalar(sql1, MyConnectionString, True)
|
|
||||||
' sql1 = "SELECT FOLDER_PATH FROM TBGI_FOLDERWATCH_USER WHERE FOLDER_TYPE = 'SCAN' AND USER_ID = " & CURRENT_USER_ID
|
|
||||||
' Dim folderwatch_SCAN = ClassDatabase.Execute_Scalar(sql1, MyConnectionString, True)
|
|
||||||
' If Not folderwatch Is Nothing Then
|
|
||||||
' CURRENT_FOLDERWATCH = folderwatch
|
|
||||||
' If FW_started = True Then
|
|
||||||
' If CURRENT_FOLDERWATCH = "" Then
|
|
||||||
' FW_started = False
|
|
||||||
' SaveConfigValue("FW_started", "False")
|
|
||||||
' Else
|
|
||||||
' FW_ISSTARTED = True
|
|
||||||
' ClassFolderWatcher.StartStop_FolderWatch()
|
|
||||||
' End If
|
|
||||||
|
|
||||||
' End If
|
|
||||||
' Else
|
|
||||||
' LOGGER.Info("Init_Folderwatch: folderwatch path is nothing!")
|
|
||||||
' End If
|
|
||||||
' If Not folderwatch_SCAN Is Nothing Then
|
|
||||||
' CURRENT_SCAN_FOLDERWATCH = folderwatch_SCAN
|
|
||||||
' If FWSCAN_started = True Then
|
|
||||||
' FW_ISSTARTED = True
|
|
||||||
' ClassFolderWatcher.StartStop_FolderWatchSCAN()
|
|
||||||
' End If
|
|
||||||
' Else
|
|
||||||
' LOGGER.Info("Init_Folderwatch: folderwatch_SCAN path is nothing!")
|
|
||||||
' End If
|
|
||||||
'Catch ex As Exception
|
|
||||||
' LOGGER.Info("Unexpected Error in Init_Folderwatch: " & ex.Message)
|
|
||||||
' START_INCOMPLETE = True
|
|
||||||
'End Try
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
Private Sub OnCreated(source As Object, e As IO.FileSystemEventArgs)
|
||||||
|
Try
|
||||||
|
For Each row As DataRow In DTEXCLUDE_FILES.Rows
|
||||||
|
Dim content As String = row.Item(0).ToString.ToLower
|
||||||
|
If e.FullPath.ToLower.Contains(content) Then
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
|
||||||
|
Dim oHandleType As String
|
||||||
|
If e.FullPath.ToLower.EndsWith(".msg") Then
|
||||||
|
oHandleType = "|FW_OUTLOOK_MESSAGE|"
|
||||||
|
Else
|
||||||
|
oHandleType = "|FW_SIMPLEINDEXER|"
|
||||||
|
End If
|
||||||
|
'Die Datei übergeben
|
||||||
|
LOGGER.Info(">> OnCreated-File:" & e.FullPath)
|
||||||
|
|
||||||
|
If ClassIndexFunctions.CheckDuplicateFiles(Form, e.FullPath, "FolderWatch/Scan") Then
|
||||||
|
FILE_HANDLER.Decide_FileHandle(e.FullPath, oHandleType)
|
||||||
|
End If
|
||||||
|
Catch ex As Exception
|
||||||
|
MsgBox(ex.Message, MsgBoxStyle.Critical, "Error in folder_watch_Created")
|
||||||
|
End Try
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
Public Sub InitUserLogin()
|
Public Sub InitUserLogin()
|
||||||
Try
|
Try
|
||||||
Dim oSql As String
|
Dim oSql As String
|
||||||
|
|
||||||
oSql = String.Format("SELECT * FROM [dbo].[FNDD_CHECK_USER_MODULE] ('{0}','GLOBIX',{1})", Environment.UserName, 1)
|
oSql = String.Format($"SELECT * FROM [dbo].[FNDD_CHECK_USER_MODULE] ('{Environment.UserName}','GLOBIX',{1},'{CONFIG.Config.OverrideLanguage}')")
|
||||||
Dim DT_CHECKUSER_MODULE As DataTable = ClassDatabase.Return_Datatable(oSql)
|
Dim DT_CHECKUSER_MODULE As DataTable = DATABASE_ECM.GetDatatable(oSql)
|
||||||
If DT_CHECKUSER_MODULE.Rows.Count = 0 Then
|
If DT_CHECKUSER_MODULE.Rows.Count = 0 Then
|
||||||
LOGGER.Info("DT_CHECKUSER_MODULE.Rows.Count = 0")
|
LOGGER.Info("DT_CHECKUSER_MODULE.Rows.Count = 0")
|
||||||
START_INCOMPLETE = True
|
START_INCOMPLETE = True
|
||||||
@@ -233,22 +247,25 @@ Public Class ClassInit
|
|||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
If DT_CHECKUSER_MODULE.Rows.Count = 1 Then
|
If DT_CHECKUSER_MODULE.Rows.Count = 1 Then
|
||||||
If DT_CHECKUSER_MODULE.Rows(0).Item("USER_ID") = 0 And IsDBNull(DT_CHECKUSER_MODULE.Rows(0).Item("USER_SURNAME")) Then
|
|
||||||
|
Dim oRow As DataRow = DT_CHECKUSER_MODULE.Rows(0)
|
||||||
|
|
||||||
|
If oRow.Item("USER_ID") = 0 And IsDBNull(oRow.Item("USER_SURNAME")) Then
|
||||||
LOGGER.Info("User '" & Environment.UserName & "' not configured in Useradministration!")
|
LOGGER.Info("User '" & Environment.UserName & "' not configured in Useradministration!")
|
||||||
START_INCOMPLETE = True
|
START_INCOMPLETE = True
|
||||||
Throw New Exception("You are not configured in the Useradministration." & vbNewLine & "Please contact the system administrator!")
|
Throw New Exception("You are not configured in the Useradministration." & vbNewLine & "Please contact the system administrator!")
|
||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
USER_IN_MODULE = DT_CHECKUSER_MODULE.Rows(0).Item("MODULE_ACCESS")
|
USER_IN_MODULE = oRow.Item("MODULE_ACCESS")
|
||||||
USER_ID = DT_CHECKUSER_MODULE.Rows(0).Item("USER_ID")
|
USER_ID = oRow.Item("USER_ID")
|
||||||
USER_SURNAME = IIf(IsDBNull(DT_CHECKUSER_MODULE.Rows(0).Item("USER_SURNAME")), "", DT_CHECKUSER_MODULE.Rows(0).Item("USER_SURNAME"))
|
USER_SURNAME = IIf(IsDBNull(oRow.Item("USER_SURNAME")), "", oRow.Item("USER_SURNAME"))
|
||||||
USER_PRENAME = IIf(IsDBNull(DT_CHECKUSER_MODULE.Rows(0).Item("USER_PRENAME")), "", DT_CHECKUSER_MODULE.Rows(0).Item("USER_PRENAME"))
|
USER_PRENAME = IIf(IsDBNull(oRow.Item("USER_PRENAME")), "", oRow.Item("USER_PRENAME"))
|
||||||
USER_SHORTNAME = IIf(IsDBNull(DT_CHECKUSER_MODULE.Rows(0).Item("USER_SHORTNAME")), "", DT_CHECKUSER_MODULE.Rows(0).Item("USER_SHORTNAME"))
|
USER_SHORTNAME = IIf(IsDBNull(oRow.Item("USER_SHORTNAME")), "", oRow.Item("USER_SHORTNAME"))
|
||||||
USER_EMAIL = IIf(IsDBNull(DT_CHECKUSER_MODULE.Rows(0).Item("USER_EMAIL")), "", DT_CHECKUSER_MODULE.Rows(0).Item("USER_EMAIL"))
|
USER_EMAIL = IIf(IsDBNull(oRow.Item("USER_EMAIL")), "", oRow.Item("USER_EMAIL"))
|
||||||
USER_LANGUAGE = DT_CHECKUSER_MODULE.Rows(0).Item("USER_LANGUAGE")
|
USER_LANGUAGE = oRow.Item("USER_LANGUAGE")
|
||||||
USER_IN_MODULE = DT_CHECKUSER_MODULE.Rows(0).Item("MODULE_ACCESS")
|
USER_IN_MODULE = oRow.Item("MODULE_ACCESS")
|
||||||
USER_IS_ADMIN = DT_CHECKUSER_MODULE.Rows(0).Item("IS_ADMIN")
|
USER_IS_ADMIN = oRow.Item("IS_ADMIN")
|
||||||
USERCOUNT_LOGGED_IN = DT_CHECKUSER_MODULE.Rows(0).Item("USERCOUNT_LOGGED_IN")
|
USERCOUNT_LOGGED_IN = oRow.Item("USERCOUNT_LOGGED_IN")
|
||||||
ClassParamRefresh.Refresh_Params(DT_CHECKUSER_MODULE)
|
ClassParamRefresh.Refresh_Params(DT_CHECKUSER_MODULE)
|
||||||
If USER_IN_MODULE = False Then
|
If USER_IN_MODULE = False Then
|
||||||
LOGGER.Info(" - User: " & Environment.UserName & " nicht für Modul freigegben!")
|
LOGGER.Info(" - User: " & Environment.UserName & " nicht für Modul freigegben!")
|
||||||
@@ -258,12 +275,12 @@ Public Class ClassInit
|
|||||||
|
|
||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
USER_IS_ADMIN = DT_CHECKUSER_MODULE.Rows(0).Item("IS_ADMIN")
|
USER_IS_ADMIN = oRow.Item("IS_ADMIN")
|
||||||
|
|
||||||
ClassLicence.Refresh_Licence()
|
ClassLicence.Refresh_Licence()
|
||||||
|
|
||||||
Dim sql1 = "SELECT COUNT(T.GUID) FROM TBDD_DOKUMENTART T, TBDD_DOKUMENTART_MODULE T1 WHERE T.AKTIV = 1 AND T.GUID = T1.DOKART_ID AND T1.MODULE_ID = 1"
|
Dim sql1 = "SELECT COUNT(T.GUID) FROM TBDD_DOKUMENTART T, TBDD_DOKUMENTART_MODULE T1 WHERE T.AKTIV = 1 AND T.GUID = T1.DOKART_ID AND T1.MODULE_ID = 1"
|
||||||
DOCTYPE_COUNT_ACTUAL = ClassDatabase.Execute_Scalar(sql1, MyConnectionString, True)
|
DOCTYPE_COUNT_ACTUAL = DATABASE_ECM.GetScalarValue(sql1)
|
||||||
If DOCTYPE_COUNT_ACTUAL > LICENSE_DOCTYPE_COUNT Then
|
If DOCTYPE_COUNT_ACTUAL > LICENSE_DOCTYPE_COUNT Then
|
||||||
If USER_LANGUAGE = "de-DE" Then
|
If USER_LANGUAGE = "de-DE" Then
|
||||||
MsgBox("Ihre Anzahl von konfigurierbaren Dokumentarten ist limitiert auf: '" & LICENSE_DOCTYPE_COUNT.ToString & "'." & vbNewLine & "Bitte kontaktieren Sie Digital Data für weitere Details.", MsgBoxStyle.Information)
|
MsgBox("Ihre Anzahl von konfigurierbaren Dokumentarten ist limitiert auf: '" & LICENSE_DOCTYPE_COUNT.ToString & "'." & vbNewLine & "Bitte kontaktieren Sie Digital Data für weitere Details.", MsgBoxStyle.Information)
|
||||||
@@ -271,24 +288,21 @@ Public Class ClassInit
|
|||||||
MsgBox("Your amount of configurable documenttypes is limited to " & LICENSE_DOCTYPE_COUNT.ToString & " doctypes. You can not add more doctypes!" & vbNewLine & "Please contact Digital Data for further licensedetails", MsgBoxStyle.Information)
|
MsgBox("Your amount of configurable documenttypes is limited to " & LICENSE_DOCTYPE_COUNT.ToString & " doctypes. You can not add more doctypes!" & vbNewLine & "Please contact Digital Data for further licensedetails", MsgBoxStyle.Information)
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
USER_LANGUAGE = DT_CHECKUSER_MODULE.Rows(0).Item("USER_LANGUAGE")
|
USER_LANGUAGE = oRow.Item("USER_LANGUAGE")
|
||||||
|
|
||||||
oSql = "DELETE FROM TBDD_USER_MODULE_LOG_IN WHERE USER_ID = " & USER_ID & " AND UPPER(MODULE) = UPPER('Global-Indexer')"
|
oSql = "DELETE FROM TBDD_USER_MODULE_LOG_IN WHERE USER_ID = " & USER_ID & " AND UPPER(MODULE) = UPPER('Global-Indexer')"
|
||||||
ClassDatabase.Execute_non_Query(oSql, True)
|
DATABASE_ECM.ExecuteNonQuery(oSql)
|
||||||
oSql = "INSERT INTO TBDD_USER_MODULE_LOG_IN (USER_ID,MODULE, CLIENT_ID) VALUES (" & USER_ID & ",'Global-Indexer', 1)"
|
oSql = "INSERT INTO TBDD_USER_MODULE_LOG_IN (USER_ID,MODULE, CLIENT_ID) VALUES (" & USER_ID & ",'Global-Indexer', 1)"
|
||||||
ClassDatabase.Execute_non_Query(oSql)
|
DATABASE_ECM.ExecuteNonQuery(oSql)
|
||||||
oSql = "SELECT COUNT(*) AS Expr1 FROM TBDD_USER_MODULE_LOG_IN WHERE Upper(MODULE) = UPPER('Global-Indexer')"
|
oSql = "SELECT COUNT(*) AS Expr1 FROM TBDD_USER_MODULE_LOG_IN WHERE Upper(MODULE) = UPPER('Global-Indexer')"
|
||||||
' Dim anzahl = ClassDatabase.Execute_Scalar(sql, MyConnectionString, True)
|
|
||||||
'LOGGER.Info(" >> Anzahl Angemeldete User: " & anzahl.ToString)
|
|
||||||
' UserLoggedin = CInt(anzahl)
|
|
||||||
' UserLoggedin += 1
|
|
||||||
If LICENSE_COUNT < USERCOUNT_LOGGED_IN And LICENSE_EXPIRED = False Then
|
If LICENSE_COUNT < USERCOUNT_LOGGED_IN And LICENSE_EXPIRED = False Then
|
||||||
MsgBox("Die Anzahl der aktuell angemeldeten User (" & USERCOUNT_LOGGED_IN.ToString & ") überschreitet die Anzahl der aktuellen Lizenzen!" & vbNewLine & "Anzahl der Lizenzen: " & LICENSE_COUNT.ToString & vbNewLine & "Bitte setzen Sie sich mit dem Systembetreuer in Verbindung!", MsgBoxStyle.Critical, "Achtung:")
|
MsgBox("Die Anzahl der aktuell angemeldeten User (" & USERCOUNT_LOGGED_IN.ToString & ") überschreitet die Anzahl der aktuellen Lizenzen!" & vbNewLine & "Anzahl der Lizenzen: " & LICENSE_COUNT.ToString & vbNewLine & "Bitte setzen Sie sich mit dem Systembetreuer in Verbindung!", MsgBoxStyle.Critical, "Achtung:")
|
||||||
LOGGER.Info(" >> Die Anzahl der aktuell angemeldeten User (" & USERCOUNT_LOGGED_IN.ToString & ") überschreitet die Anzahl der Lizenzen (" & LICENSE_COUNT & ") für Global Indexer!")
|
LOGGER.Info(" >> Die Anzahl der aktuell angemeldeten User (" & USERCOUNT_LOGGED_IN.ToString & ") überschreitet die Anzahl der Lizenzen (" & LICENSE_COUNT & ") für File Flow!")
|
||||||
If USER_IS_ADMIN = False Then
|
If USER_IS_ADMIN = False Then
|
||||||
'Anmeldung wieder herausnehmen
|
'Anmeldung wieder herausnehmen
|
||||||
oSql = "DELETE FROM TBDD_USER_MODULE_LOG_IN WHERE USER_ID = " & USER_ID & " AND MODULE= 'Global-Indexer'"
|
oSql = "DELETE FROM TBDD_USER_MODULE_LOG_IN WHERE USER_ID = " & USER_ID & " AND MODULE= 'Global-Indexer'"
|
||||||
ClassDatabase.Execute_non_Query(oSql, True)
|
DATABASE_ECM.ExecuteNonQuery(oSql)
|
||||||
LOGGER.Info(" - Wieder abgemeldet")
|
LOGGER.Info(" - Wieder abgemeldet")
|
||||||
START_INCOMPLETE = True
|
START_INCOMPLETE = True
|
||||||
End If
|
End If
|
||||||
@@ -301,7 +315,7 @@ Public Class ClassInit
|
|||||||
|
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LOGGER.Info("Unexpected Error in InitUserLogin: " & ex.Message)
|
LOGGER.Info("Unexpected Error in InitUserLogin: " & ex.Message)
|
||||||
LOGGER.Error(ex.message)
|
LOGGER.Error(ex)
|
||||||
MsgBox(ex.Message, MsgBoxStyle.Critical)
|
MsgBox(ex.Message, MsgBoxStyle.Critical)
|
||||||
START_INCOMPLETE = True
|
START_INCOMPLETE = True
|
||||||
End Try
|
End Try
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ Public Class ClassWindowLocation
|
|||||||
Return result
|
Return result
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LOGGER.Info("Error in IsVisibleOnAnyScreen: " & ex.Message)
|
LOGGER.Info("Error in IsVisibleOnAnyScreen: " & ex.Message)
|
||||||
LOGGER.Error(ex.message)
|
LOGGER.Error(ex)
|
||||||
Return False
|
Return False
|
||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
@@ -140,16 +140,17 @@ Public Class ClassSetting
|
|||||||
End Class
|
End Class
|
||||||
|
|
||||||
Public Class ClassLayout
|
Public Class ClassLayout
|
||||||
Private _filename As String
|
Private ReadOnly _filename As String
|
||||||
|
Private ReadOnly _settings As XmlWriterSettings
|
||||||
Private _reader As XmlReader
|
Private _reader As XmlReader
|
||||||
Private _settings As XmlWriterSettings
|
|
||||||
|
|
||||||
Public Sub New(filename As String)
|
Public Sub New(filename As String)
|
||||||
_filename = filename
|
_filename = filename
|
||||||
|
|
||||||
_settings = New XmlWriterSettings()
|
_settings = New XmlWriterSettings With {
|
||||||
_settings.Encoding = System.Text.Encoding.UTF8
|
.Encoding = System.Text.Encoding.UTF8,
|
||||||
_settings.Indent = True
|
.Indent = True
|
||||||
|
}
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Public Sub Save(settings As System.Collections.Generic.List(Of ClassSetting))
|
Public Sub Save(settings As System.Collections.Generic.List(Of ClassSetting))
|
||||||
|
|||||||
@@ -1,27 +1,35 @@
|
|||||||
Imports DLLLicenseManager
|
Imports System.Globalization
|
||||||
|
Imports DLLLicenseManager
|
||||||
|
Imports DigitalData.Modules.License
|
||||||
|
|
||||||
Public Class ClassLicence
|
Public Class ClassLicence
|
||||||
Public Shared License_Date As Date
|
Public Shared LicenseDate As Date
|
||||||
Private Shared _lizenzManager As ClassLicenseManager
|
Public Shared LicenseManager As LicenseManagerLegacy
|
||||||
Public Shared Sub Refresh_Licence()
|
Public Shared Sub Refresh_Licence()
|
||||||
Try
|
Try
|
||||||
_lizenzManager = New ClassLicenseManager("#DigitalData35452!#", "")
|
LicenseManager = New LicenseManagerLegacy(LOGCONFIG, "#DigitalData35452!#", "")
|
||||||
Dim sql As String = "SELECT LICENSEKEY FROM TBGI_CONFIGURATION WHERE GUID = 1"
|
Dim sql As String = "SELECT LICENSEKEY FROM TBGI_CONFIGURATION WHERE GUID = 1"
|
||||||
|
|
||||||
Dim lic As String = ClassDatabase.Execute_Scalar(sql, MyConnectionString)
|
Dim licEncoded As String = DATABASE_ECM.GetScalarValue(sql)
|
||||||
Dim licString = _lizenzManager.DecodeLicenseKey(lic)
|
Dim licString As String = LicenseManager.DecodeLicenseKey(licEncoded)
|
||||||
Dim split() = licString.ToString.Split("#")
|
Dim licArray() As String = licString.ToString.Split("#")
|
||||||
|
|
||||||
If lic <> "" Then
|
If licEncoded <> "" Then
|
||||||
LICENSE_COUNT = split(0)
|
LICENSE_COUNT = licArray(0)
|
||||||
Else
|
Else
|
||||||
LICENSE_COUNT = 0
|
LICENSE_COUNT = 0
|
||||||
End If
|
End If
|
||||||
License_Date = CDate(split(1))
|
|
||||||
If CDate(split(1)) < CDate(Now.ToShortDateString) Then
|
LOGGER.Debug("License Date is {0}", licArray(1))
|
||||||
|
|
||||||
|
LicenseDate = Date.ParseExact(licArray(1), "dd.MM.yyyy", CultureInfo.InvariantCulture)
|
||||||
|
'License_Date = CDate(split(1))
|
||||||
|
|
||||||
|
If LicenseDate < Now Then
|
||||||
If USER_LANGUAGE = "de-DE" Then
|
If USER_LANGUAGE = "de-DE" Then
|
||||||
MsgBox("Ihre Lizenz ist abgelaufen!" & vbNewLine & "Letztes Gültigkeitsdatum: " & split(1) & vbNewLine & "Bitte setzen Sie sich mit Digital Data in Verbindung", MsgBoxStyle.Exclamation)
|
MsgBox("Ihre Lizenz ist abgelaufen!" & vbNewLine & "Letztes Gültigkeitsdatum: " & licArray(1) & vbNewLine & "Bitte setzen Sie sich mit Digital Data in Verbindung", MsgBoxStyle.Exclamation)
|
||||||
Else
|
Else
|
||||||
MsgBox("Your license has expired!" & vbNewLine & "Last Valid Date: " & split(1) & vbNewLine & "Please contact Digital Data", MsgBoxStyle.Exclamation)
|
MsgBox("Your license has expired!" & vbNewLine & "Last Valid Date: " & licArray(1) & vbNewLine & "Please contact Digital Data", MsgBoxStyle.Exclamation)
|
||||||
End If
|
End If
|
||||||
START_INCOMPLETE = True
|
START_INCOMPLETE = True
|
||||||
LICENSE_EXPIRED = True
|
LICENSE_EXPIRED = True
|
||||||
@@ -29,13 +37,14 @@ Public Class ClassLicence
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
'tslblLicenses.Text = "Anzahl Lizenzen: " & licenseanzahl
|
'tslblLicenses.Text = "Anzahl Lizenzen: " & licenseanzahl
|
||||||
LICENSE_DOCTYPE_COUNT = split(2)
|
LICENSE_DOCTYPE_COUNT = licArray(2)
|
||||||
Try
|
Try
|
||||||
LicenseHotKey = split(3)
|
LicenseHotKey = licArray(3)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LicenseHotKey = 0
|
LicenseHotKey = 0
|
||||||
End Try
|
End Try
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
|
LOGGER.Error(ex)
|
||||||
MsgBox(ex.Message, MsgBoxStyle.Exclamation, "Unexpected error in Licensemanager:")
|
MsgBox(ex.Message, MsgBoxStyle.Exclamation, "Unexpected error in Licensemanager:")
|
||||||
START_INCOMPLETE = True
|
START_INCOMPLETE = True
|
||||||
End Try
|
End Try
|
||||||
@@ -44,9 +53,9 @@ Public Class ClassLicence
|
|||||||
Public Shared Function license_is_Valid()
|
Public Shared Function license_is_Valid()
|
||||||
If LICENSE_EXPIRED Then
|
If LICENSE_EXPIRED Then
|
||||||
If USER_LANGUAGE = "de-DE" Then
|
If USER_LANGUAGE = "de-DE" Then
|
||||||
MsgBox("Ihre Lizenz ist abgelaufen!" & vbNewLine & "Letztes Gültigkeitsdatum: " & License_Date & vbNewLine & "Bitte setzen Sie sich mit Digital Data in Verbindung", MsgBoxStyle.Exclamation)
|
MsgBox("Ihre Lizenz ist abgelaufen!" & vbNewLine & "Letztes Gültigkeitsdatum: " & LicenseDate & vbNewLine & "Bitte setzen Sie sich mit Digital Data in Verbindung", MsgBoxStyle.Exclamation)
|
||||||
Else
|
Else
|
||||||
MsgBox("Your license has expired!" & vbNewLine & "Last Valid Date: " & License_Date & vbNewLine & "Please contact Digital Data", MsgBoxStyle.Exclamation)
|
MsgBox("Your license has expired!" & vbNewLine & "Last Valid Date: " & LicenseDate & vbNewLine & "Please contact Digital Data", MsgBoxStyle.Exclamation)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Return False
|
Return False
|
||||||
|
|||||||
@@ -1,215 +0,0 @@
|
|||||||
Imports System.IO
|
|
||||||
Public Class ClassLogger
|
|
||||||
Public Shared DateiSpeicherort As String = Nothing
|
|
||||||
Public Shared DateiPrefix As String = ""
|
|
||||||
Public Shared Datei As IO.File = Nothing
|
|
||||||
Public Shared logDateiname As String = ""
|
|
||||||
Private Shared StreamWriter As IO.StreamWriter = Nothing
|
|
||||||
Private Shared HasInformedAboutError As Boolean = False
|
|
||||||
' eine Art Konstruktor
|
|
||||||
Public Shared Sub Init(ByVal speicherort As String, Optional ByVal prefix As String = "", Optional ByVal appendFile As Boolean = True)
|
|
||||||
' initialisiert den Speicherort
|
|
||||||
ClassLogger.SetSpeicherort(speicherort)
|
|
||||||
' wenn ein Prfix gesetzt wurde
|
|
||||||
If Not prefix = "" Then
|
|
||||||
' initialisiert das Prefix
|
|
||||||
ClassLogger.SetPrefix(prefix)
|
|
||||||
End If
|
|
||||||
Dim str As String = ClassLogger.DateiSpeicherort & "\" & ClassLogger.DateiPrefix & System.DateTime.Now.ToString("yyyy_MM_dd") & ".txt"
|
|
||||||
Dim anz As Integer = 1
|
|
||||||
Do While File.Exists(str)
|
|
||||||
Dim info As New FileInfo(str)
|
|
||||||
Dim length As Long = info.Length
|
|
||||||
If length > 5000000 Then
|
|
||||||
str = IO.Path.GetDirectoryName(str)
|
|
||||||
str = str & "\" & ClassLogger.DateiPrefix & System.DateTime.Now.ToString("yyyy_MM_dd") & "(" & anz.ToString & ").txt"
|
|
||||||
anz = anz + 1
|
|
||||||
Else
|
|
||||||
Exit Do
|
|
||||||
End If
|
|
||||||
Loop
|
|
||||||
ClassLogger.logDateiname = str
|
|
||||||
If Not appendFile Then
|
|
||||||
' der Versuch die Datei zu löschen
|
|
||||||
'Try
|
|
||||||
' My.Computer.FileSystem.DeleteFile(ClassNILogger.Dateiname, FileIO.UIOption.OnlyErrorDialogs, FileIO.RecycleOption.DeletePermanently)
|
|
||||||
'Catch ex As Exception
|
|
||||||
' ' bei Fehler besteht kein Schreibrecht auf die Datei oder Datei existiert nicht
|
|
||||||
' ' ALSO: alles Okay soweit
|
|
||||||
'End Try
|
|
||||||
My.Computer.FileSystem.WriteAllText(ClassLogger.logDateiname, String.Empty, False)
|
|
||||||
End If
|
|
||||||
' testen ob sich die Datei öffnen und beschreiben lässt
|
|
||||||
'ClassNILogger.CheckIsLogWritable()
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
' legt den Speicherort fest
|
|
||||||
Public Shared Sub SetSpeicherort(ByVal speicherort As String)
|
|
||||||
Dim f As New IO.DirectoryInfo(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Digital Data\Global Indexer\Log"))
|
|
||||||
|
|
||||||
If speicherort = "" Then
|
|
||||||
If f.Exists = False Then
|
|
||||||
IO.Directory.CreateDirectory(f.ToString())
|
|
||||||
End If
|
|
||||||
ClassLogger.DateiSpeicherort = f.ToString()
|
|
||||||
Else
|
|
||||||
ClassLogger.DateiSpeicherort = speicherort
|
|
||||||
End If
|
|
||||||
|
|
||||||
'Dim f As New IO.DirectoryInfo(My.Application.Info.DirectoryPath & "\Log")
|
|
||||||
'If speicherort = "" Then
|
|
||||||
' If f.Exists = False Then
|
|
||||||
' IO.Directory.CreateDirectory(My.Application.Info.DirectoryPath & "\Log")
|
|
||||||
' End If
|
|
||||||
' ClassLogger.DateiSpeicherort = My.Application.Info.DirectoryPath & "\Log\"
|
|
||||||
'Else
|
|
||||||
' ClassLogger.DateiSpeicherort = speicherort
|
|
||||||
'End If
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
' legt das Prefix für den Dateinamen fest
|
|
||||||
Public Shared Sub SetPrefix(ByVal prefix As String)
|
|
||||||
ClassLogger.DateiPrefix = prefix
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Public Shared Sub Add(ByVal information As String, Optional ByVal ACHTUNG As Boolean = True)
|
|
||||||
If ClassLogger.OpenFile Then
|
|
||||||
Try
|
|
||||||
If ACHTUNG Then
|
|
||||||
ClassLogger.StreamWriter.WriteLine(Now.ToString & "# ATTENTION #: " & information)
|
|
||||||
Else
|
|
||||||
ClassLogger.StreamWriter.WriteLine(Now.ToString & information)
|
|
||||||
End If
|
|
||||||
ClassLogger.CloseFile()
|
|
||||||
Catch e As Exception
|
|
||||||
ClassLogger.ShowErrorMessage()
|
|
||||||
End Try
|
|
||||||
Else
|
|
||||||
ClassLogger.ShowErrorMessage()
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
Public Shared Sub Add(ByVal ex As Exception)
|
|
||||||
If ClassLogger.OpenFile Then
|
|
||||||
Try
|
|
||||||
ClassLogger.StreamWriter.WriteLine(Now.ToString & "##### Exception ####")
|
|
||||||
ClassLogger.StreamWriter.WriteLine(Now.ToString & "##### Fehler: " & ex.Message & " Source [" & ex.Source & "]")
|
|
||||||
ClassLogger.CloseFile()
|
|
||||||
Catch e As Exception
|
|
||||||
ClassLogger.ShowErrorMessage()
|
|
||||||
End Try
|
|
||||||
Else
|
|
||||||
ClassLogger.ShowErrorMessage()
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
' öffnet eine Datei zum Schreiben
|
|
||||||
Private Shared Function OpenFile()
|
|
||||||
Try
|
|
||||||
' wenn ein Speicherort festgelegt wurde
|
|
||||||
If Not ClassLogger.DateiSpeicherort = Nothing Then
|
|
||||||
' den Dateienamen definieren
|
|
||||||
Dim dateiname As String = ClassLogger.logDateiname
|
|
||||||
' Datei anlegen wenn noch nicht vorhanden
|
|
||||||
My.Computer.FileSystem.WriteAllText(dateiname, String.Empty, True)
|
|
||||||
' die Datei zum Schreiben öffnen
|
|
||||||
ClassLogger.StreamWriter = New IO.StreamWriter(dateiname, True, System.Text.Encoding.UTF8)
|
|
||||||
End If
|
|
||||||
' wenn die Datei erfolgreich geöffnet wurde
|
|
||||||
If ClassLogger.StreamWriter IsNot Nothing Then
|
|
||||||
Return True
|
|
||||||
Else
|
|
||||||
Return False
|
|
||||||
End If
|
|
||||||
Catch ex As Exception
|
|
||||||
Return False
|
|
||||||
End Try
|
|
||||||
|
|
||||||
End Function
|
|
||||||
|
|
||||||
' öffnet eine Datei zum Schreiben
|
|
||||||
Private Shared Function OpenFile(ByVal DateiSpeicherort As String, ByVal DateiPrefix As String)
|
|
||||||
|
|
||||||
Try
|
|
||||||
|
|
||||||
' wenn ein Speicherort festgelegt wurde
|
|
||||||
If Not DateiSpeicherort = Nothing And ClassLogger.CheckIsLogWritable() Then
|
|
||||||
|
|
||||||
' den Dateienamen definieren
|
|
||||||
Dim dateiname As String = ClassLogger.logDateiname
|
|
||||||
' Datei anlegen wenn noch nicht vorhanden
|
|
||||||
My.Computer.FileSystem.WriteAllText(dateiname, String.Empty, True)
|
|
||||||
|
|
||||||
' die Datei zum Schreiben öffnen
|
|
||||||
ClassLogger.StreamWriter = New IO.StreamWriter(dateiname, True, System.Text.Encoding.UTF8)
|
|
||||||
End If
|
|
||||||
|
|
||||||
' wenn die Datei erfolgreich geöffnet wurde
|
|
||||||
If ClassLogger.StreamWriter IsNot Nothing Then
|
|
||||||
Return True
|
|
||||||
Else
|
|
||||||
Return False
|
|
||||||
End If
|
|
||||||
|
|
||||||
Catch ex As Exception
|
|
||||||
Return False
|
|
||||||
End Try
|
|
||||||
|
|
||||||
End Function
|
|
||||||
|
|
||||||
|
|
||||||
' schliesst die geöffnete Datei
|
|
||||||
Private Shared Sub CloseFile()
|
|
||||||
|
|
||||||
' wenn eine Datei geöffnet ist
|
|
||||||
If ClassLogger.StreamWriter IsNot Nothing Then
|
|
||||||
' die Datei schliessen
|
|
||||||
ClassLogger.StreamWriter.Close()
|
|
||||||
ClassLogger.StreamWriter = Nothing
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
|
|
||||||
Public Shared Function CheckIsLogWritable()
|
|
||||||
|
|
||||||
If ClassLogger.OpenFile Then
|
|
||||||
Try
|
|
||||||
ClassLogger.CloseFile()
|
|
||||||
Catch e As Exception
|
|
||||||
ClassLogger.ShowErrorMessage()
|
|
||||||
Return False
|
|
||||||
End Try
|
|
||||||
Else
|
|
||||||
ClassLogger.ShowErrorMessage()
|
|
||||||
Return False
|
|
||||||
End If
|
|
||||||
|
|
||||||
Return True
|
|
||||||
End Function
|
|
||||||
|
|
||||||
|
|
||||||
Public Shared Function CheckIsLogWritable(ByVal vDateiSpeicherort As String, ByVal vDateiPrefix As String)
|
|
||||||
|
|
||||||
If ClassLogger.OpenFile(vDateiSpeicherort, vDateiPrefix) Then
|
|
||||||
Try
|
|
||||||
ClassLogger.CloseFile()
|
|
||||||
Catch e As Exception
|
|
||||||
ClassLogger.ShowErrorMessage()
|
|
||||||
Return False
|
|
||||||
End Try
|
|
||||||
Else
|
|
||||||
ClassLogger.ShowErrorMessage()
|
|
||||||
Return False
|
|
||||||
End If
|
|
||||||
|
|
||||||
Return True
|
|
||||||
End Function
|
|
||||||
|
|
||||||
|
|
||||||
Private Shared Sub ShowErrorMessage()
|
|
||||||
If Not ClassLogger.HasInformedAboutError Then
|
|
||||||
MsgBox("Beim Öffnen der Logdatei ist ein Fehler aufgetreten. Bitte stellen Sie sicher das Sie sowohl über entsprechende Schreibrechte im Verzeichnis, als auch über ausreichend Speicherplatz zum Speichern der Logdatei verfügen." & _
|
|
||||||
vbNewLine & vbNewLine & "Es wird keine Logdatei angelegt oder beschrieben." & vbNewLine & vbNewLine & "Im folgenden werden Sie über Fehler, den Log betreffend nicht weiter informiert, um den Ablauf von " & My.Application.Info.ProductName & " nicht zu stören.", _
|
|
||||||
MsgBoxStyle.Information, "Unexpected error inm Öffnen der Logdatei")
|
|
||||||
ClassLogger.HasInformedAboutError = True
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
End Class
|
|
||||||
@@ -1,4 +1,6 @@
|
|||||||
Public Class ClassParamRefresh
|
Imports DigitalData.Modules.Database
|
||||||
|
|
||||||
|
Public Class ClassParamRefresh
|
||||||
Public Shared Sub Refresh_Params(DT_CHECKUSER As DataTable)
|
Public Shared Sub Refresh_Params(DT_CHECKUSER As DataTable)
|
||||||
If DT_CHECKUSER.Rows.Count = 1 Then
|
If DT_CHECKUSER.Rows.Count = 1 Then
|
||||||
USERCOUNT_LOGGED_IN = DT_CHECKUSER.Rows(0).Item("USERCOUNT_LOGGED_IN")
|
USERCOUNT_LOGGED_IN = DT_CHECKUSER.Rows(0).Item("USERCOUNT_LOGGED_IN")
|
||||||
@@ -7,14 +9,6 @@
|
|||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
WORKING_MODE = ""
|
WORKING_MODE = ""
|
||||||
End Try
|
End Try
|
||||||
'Try
|
|
||||||
' ADDITIONAL_TITLE = DT_CHECKUSER.Rows(0).Item("ADDITIONAL_TITLE")
|
|
||||||
' If ADDITIONAL_TITLE = String.Empty Then
|
|
||||||
' ADDITIONAL_TITLE = My.Application.Info.ProductName
|
|
||||||
' End If
|
|
||||||
'Catch ex As Exception
|
|
||||||
' ADDITIONAL_TITLE = My.Application.Info.ProductName
|
|
||||||
'End Try
|
|
||||||
|
|
||||||
Dim oSplitWorkMode As String() = WORKING_MODE.Split("#")
|
Dim oSplitWorkMode As String() = WORKING_MODE.Split("#")
|
||||||
|
|
||||||
@@ -23,26 +17,26 @@
|
|||||||
For Each oMode In oSplitWorkMode
|
For Each oMode In oSplitWorkMode
|
||||||
LOGGER.Debug($"oWorkingMode Parameter: {oMode}")
|
LOGGER.Debug($"oWorkingMode Parameter: {oMode}")
|
||||||
If oMode.StartsWith("IDB_CONID!") Then
|
If oMode.StartsWith("IDB_CONID!") Then
|
||||||
Dim CON_ID = oMode.Replace("GLOBIX.IDB_CONID!", "")
|
Dim oConnectionId = oMode.Replace("GLOBIX.IDB_CONID!", "")
|
||||||
Dim oConString = ClassDatabase.Get_ConnectionString(CON_ID)
|
Dim oConString = DATABASE_ECM.Get_ConnectionStringforID(oConnectionId)
|
||||||
|
|
||||||
CONNECTION_STRING_IDB = oConString
|
CONNECTION_STRING_IDB = oConString
|
||||||
|
DATABASE_IDB = New MSSQLServer(LOGCONFIG, CONNECTION_STRING_IDB)
|
||||||
|
|
||||||
Dim oSQL = $"SELECT * FROM TBIDB_ATTRIBUTE"
|
Dim oSQL = $"SELECT * FROM TBIDB_ATTRIBUTE"
|
||||||
Dim oDT As DataTable = ClassDatabase.Return_Datatable_CS(oSQL, CONNECTION_STRING_IDB)
|
Dim oDT As DataTable = DATABASE_IDB.GetDatatable(oSQL)
|
||||||
|
|
||||||
If Not IsNothing(oDT) Then
|
If Not IsNothing(oDT) Then
|
||||||
If oDT.Rows.Count > 0 Then
|
If oDT.Rows.Count > 0 Then
|
||||||
IDB_ACTIVE = True
|
IDB_ACTIVE = True
|
||||||
Else
|
Else
|
||||||
LOGGER.Warn($"Got an IDB-ConnID [{CON_ID}] but check DTAttribute.Row.Count is [{oDT.Rows.Count}]!!")
|
LOGGER.Warn($"Got an IDB-ConnID [{oConnectionId}] but check DTAttribute.Row.Count is [{oDT.Rows.Count}]!!")
|
||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
LOGGER.Warn($"Got an IDB-ConnID [{CON_ID}] but check DT Attribute is Nothing!!")
|
LOGGER.Warn($"Got an IDB-ConnID [{oConnectionId}] but check DT Attribute is Nothing!!")
|
||||||
End If
|
End If
|
||||||
ElseIf oMode.StartsWith("IDB.LOG_INDEX") Then
|
ElseIf oMode.StartsWith("IDB.LOG_INDEX") Then
|
||||||
IDB_LOG_INDEX = oMode.Replace("IDB.LOG_INDEX!", "")
|
IDB_LOG_INDEX = oMode.Replace("IDB.LOG_INDEX!", "")
|
||||||
'ElseIf oMode.StartsWith("PM.COLORSCHEME") Then
|
|
||||||
' Dim oColorScheme = oMode.Replace("PM.COLORSCHEME=", "")
|
|
||||||
' RIBBON_COLOR_SCHEME = oColorScheme.ToUpper
|
|
||||||
|
|
||||||
Else
|
Else
|
||||||
LOGGER.Info($"Wrong oMode: {oMode}")
|
LOGGER.Info($"Wrong oMode: {oMode}")
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
Imports System.Text.RegularExpressions
|
Imports System.Text.RegularExpressions
|
||||||
Imports DevExpress.XtraEditors
|
Imports DevExpress.XtraEditors
|
||||||
Imports DigitalData.Controls.LookupGrid
|
Imports DigitalData.Controls.LookupGrid
|
||||||
|
Imports DigitalData.Modules.Language
|
||||||
|
Imports DigitalData.GUIs.GlobalIndexer
|
||||||
Imports WINDREAMLib
|
Imports WINDREAMLib
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
@@ -38,12 +40,12 @@ Public Class ClassPatterns
|
|||||||
Public Const INT_VALUE_DOMAIN = "DOMAIN"
|
Public Const INT_VALUE_DOMAIN = "DOMAIN"
|
||||||
Public Const INT_VALUE_DATE = "DATE"
|
Public Const INT_VALUE_DATE = "DATE"
|
||||||
|
|
||||||
Public Const MAX_TRY_COUNT = 500
|
Public Const MAX_TRY_COUNT = 20
|
||||||
|
|
||||||
Private Shared regex As Regex = New Regex("{#(\w+)#([\.\w\d\s_-]+)}+")
|
Private Shared ReadOnly regex As Regex = New Regex("{#(\w+)#([\.\w\d\s_-]+)}+")
|
||||||
Private Shared allPatterns As New List(Of String) From {PATTERN_WMI, PATTERN_CTRL, PATTERN_IDBA, PATTERN_USER, PATTERN_INT}
|
Private Shared ReadOnly allPatterns As New List(Of String) From {PATTERN_WMI, PATTERN_CTRL, PATTERN_IDBA, PATTERN_USER, PATTERN_INT}
|
||||||
Private Shared complexPatterns As New List(Of String) From {PATTERN_WMI, PATTERN_CTRL, PATTERN_IDBA}
|
Private Shared ReadOnly complexPatterns As New List(Of String) From {PATTERN_WMI, PATTERN_CTRL, PATTERN_IDBA}
|
||||||
Private Shared simplePatterns As New List(Of String) From {PATTERN_USER, PATTERN_INT}
|
Private Shared ReadOnly simplePatterns As New List(Of String) From {PATTERN_USER, PATTERN_INT}
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' Wraps a pattern-type and -value in the common format: {#type#value}
|
''' Wraps a pattern-type and -value in the common format: {#type#value}
|
||||||
@@ -184,7 +186,7 @@ Public Class ClassPatterns
|
|||||||
Continue For
|
Continue For
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Dim oMeta = TryCast(oControl.Tag, ClassControls.ControlMeta)
|
Dim oMeta = TryCast(oControl.Tag, ControlCreator.ControlMeta)
|
||||||
|
|
||||||
LOGGER.Debug("Metadata IndexName: [{0}]", oMeta.IndexName)
|
LOGGER.Debug("Metadata IndexName: [{0}]", oMeta.IndexName)
|
||||||
LOGGER.Debug("Metadata IndexType: [{0}]", oMeta.IndexType)
|
LOGGER.Debug("Metadata IndexType: [{0}]", oMeta.IndexType)
|
||||||
@@ -223,26 +225,26 @@ Public Class ClassPatterns
|
|||||||
LOGGER.Error(ex)
|
LOGGER.Error(ex)
|
||||||
LOGGER.Warn("Control Value for CheckBox [{0}] could not be retrieved!", oFoundControl.Name)
|
LOGGER.Warn("Control Value for CheckBox [{0}] could not be retrieved!", oFoundControl.Name)
|
||||||
End Try
|
End Try
|
||||||
ElseIf TypeOf oFoundControl Is LookupControl2 Then
|
ElseIf TypeOf oFoundControl Is LookupControl3 Then
|
||||||
Try
|
Try
|
||||||
Dim oLookupControl = DirectCast(oFoundControl, LookupControl2)
|
Dim oLookupControl = DirectCast(oFoundControl, LookupControl3)
|
||||||
|
|
||||||
If oLookupControl.MultiSelect Then
|
If oLookupControl.Properties.MultiSelect Then
|
||||||
Select Case oFoundType
|
Select Case oFoundType
|
||||||
Case "INTEGER"
|
Case ClassConstants.INDEX_TYPE_INTEGER
|
||||||
oValue = String.Join(",", oLookupControl.SelectedValues)
|
oValue = String.Join(",", oLookupControl.Properties.SelectedValues)
|
||||||
Case "VARCHAR"
|
Case ClassConstants.INDEX_TYPE_VARCHAR
|
||||||
Dim oWrapped = oLookupControl.SelectedValues
|
Dim oWrapped = oLookupControl.Properties.SelectedValues
|
||||||
oValue = String.Join(",", oWrapped)
|
oValue = String.Join(",", oWrapped)
|
||||||
Case Else
|
Case Else
|
||||||
LOGGER.Warn("Lookup Control with [{0}] is not supported!", oFoundType)
|
LOGGER.Warn("Lookup Control with [{0}] is not supported!", oFoundType)
|
||||||
End Select
|
End Select
|
||||||
Else
|
Else
|
||||||
oValue = NotNull(oLookupControl.SelectedValues.Item(0), "")
|
oValue = Utils.NotNull(oLookupControl.Properties.SelectedValues.Item(0), "")
|
||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LOGGER.Error(ex)
|
LOGGER.Error(ex)
|
||||||
LOGGER.Warn("Control Value for LookupControl2 [{0}] could not be retrieved!", oFoundControl.Name)
|
LOGGER.Warn("Control Value for LookupControl3 [{0}] could not be retrieved!", oFoundControl.Name)
|
||||||
End Try
|
End Try
|
||||||
Else
|
Else
|
||||||
LOGGER.Debug("Unknown Control type for type [{0}], setting value to empty string.", oFoundControl.Name)
|
LOGGER.Debug("Unknown Control type for type [{0}], setting value to empty string.", oFoundControl.Name)
|
||||||
@@ -258,7 +260,7 @@ Public Class ClassPatterns
|
|||||||
|
|
||||||
oTryCounter += 1
|
oTryCounter += 1
|
||||||
End While
|
End While
|
||||||
LOGGER.Debug("input after ReplaceControlValues [{input}]")
|
LOGGER.Debug($"input after ReplaceControlValues [{input}]")
|
||||||
Return result
|
Return result
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LOGGER.Error(ex)
|
LOGGER.Error(ex)
|
||||||
|
|||||||
@@ -1,179 +0,0 @@
|
|||||||
Imports System.Data
|
|
||||||
Imports System.Runtime.InteropServices
|
|
||||||
Imports System.Text
|
|
||||||
Imports System.Collections.Generic
|
|
||||||
Public Class ClassWindowAPI
|
|
||||||
Public Class ApiWindow
|
|
||||||
Public MainWindowTitle As String = ""
|
|
||||||
Public ClassName As String = ""
|
|
||||||
Public hWnd As Int32
|
|
||||||
End Class
|
|
||||||
|
|
||||||
Private Delegate Function EnumCallBackDelegate(ByVal hwnd As Integer, ByVal lParam As Integer) As Integer
|
|
||||||
|
|
||||||
' Top-level windows.
|
|
||||||
Private Declare Function EnumWindows Lib "user32" _
|
|
||||||
(ByVal lpEnumFunc As EnumCallBackDelegate, ByVal lParam As Integer) As Integer
|
|
||||||
|
|
||||||
' Child windows.
|
|
||||||
Private Declare Function EnumChildWindows Lib "user32" _
|
|
||||||
(ByVal hWndParent As Integer, ByVal lpEnumFunc As EnumCallBackDelegate, ByVal lParam As Integer) As Integer
|
|
||||||
|
|
||||||
' Get the window class.
|
|
||||||
Private Declare Function GetClassName _
|
|
||||||
Lib "user32" Alias "GetClassNameA" _
|
|
||||||
(ByVal hwnd As Integer, ByVal lpClassName As StringBuilder, ByVal nMaxCount As Integer) As Integer
|
|
||||||
|
|
||||||
' Test if the window is visible--only get visible ones.
|
|
||||||
Private Declare Function IsWindowVisible Lib "user32" _
|
|
||||||
(ByVal hwnd As Integer) As Integer
|
|
||||||
|
|
||||||
' Test if the window's parent--only get the one's without parents.
|
|
||||||
Private Declare Function GetParent Lib "user32" _
|
|
||||||
(ByVal hwnd As Integer) As Integer
|
|
||||||
|
|
||||||
' Get window text length signature.
|
|
||||||
Private Declare Function SendMessage _
|
|
||||||
Lib "user32" Alias "SendMessageA" _
|
|
||||||
(ByVal hwnd As Int32, ByVal wMsg As Int32, ByVal wParam As Int32, ByVal lParam As Int32) As Int32
|
|
||||||
|
|
||||||
' Get window text signature.
|
|
||||||
Private Declare Function SendMessage _
|
|
||||||
Lib "user32" Alias "SendMessageA" _
|
|
||||||
(ByVal hwnd As Int32, ByVal wMsg As Int32, ByVal wParam As Int32, ByVal lParam As StringBuilder) As Int32
|
|
||||||
|
|
||||||
Private _listChildren As New List(Of ApiWindow)
|
|
||||||
Private _listTopLevel As New List(Of ApiWindow)
|
|
||||||
|
|
||||||
Private _topLevelClass As String = ""
|
|
||||||
Private _childClass As String = ""
|
|
||||||
|
|
||||||
''' <summary>
|
|
||||||
''' Get all top-level window information
|
|
||||||
''' </summary>
|
|
||||||
''' <returns>List of window information objects</returns>
|
|
||||||
Public Overloads Function GetTopLevelWindows() As List(Of ApiWindow)
|
|
||||||
|
|
||||||
EnumWindows(AddressOf EnumWindowProc, &H0)
|
|
||||||
|
|
||||||
Return _listTopLevel
|
|
||||||
|
|
||||||
End Function
|
|
||||||
|
|
||||||
Public Overloads Function GetTopLevelWindows(ByVal className As String) As List(Of ApiWindow)
|
|
||||||
|
|
||||||
_topLevelClass = className
|
|
||||||
|
|
||||||
Return Me.GetTopLevelWindows()
|
|
||||||
|
|
||||||
End Function
|
|
||||||
|
|
||||||
''' <summary>
|
|
||||||
''' Get all child windows for the specific windows handle (hwnd).
|
|
||||||
''' </summary>
|
|
||||||
''' <returns>List of child windows for parent window</returns>
|
|
||||||
Public Overloads Function GetChildWindows(ByVal hwnd As Int32) As List(Of ApiWindow)
|
|
||||||
|
|
||||||
' Clear the window list.
|
|
||||||
_listChildren = New List(Of ApiWindow)
|
|
||||||
|
|
||||||
' Start the enumeration process.
|
|
||||||
EnumChildWindows(hwnd, AddressOf EnumChildWindowProc, &H0)
|
|
||||||
|
|
||||||
' Return the children list when the process is completed.
|
|
||||||
Return _listChildren
|
|
||||||
|
|
||||||
End Function
|
|
||||||
|
|
||||||
Public Overloads Function GetChildWindows(ByVal hwnd As Int32, ByVal childClass As String) As List(Of ApiWindow)
|
|
||||||
|
|
||||||
' Set the search
|
|
||||||
_childClass = childClass
|
|
||||||
|
|
||||||
Return Me.GetChildWindows(hwnd)
|
|
||||||
|
|
||||||
End Function
|
|
||||||
|
|
||||||
''' <summary>
|
|
||||||
''' Callback function that does the work of enumerating top-level windows.
|
|
||||||
''' </summary>
|
|
||||||
''' <param name="hwnd">Discovered Window handle</param>
|
|
||||||
''' <returns>1=keep going, 0=stop</returns>
|
|
||||||
Private Function EnumWindowProc(ByVal hwnd As Int32, ByVal lParam As Int32) As Int32
|
|
||||||
|
|
||||||
' Eliminate windows that are not top-level.
|
|
||||||
If GetParent(hwnd) = 0 AndAlso CBool(IsWindowVisible(hwnd)) Then
|
|
||||||
|
|
||||||
' Get the window title / class name.
|
|
||||||
Dim window As ApiWindow = GetWindowIdentification(hwnd)
|
|
||||||
|
|
||||||
' Match the class name if searching for a specific window class.
|
|
||||||
If _topLevelClass.Length = 0 OrElse window.ClassName.ToLower() = _topLevelClass.ToLower() Then
|
|
||||||
_listTopLevel.Add(window)
|
|
||||||
End If
|
|
||||||
|
|
||||||
End If
|
|
||||||
|
|
||||||
' To continue enumeration, return True (1), and to stop enumeration
|
|
||||||
' return False (0).
|
|
||||||
' When 1 is returned, enumeration continues until there are no
|
|
||||||
' more windows left.
|
|
||||||
|
|
||||||
Return 1
|
|
||||||
|
|
||||||
End Function
|
|
||||||
|
|
||||||
''' <summary>
|
|
||||||
''' Callback function that does the work of enumerating child windows.
|
|
||||||
''' </summary>
|
|
||||||
''' <param name="hwnd">Discovered Window handle</param>
|
|
||||||
''' <returns>1=keep going, 0=stop</returns>
|
|
||||||
Private Function EnumChildWindowProc(ByVal hwnd As Int32, ByVal lParam As Int32) As Int32
|
|
||||||
|
|
||||||
Dim window As ApiWindow = GetWindowIdentification(hwnd)
|
|
||||||
|
|
||||||
' Attempt to match the child class, if one was specified, otherwise
|
|
||||||
' enumerate all the child windows.
|
|
||||||
If _childClass.Length = 0 OrElse window.ClassName.ToLower() = _childClass.ToLower() Then
|
|
||||||
_listChildren.Add(window)
|
|
||||||
End If
|
|
||||||
|
|
||||||
Return 1
|
|
||||||
|
|
||||||
End Function
|
|
||||||
|
|
||||||
''' <summary>
|
|
||||||
''' Build the ApiWindow object to hold information about the Window object.
|
|
||||||
''' </summary>
|
|
||||||
Private Function GetWindowIdentification(ByVal hwnd As Integer) As ApiWindow
|
|
||||||
|
|
||||||
Const WM_GETTEXT As Int32 = &HD
|
|
||||||
Const WM_GETTEXTLENGTH As Int32 = &HE
|
|
||||||
|
|
||||||
Dim window As New ApiWindow()
|
|
||||||
|
|
||||||
Dim title As New StringBuilder()
|
|
||||||
|
|
||||||
' Get the size of the string required to hold the window title.
|
|
||||||
Dim size As Int32 = SendMessage(hwnd, WM_GETTEXTLENGTH, 0, 0)
|
|
||||||
|
|
||||||
' If the return is 0, there is no title.
|
|
||||||
If size > 0 Then
|
|
||||||
title = New StringBuilder(size + 1)
|
|
||||||
|
|
||||||
SendMessage(hwnd, WM_GETTEXT, title.Capacity, title)
|
|
||||||
End If
|
|
||||||
|
|
||||||
' Get the class name for the window.
|
|
||||||
Dim classBuilder As New StringBuilder(64)
|
|
||||||
GetClassName(hwnd, classBuilder, 64)
|
|
||||||
|
|
||||||
' Set the properties for the ApiWindow object.
|
|
||||||
window.ClassName = classBuilder.ToString()
|
|
||||||
window.MainWindowTitle = title.ToString()
|
|
||||||
window.hWnd = hwnd
|
|
||||||
|
|
||||||
Return window
|
|
||||||
|
|
||||||
End Function
|
|
||||||
End Class
|
|
||||||
@@ -8,11 +8,13 @@
|
|||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<StartupObject>Global_Indexer.My.MyApplication</StartupObject>
|
<StartupObject>Global_Indexer.My.MyApplication</StartupObject>
|
||||||
<RootNamespace>Global_Indexer</RootNamespace>
|
<RootNamespace>Global_Indexer</RootNamespace>
|
||||||
<AssemblyName>Global_Indexer</AssemblyName>
|
<AssemblyName>FileFlow</AssemblyName>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<MyType>WindowsForms</MyType>
|
<MyType>WindowsForms</MyType>
|
||||||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
|
<TargetFrameworkProfile />
|
||||||
<PublishUrl>publish\</PublishUrl>
|
<PublishUrl>publish\</PublishUrl>
|
||||||
<Install>true</Install>
|
<Install>true</Install>
|
||||||
<InstallFrom>Disk</InstallFrom>
|
<InstallFrom>Disk</InstallFrom>
|
||||||
@@ -25,10 +27,8 @@
|
|||||||
<MapFileExtensions>true</MapFileExtensions>
|
<MapFileExtensions>true</MapFileExtensions>
|
||||||
<ApplicationRevision>0</ApplicationRevision>
|
<ApplicationRevision>0</ApplicationRevision>
|
||||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
|
||||||
<UseApplicationTrust>false</UseApplicationTrust>
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
<TargetFrameworkProfile />
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
<DefineDebug>true</DefineDebug>
|
<DefineDebug>true</DefineDebug>
|
||||||
<DefineTrace>true</DefineTrace>
|
<DefineTrace>true</DefineTrace>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
<DocumentationFile>Global_Indexer.xml</DocumentationFile>
|
<DocumentationFile>FileFlow.xml</DocumentationFile>
|
||||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
<DefineTrace>true</DefineTrace>
|
<DefineTrace>true</DefineTrace>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
<DocumentationFile>Global_Indexer.xml</DocumentationFile>
|
<DocumentationFile>FileFlow.xml</DocumentationFile>
|
||||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
@@ -63,91 +63,97 @@
|
|||||||
<OptionInfer>On</OptionInfer>
|
<OptionInfer>On</OptionInfer>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ApplicationIcon>DD_Icons_ICO_GLOBIX_128.ico</ApplicationIcon>
|
<ApplicationIcon>file.ico</ApplicationIcon>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ApplicationManifest>My Project\app.manifest</ApplicationManifest>
|
<ApplicationManifest>My Project\app.manifest</ApplicationManifest>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="DevExpress.Charts.v19.2.Core, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.Charts.v21.2.Core, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.Data.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.DataAccess.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.DataAccess.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.DataAccess.v19.2.UI, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.DataAccess.v21.2.UI, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.Office.v19.2.Core, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.Office.v21.2.Core, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.Pdf.v19.2.Core, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.Pdf.v21.2.Core, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.Pdf.v19.2.Drawing, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.Pdf.v21.2.Drawing, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.RichEdit.v19.2.Export, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.RichEdit.v21.2.Export, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.Printing.v19.2.Core, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.Printing.v21.2.Core, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.RichEdit.v19.2.Core, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.RichEdit.v21.2.Core, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.Sparkline.v19.2.Core, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.Sparkline.v21.2.Core, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.Spreadsheet.v19.2.Core, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.DataVisualization.v21.2.Core, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.Utils.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.Spreadsheet.v21.2.Core, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.Utils.v19.2.UI, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.Data.Desktop.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.XtraBars.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.Utils.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.XtraCharts.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.Utils.v21.2.UI, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.XtraCharts.v19.2.Wizard, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.XtraEditors.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.XtraCharts.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.XtraGrid.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.XtraCharts.v21.2.Wizard, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.XtraLayout.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.XtraEditors.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.XtraNavBar.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.XtraGrid.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.XtraPdfViewer.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.XtraLayout.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.XtraPrinting.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.XtraNavBar.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.Images.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.XtraPdfViewer.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.XtraRichEdit.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.XtraPrinting.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.XtraSpreadsheet.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.Images.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DevExpress.XtraTreeList.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
<Reference Include="DevExpress.XtraRichEdit.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DevExpress.XtraSpreadsheet.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DevExpress.XtraTreeList.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Controls.DocumentViewer, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Controls.DocumentViewer, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
@@ -157,28 +163,44 @@
|
|||||||
<Reference Include="DigitalData.Controls.LookupGrid">
|
<Reference Include="DigitalData.Controls.LookupGrid">
|
||||||
<HintPath>..\..\DDMonorepo\Controls.LookupGrid\bin\Debug\DigitalData.Controls.LookupGrid.dll</HintPath>
|
<HintPath>..\..\DDMonorepo\Controls.LookupGrid\bin\Debug\DigitalData.Controls.LookupGrid.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.GUIs.Common">
|
||||||
|
<HintPath>..\..\DDMonorepo\GUIs.Common\bin\Debug\DigitalData.GUIs.Common.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.GUIs.GlobalIndexer">
|
||||||
|
<HintPath>..\..\DDMonorepo\GUIs.GlobalIndexer\bin\Debug\DigitalData.GUIs.GlobalIndexer.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.Base">
|
||||||
|
<HintPath>..\..\DDModules\Base\bin\Debug\DigitalData.Modules.Base.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Config">
|
<Reference Include="DigitalData.Modules.Config">
|
||||||
<HintPath>..\..\DDMonorepo\Modules.Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
<HintPath>..\..\DDModules\Config\bin\Debug\DigitalData.Modules.Config.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Filesystem, Version=1.0.1.1, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Database">
|
||||||
<HintPath>..\..\DDMonorepo\Modules.Filesystem\bin\Debug\DigitalData.Modules.Filesystem.dll</HintPath>
|
<HintPath>..\..\DDModules\Database\bin\Debug\DigitalData.Modules.Database.dll</HintPath>
|
||||||
<SpecificVersion>False</SpecificVersion>
|
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Logging, Version=2.0.0.1, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Filesystem">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<HintPath>..\..\DDModules\Filesystem\bin\Debug\DigitalData.Modules.Filesystem.dll</HintPath>
|
||||||
<HintPath>..\..\DDMonorepo\Modules.Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DigitalData.Modules.Windream, Version=1.0.0.5, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Language">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<HintPath>..\..\DDModules\Language\bin\Debug\DigitalData.Modules.Language.dll</HintPath>
|
||||||
<HintPath>..\..\DDMonorepo\Modules.Windream\bin\Debug\DigitalData.Modules.Windream.dll</HintPath>
|
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="DLLLicenseManager, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.License">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<HintPath>..\..\DDModules\License\bin\Debug\DigitalData.Modules.License.dll</HintPath>
|
||||||
<HintPath>P:\Visual Studio Projekte\Bibliotheken\DLLLicenseManager.dll</HintPath>
|
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Independentsoft.Msg, Version=2.0.570.21482, Culture=neutral, PublicKeyToken=76be97fe952f1ec7, processorArchitecture=MSIL">
|
<Reference Include="DigitalData.Modules.Logging">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<HintPath>..\..\DDModules\Logging\bin\Debug\DigitalData.Modules.Logging.dll</HintPath>
|
||||||
<HintPath>P:\Visual Studio Projekte\Bibliotheken\MSG .NET\Bin\22_11_19\Independentsoft.Msg.dll</HintPath>
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.Messaging">
|
||||||
|
<HintPath>..\..\DDModules\Messaging\bin\Debug\DigitalData.Modules.Messaging.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.Windows">
|
||||||
|
<HintPath>..\..\DDModules\Windows\bin\Debug\DigitalData.Modules.Windows.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.Windream">
|
||||||
|
<HintPath>..\..\DDModules\Windream\bin\Debug\DigitalData.Modules.Windream.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="DigitalData.Modules.ZooFlow">
|
||||||
|
<HintPath>..\..\DDModules\ZooFlow\bin\Debug\DigitalData.Modules.ZooFlow.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Interop.WINDREAMLib">
|
<Reference Include="Interop.WINDREAMLib">
|
||||||
<HintPath>P:\Visual Studio Projekte\Bibliotheken\windream\Interop.WINDREAMLib.dll</HintPath>
|
<HintPath>P:\Visual Studio Projekte\Bibliotheken\windream\Interop.WINDREAMLib.dll</HintPath>
|
||||||
@@ -188,9 +210,13 @@
|
|||||||
<HintPath>P:\Visual Studio Projekte\Bibliotheken\windream\Interop.WMOTOOLLib.dll</HintPath>
|
<HintPath>P:\Visual Studio Projekte\Bibliotheken\windream\Interop.WMOTOOLLib.dll</HintPath>
|
||||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
<Reference Include="Mail, Version=3.0.21189.1553, Culture=neutral, PublicKeyToken=6dc438ab78a525b3, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\packages\NLog.4.5.11\lib\net45\NLog.dll</HintPath>
|
<HintPath>P:\Visual Studio Projekte\Bibliotheken\Limilabs\Mail.dll\Mail.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\NLog.5.0.2\lib\net46\NLog.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Oracle.ManagedDataAccess">
|
<Reference Include="Oracle.ManagedDataAccess">
|
||||||
<HintPath>P:\Visual Studio Projekte\Bibliotheken\Oracle.ManagedDataAccess.dll</HintPath>
|
<HintPath>P:\Visual Studio Projekte\Bibliotheken\Oracle.ManagedDataAccess.dll</HintPath>
|
||||||
@@ -198,13 +224,18 @@
|
|||||||
<Reference Include="PresentationCore" />
|
<Reference Include="PresentationCore" />
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||||
|
<Reference Include="System.Configuration" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Data.Linq" />
|
<Reference Include="System.Data.Linq" />
|
||||||
<Reference Include="System.Deployment" />
|
<Reference Include="System.Deployment" />
|
||||||
<Reference Include="System.DirectoryServices" />
|
<Reference Include="System.DirectoryServices" />
|
||||||
<Reference Include="System.DirectoryServices.AccountManagement" />
|
<Reference Include="System.DirectoryServices.AccountManagement" />
|
||||||
<Reference Include="System.Drawing" />
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.IO.Compression" />
|
||||||
<Reference Include="System.Runtime.Remoting" />
|
<Reference Include="System.Runtime.Remoting" />
|
||||||
|
<Reference Include="System.Runtime.Serialization" />
|
||||||
|
<Reference Include="System.ServiceModel" />
|
||||||
|
<Reference Include="System.Transactions" />
|
||||||
<Reference Include="System.Web.Services" />
|
<Reference Include="System.Web.Services" />
|
||||||
<Reference Include="System.Windows.Forms" />
|
<Reference Include="System.Windows.Forms" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
@@ -227,38 +258,27 @@
|
|||||||
<Import Include="System.Threading.Tasks" />
|
<Import Include="System.Threading.Tasks" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="AboutBox1.Designer.vb">
|
<Compile Include="frmAbout.Designer.vb">
|
||||||
<DependentUpon>AboutBox1.vb</DependentUpon>
|
<DependentUpon>frmAbout.vb</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="AboutBox1.vb">
|
<Compile Include="frmAbout.vb">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="ClassConfig.vb" />
|
<Compile Include="ClassConfig.vb" />
|
||||||
<Compile Include="ClassConstants.vb" />
|
<Compile Include="ClassConstants.vb" />
|
||||||
<Compile Include="ClassControls.vb" />
|
|
||||||
<Compile Include="ClassDatabase.vb" />
|
|
||||||
<Compile Include="ClassDatatables.vb" />
|
<Compile Include="ClassDatatables.vb" />
|
||||||
<Compile Include="ClassDragDrop.vb" />
|
<Compile Include="ClassDragDrop.vb" />
|
||||||
<Compile Include="ClassFileDrop.vb" />
|
|
||||||
<Compile Include="ClassEmail.vb" />
|
|
||||||
<Compile Include="ClassEncryption.vb" />
|
<Compile Include="ClassEncryption.vb" />
|
||||||
<Compile Include="ClassFilehandle.vb" />
|
<Compile Include="ClassFileHandler.vb" />
|
||||||
<Compile Include="ClassFolderWatcher.vb" />
|
<Compile Include="ClassFolderWatcher.vb" />
|
||||||
<Compile Include="ClassFormFunctions.vb" />
|
|
||||||
<Compile Include="ClassHelper.vb" />
|
|
||||||
<Compile Include="ClassHotkey_Windream.vb" />
|
|
||||||
<Compile Include="ClassIDBData.vb" />
|
<Compile Include="ClassIDBData.vb" />
|
||||||
<Compile Include="ClassIndexFunctions.vb" />
|
<Compile Include="ClassIndexFunctions.vb" />
|
||||||
<Compile Include="ClassInit.vb" />
|
<Compile Include="ClassInit.vb" />
|
||||||
<Compile Include="ClassLayout.vb" />
|
<Compile Include="ClassLayout.vb" />
|
||||||
<Compile Include="ClassLicence.vb" />
|
<Compile Include="ClassLicence.vb" />
|
||||||
<Compile Include="ClassLogger.vb" />
|
|
||||||
<Compile Include="ClassParamRefresh.vb" />
|
<Compile Include="ClassParamRefresh.vb" />
|
||||||
<Compile Include="ClassPatterns.vb" />
|
<Compile Include="ClassPatterns.vb" />
|
||||||
<Compile Include="ClassPostprocessing.vb" />
|
<Compile Include="ClassPostprocessing.vb" />
|
||||||
<Compile Include="ClassWindowAPI.vb" />
|
|
||||||
<Compile Include="ClassEmailHeaderExtractor.vb" />
|
|
||||||
<Compile Include="clsHotkey.vb" />
|
|
||||||
<Compile Include="frmAdministration.Designer.vb">
|
<Compile Include="frmAdministration.Designer.vb">
|
||||||
<DependentUpon>frmAdministration.vb</DependentUpon>
|
<DependentUpon>frmAdministration.vb</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
@@ -289,18 +309,6 @@
|
|||||||
<Compile Include="frmHistory.vb">
|
<Compile Include="frmHistory.vb">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="frmHotKey_Add.Designer.vb">
|
|
||||||
<DependentUpon>frmHotKey_Add.vb</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="frmHotKey_Add.vb">
|
|
||||||
<SubType>Form</SubType>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="frmHotkey_User.Designer.vb">
|
|
||||||
<DependentUpon>frmHotkey_User.vb</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="frmHotkey_User.vb">
|
|
||||||
<SubType>Form</SubType>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="frmIndex.designer.vb">
|
<Compile Include="frmIndex.designer.vb">
|
||||||
<DependentUpon>frmIndex.vb</DependentUpon>
|
<DependentUpon>frmIndex.vb</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
@@ -380,7 +388,6 @@
|
|||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="ModuleCURRENT.vb" />
|
<Compile Include="ModuleCURRENT.vb" />
|
||||||
<Compile Include="ModuleHelpers.vb" />
|
|
||||||
<Compile Include="ModuleRuntime.vb" />
|
<Compile Include="ModuleRuntime.vb" />
|
||||||
<Compile Include="ModuleUserSavings.vb" />
|
<Compile Include="ModuleUserSavings.vb" />
|
||||||
<Compile Include="ModuleWindowHandles.vb" />
|
<Compile Include="ModuleWindowHandles.vb" />
|
||||||
@@ -388,6 +395,7 @@
|
|||||||
<Compile Include="My Project\Application.Designer.vb">
|
<Compile Include="My Project\Application.Designer.vb">
|
||||||
<AutoGen>True</AutoGen>
|
<AutoGen>True</AutoGen>
|
||||||
<DependentUpon>Application.myapp</DependentUpon>
|
<DependentUpon>Application.myapp</DependentUpon>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="My Project\Resources.Designer.vb">
|
<Compile Include="My Project\Resources.Designer.vb">
|
||||||
<AutoGen>True</AutoGen>
|
<AutoGen>True</AutoGen>
|
||||||
@@ -419,11 +427,13 @@
|
|||||||
</Compile>
|
</Compile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<EmbeddedResource Include="AboutBox1.resx">
|
<EmbeddedResource Include="frmAbout.resx">
|
||||||
<DependentUpon>AboutBox1.vb</DependentUpon>
|
<DependentUpon>frmAbout.vb</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="frmAdministration.en-US.resx">
|
<EmbeddedResource Include="frmAdministration.en-US.resx">
|
||||||
<DependentUpon>frmAdministration.vb</DependentUpon>
|
<DependentUpon>frmAdministration.vb</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="frmAdministration.resx">
|
<EmbeddedResource Include="frmAdministration.resx">
|
||||||
<DependentUpon>frmAdministration.vb</DependentUpon>
|
<DependentUpon>frmAdministration.vb</DependentUpon>
|
||||||
@@ -431,42 +441,47 @@
|
|||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="frmConfig_Basic.de.resx">
|
<EmbeddedResource Include="frmConfig_Basic.de.resx">
|
||||||
<DependentUpon>frmConfig_Basic.vb</DependentUpon>
|
<DependentUpon>frmConfig_Basic.vb</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="frmConfig_Basic.en-US.resx">
|
<EmbeddedResource Include="frmConfig_Basic.en-US.resx">
|
||||||
<DependentUpon>frmConfig_Basic.vb</DependentUpon>
|
<DependentUpon>frmConfig_Basic.vb</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="frmConfig_Basic.en.resx">
|
<EmbeddedResource Include="frmConfig_Basic.en.resx">
|
||||||
<DependentUpon>frmConfig_Basic.vb</DependentUpon>
|
<DependentUpon>frmConfig_Basic.vb</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="frmConfig_Basic.resx">
|
<EmbeddedResource Include="frmConfig_Basic.resx">
|
||||||
<DependentUpon>frmConfig_Basic.vb</DependentUpon>
|
<DependentUpon>frmConfig_Basic.vb</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="frmConnections.en-US.resx">
|
<EmbeddedResource Include="frmConnections.en-US.resx">
|
||||||
<DependentUpon>frmConnections.vb</DependentUpon>
|
<DependentUpon>frmConnections.vb</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="frmConnections.resx">
|
<EmbeddedResource Include="frmConnections.resx">
|
||||||
<DependentUpon>frmConnections.vb</DependentUpon>
|
<DependentUpon>frmConnections.vb</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="frmEmailIndexing.resx">
|
<EmbeddedResource Include="frmEmailIndexing.resx">
|
||||||
<DependentUpon>frmEmailIndexing.vb</DependentUpon>
|
<DependentUpon>frmEmailIndexing.vb</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="frmHistory.en-US.resx">
|
<EmbeddedResource Include="frmHistory.en-US.resx">
|
||||||
<DependentUpon>frmHistory.vb</DependentUpon>
|
<DependentUpon>frmHistory.vb</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="frmHistory.resx">
|
<EmbeddedResource Include="frmHistory.resx">
|
||||||
<DependentUpon>frmHistory.vb</DependentUpon>
|
<DependentUpon>frmHistory.vb</DependentUpon>
|
||||||
</EmbeddedResource>
|
<SubType>Designer</SubType>
|
||||||
<EmbeddedResource Include="frmHotKey_Add.resx">
|
|
||||||
<DependentUpon>frmHotKey_Add.vb</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="frmHotkey_User.en-US.resx">
|
|
||||||
<DependentUpon>frmHotkey_User.vb</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="frmHotkey_User.resx">
|
|
||||||
<DependentUpon>frmHotkey_User.vb</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="frmIndex.en-US.resx">
|
<EmbeddedResource Include="frmIndex.en-US.resx">
|
||||||
<DependentUpon>frmIndex.vb</DependentUpon>
|
<DependentUpon>frmIndex.vb</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmIndex.en.resx">
|
||||||
|
<DependentUpon>frmIndex.vb</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="frmIndex.resx">
|
<EmbeddedResource Include="frmIndex.resx">
|
||||||
<DependentUpon>frmIndex.vb</DependentUpon>
|
<DependentUpon>frmIndex.vb</DependentUpon>
|
||||||
@@ -474,6 +489,10 @@
|
|||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="frmIndexFileList.en-US.resx">
|
<EmbeddedResource Include="frmIndexFileList.en-US.resx">
|
||||||
<DependentUpon>frmIndexFileList.vb</DependentUpon>
|
<DependentUpon>frmIndexFileList.vb</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmIndexFileList.en.resx">
|
||||||
|
<DependentUpon>frmIndexFileList.vb</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="frmIndexFileList.resx">
|
<EmbeddedResource Include="frmIndexFileList.resx">
|
||||||
<DependentUpon>frmIndexFileList.vb</DependentUpon>
|
<DependentUpon>frmIndexFileList.vb</DependentUpon>
|
||||||
@@ -543,13 +562,14 @@
|
|||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="frmStart.resx">
|
<EmbeddedResource Include="frmStart.resx">
|
||||||
<DependentUpon>frmStart.vb</DependentUpon>
|
<DependentUpon>frmStart.vb</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="My Project\licenses.licx" />
|
<EmbeddedResource Include="My Project\licenses.licx" />
|
||||||
<EmbeddedResource Include="My Project\Resources.resx">
|
<EmbeddedResource Include="My Project\Resources.resx">
|
||||||
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
||||||
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
|
||||||
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
|
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="Strings\_frmLicense.en-US.resx">
|
<EmbeddedResource Include="Strings\_frmLicense.en-US.resx">
|
||||||
<Generator>ResXFileCodeGenerator</Generator>
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
@@ -727,12 +747,6 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Resources\arrow_left.png" />
|
<None Include="Resources\arrow_left.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<None Include="Resources\handdrawn_arrow_left_green.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="Resources\handdrawn_arrow_right_green.png" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Resources\arrow_back_16xMD.png" />
|
<None Include="Resources\arrow_back_16xMD.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
@@ -764,21 +778,43 @@
|
|||||||
<None Include="Resources\arrow_Up_16xLG.png" />
|
<None Include="Resources\arrow_Up_16xLG.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="DD_Icons_ICO_GLOBIX_1.ico" />
|
<Content Include="DD_Icons_ICO_GLOBIX_1.ico">
|
||||||
<Content Include="DD_Icons_ICO_GLOBIX_128.ico">
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="DD_Icons_ICO_GLOBIX_128.ico">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="file.ico" />
|
||||||
<Content Include="globe_handdrawn.ico" />
|
<Content Include="globe_handdrawn.ico" />
|
||||||
|
<Content Include="MailLicense.xml">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<None Include="Resources\Dropitlikeitshot.png" />
|
||||||
|
<None Include="Resources\SelectAll_32x32.png" />
|
||||||
|
<None Include="Resources\FileFlow_Boot1.png" />
|
||||||
|
<None Include="Resources\FileFlow_Boot.bmp" />
|
||||||
|
<None Include="Resources\file.png" />
|
||||||
|
<None Include="Resources\shipmentawaiting.svg" />
|
||||||
|
<None Include="Resources\initialstate1.svg" />
|
||||||
|
<None Include="Resources\properties1.svg" />
|
||||||
|
<None Include="Resources\highlight1.svg" />
|
||||||
|
<None Include="Resources\highlight.svg" />
|
||||||
|
<None Include="Resources\bo_notifications.svg" />
|
||||||
|
<None Include="Resources\about.svg" />
|
||||||
|
<Content Include="Changelog.txt" />
|
||||||
|
<None Include="Resources\properties.svg" />
|
||||||
|
<None Include="Resources\initialstate.svg" />
|
||||||
|
<None Include="Resources\FileFlow_Icon.png" />
|
||||||
|
<None Include="Resources\FileFlow_Boot.png" />
|
||||||
|
<None Include="Resources\itemtypechecked.svg" />
|
||||||
|
<None Include="Resources\trackingchanges_next.svg" />
|
||||||
<None Include="Resources\GLOBIX_short.png" />
|
<None Include="Resources\GLOBIX_short.png" />
|
||||||
<None Include="Resources\Close_16xMD.png" />
|
<None Include="Resources\Close_16xMD.png" />
|
||||||
<None Include="Resources\Close_16xLG.png" />
|
<None Include="Resources\Close_16xLG.png" />
|
||||||
<None Include="Resources\DD_Icons_ICO_GLOBIX_128.ico" />
|
|
||||||
<None Include="Resources\Globix_ico.bmp" />
|
<None Include="Resources\Globix_ico.bmp" />
|
||||||
<None Include="Resources\email.png" />
|
<None Include="Resources\email.png" />
|
||||||
<None Include="Resources\DD_Icons-GLOBIX.png" />
|
|
||||||
<None Include="Resources\action_add_16xMD.png" />
|
<None Include="Resources\action_add_16xMD.png" />
|
||||||
<None Include="Resources\action_add_16xLG1.png" />
|
<None Include="Resources\action_add_16xLG1.png" />
|
||||||
<None Include="Resources\globe_handdrawn.png" />
|
|
||||||
<None Include="Resources\arrow_previous_16xLG.png" />
|
<None Include="Resources\arrow_previous_16xLG.png" />
|
||||||
<None Include="Resources\Excel_25ixel.jpg" />
|
<None Include="Resources\Excel_25ixel.jpg" />
|
||||||
<None Include="Resources\cancel.png" />
|
<None Include="Resources\cancel.png" />
|
||||||
|
|||||||
23
Global_Indexer/MailLicense.xml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<License>
|
||||||
|
<Id>4dc5ef40-f1a9-468b-994c-b7ed600ad878</Id>
|
||||||
|
<ProductName>Mail.dll</ProductName>
|
||||||
|
<SubscriptionUntil>2022-07-29</SubscriptionUntil>
|
||||||
|
<RegisteredTo>Digital Data GmbH</RegisteredTo>
|
||||||
|
<LicenseType>single developer</LicenseType>
|
||||||
|
<BuyerName>Digital Data GmbH</BuyerName>
|
||||||
|
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
|
||||||
|
<SignedInfo>
|
||||||
|
<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
|
||||||
|
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
|
||||||
|
<Reference URI="">
|
||||||
|
<Transforms>
|
||||||
|
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
|
||||||
|
</Transforms>
|
||||||
|
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
|
||||||
|
<DigestValue>75MRtl4ipYelIZYlpT8O7QDX9Zc=</DigestValue>
|
||||||
|
</Reference>
|
||||||
|
</SignedInfo>
|
||||||
|
<SignatureValue>Raxfkz6DfQVs/sMvH+F2nH0eHXD8FoUFSdP3t7AgBUdpABJQx86srlyuMSEhXPlc1THCqPouEVob4RsWnd9OXvTiPPSOUSK9zuNG6uz93KLAhpSD5PraAgBCF4jwZArlAp7aCNfZpHqQ3w6TRHS+CfravUU0AHHG3MZ1ZcRkGuo=</SignatureValue>
|
||||||
|
</Signature>
|
||||||
|
</License>
|
||||||
@@ -1,88 +1,87 @@
|
|||||||
Imports DigitalData.Modules.Config
|
Imports DigitalData.Modules.Config
|
||||||
Imports DigitalData.Modules.Logging
|
Imports DigitalData.Modules.Logging
|
||||||
|
Imports DigitalData.Modules.Filesystem
|
||||||
|
Imports DigitalData.Modules.Messaging
|
||||||
|
|
||||||
Module ModuleCURRENT
|
Module ModuleCURRENT
|
||||||
Public ERROR_STATE As String
|
Public Property ERROR_STATE As String
|
||||||
Public START_INCOMPLETE As Boolean = False
|
Public Property START_INCOMPLETE As Boolean = False
|
||||||
Public CURRENT_FILENAME As String
|
Public Property CURRENT_FILENAME As String
|
||||||
Public CURRENT_NEWFILENAME As String
|
Public Property CURRENT_NEWFILENAME As String
|
||||||
Public CURRENT_WORKFILE_GUID As Integer
|
Public Property CURRENT_WORKFILE_GUID As Integer
|
||||||
Public CURRENT_WORKFILE As String
|
Public Property CURRENT_WORKFILE_HASH As String
|
||||||
Public CURR_WORKFILE_EXTENSION As String
|
Public Property CURRENT_WORKFILE As String
|
||||||
|
Public Property CURR_WORKFILE_EXTENSION As String
|
||||||
|
|
||||||
Public CONFIG As ConfigManager(Of ClassConfig)
|
Public Property CONFIG As ConfigManager(Of ClassConfig)
|
||||||
Public LOGCONFIG As LogConfig
|
Public Property LOGCONFIG As LogConfig
|
||||||
Public LOGGER As Logger
|
Public Property LOGGER As Logger
|
||||||
|
Public Property FILESYSTEM As File
|
||||||
|
Public Property EMAIL As Email2
|
||||||
|
|
||||||
Public CURRENT_DOKART_ID As Integer
|
Public Property FILE_HANDLER As ClassFileHandler
|
||||||
Public CURRENT_DOKART_DUPLICATE_HANDLING As String = "Default"
|
Public Property FOLDER_WATCHER As ClassFolderWatcher
|
||||||
Public CURRENT_LASTDOKART As String = ""
|
|
||||||
Public CURRENT_INDEXMAN As Integer
|
|
||||||
Public CURRENT_INDEXAUTO As Integer
|
|
||||||
Public CURRENT_SQL_CONFIG As String
|
|
||||||
|
|
||||||
Public VERSION_DELIMITER As String
|
Public Property CURRENT_DOKART_ID As Integer
|
||||||
Public FILE_DELIMITER As String
|
Public Property CURRENT_DOKART_DUPLICATE_HANDLING As String = "Default"
|
||||||
Public CURRENT_MESSAGEID As String
|
Public Property CURRENT_LASTDOKART As String = ""
|
||||||
Public CURRENT_MESSAGEDATE As String
|
Public Property CURRENT_INDEXMAN As Integer
|
||||||
Public CURRENT_MESSAGESUBJECT As String
|
Public Property CURRENT_INDEXAUTO As Integer
|
||||||
Public CURRENT_ISATTACHMENT As Boolean = False
|
|
||||||
|
|
||||||
Public USER_ID
|
Public Property VERSION_DELIMITER As String
|
||||||
Public USER_IN_MODULE As Boolean = False
|
Public Property FILE_DELIMITER As String
|
||||||
Public USER_IS_ADMIN As Boolean = False
|
Public Property CURRENT_MESSAGEID As String
|
||||||
|
Public Property CURRENT_MESSAGEDATE As String
|
||||||
|
Public Property CURRENT_MESSAGESUBJECT As String
|
||||||
|
Public Property CURRENT_ISATTACHMENT As Boolean = False
|
||||||
|
|
||||||
Public USER_SHORTNAME As String = ""
|
Public Property USER_ID
|
||||||
Public USER_PRENAME As String = ""
|
Public Property USER_IN_MODULE As Boolean = False
|
||||||
Public USER_SURNAME As String = ""
|
Public Property USER_IS_ADMIN As Boolean = False
|
||||||
Public USER_EMAIL As String = ""
|
|
||||||
Public USER_LANGUAGE As String = "DE"
|
|
||||||
Public USER_USERNAME As String = ""
|
|
||||||
Public USERCOUNT_LOGGED_IN As Integer = 0
|
|
||||||
|
|
||||||
Public CURRENT_FOLDERWATCH As String = ""
|
Public Property USER_SHORTNAME As String = ""
|
||||||
Public CURRENT_SCAN_FOLDERWATCH As String = ""
|
Public Property USER_PRENAME As String = ""
|
||||||
|
Public Property USER_SURNAME As String = ""
|
||||||
|
Public Property USER_EMAIL As String = ""
|
||||||
|
Public Property USER_LANGUAGE As String = "DE"
|
||||||
|
Public Property USER_USERNAME As String = ""
|
||||||
|
Public Property USERCOUNT_LOGGED_IN As Integer = 0
|
||||||
|
|
||||||
Public FWFunction_STARTED As Boolean = False
|
Public Property CURRENT_FOLDERWATCH As String = ""
|
||||||
|
Public Property CURRENT_SCAN_FOLDERWATCH As String = ""
|
||||||
|
|
||||||
Public CURR_DOKART_WD_DIRECT As Boolean = False
|
Public Property FWFunction_STARTED As Boolean = False
|
||||||
Public CURR_DOKART_OBJECTTYPE As String
|
|
||||||
Public CURRENT_WD_TEMPSEARCH As String = ""
|
|
||||||
|
|
||||||
Public LICENSE_EXPIRED As Boolean = False
|
Public Property CURR_DOKART_WD_DIRECT As Boolean = False
|
||||||
Public LICENSE_COUNT As Integer = 0
|
Public Property CURR_DOKART_OBJECTTYPE As String
|
||||||
Public LICENSE_DOCTYPE_COUNT As Integer = 0
|
|
||||||
Public DOCTYPE_COUNT_ACTUAL As Integer = 0
|
|
||||||
Public LicenseHotKey As Integer = 0
|
|
||||||
|
|
||||||
Public CURRENT_HTML_DOC As String
|
Public Property LICENSE_EXPIRED As Boolean = False
|
||||||
|
Public Property LICENSE_COUNT As Integer = 0
|
||||||
|
Public Property LICENSE_DOCTYPE_COUNT As Integer = 0
|
||||||
|
Public Property DOCTYPE_COUNT_ACTUAL As Integer = 0
|
||||||
|
Public Property LicenseHotKey As Integer = 0
|
||||||
|
|
||||||
Public INDEXING_ACTIVE As Boolean = False
|
Public Property INDEXING_ACTIVE As Boolean = False
|
||||||
Public MULTIINDEXING_ACTIVE As Boolean = False
|
Public Property MULTIINDEXING_ACTIVE As Boolean = False
|
||||||
Public ABORT_INDEXING As Boolean = False
|
Public Property ABORT_INDEXING As Boolean = False
|
||||||
|
|
||||||
Public DTACTUAL_FILES As DataTable
|
Public Property DTACTUAL_FILES As DataTable
|
||||||
Public DTEXCLUDE_FILES As DataTable
|
Public Property DTEXCLUDE_FILES As DataTable
|
||||||
Public DTTBGI_REGEX_DOCTYPE As DataTable
|
Public Property DTTBGI_REGEX_DOCTYPE As DataTable
|
||||||
|
|
||||||
Public CURRENT_SQLRESULT As String
|
Public Property CURRENT_SQLRESULT As String
|
||||||
Public DTSQL_RESULT As DataTable
|
Public Property DTSQL_RESULT As DataTable
|
||||||
Public TEMP_FILES As List(Of String) = New List(Of String)
|
|
||||||
|
|
||||||
Public CURRENT_FOCUSES_WINDOWNAME As String
|
Public Property LANGUAGE_CHANGED As Boolean = False
|
||||||
|
Public Property CURR_MISSING_PATTERN_NAME As String
|
||||||
|
Public Property CURR_MISSING_SEARCH_STRING As String
|
||||||
|
Public Property CURR_MISSING_MANUAL_VALUE As String
|
||||||
|
Public Property CURR_DELETE_ORIGIN As Boolean = False
|
||||||
|
Public Property CURRENT_DT_REGEX As DataTable
|
||||||
|
Public Property REGEX_CLEAN_FILENAME As String = "[?*^""<>|]"
|
||||||
|
Public Property CURRENT_DROPTYPE
|
||||||
|
|
||||||
Public LANGUAGE_CHANGED As Boolean = False
|
Public Property VIEWER_LICENSE As String = ""
|
||||||
Public CURR_MISSING_PATTERN_NAME As String
|
|
||||||
Public CURR_MISSING_SEARCH_STRING As String
|
|
||||||
Public CURR_MISSING_MANUAL_VALUE As String
|
|
||||||
Public CURR_DELETE_ORIGIN As Boolean = False
|
|
||||||
Public CURRENT_DT_REGEX As DataTable
|
|
||||||
Public REGEX_CLEAN_FILENAME As String = "[?*^""<>|]"
|
|
||||||
Public CURRENT_DROPTYPE
|
|
||||||
|
|
||||||
Public VIEWER_LICENSE As String = ""
|
|
||||||
|
|
||||||
Public INDEX_FORM_LOADED As Boolean
|
|
||||||
End Module
|
End Module
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
Module ModuleHelpers
|
|
||||||
''' <summary>
|
|
||||||
''' Überprüft einen Wert auf verschiedene Arten von "Null" und gibt einen Standard-Wert zurück, wenn der Wert "Null" ist.
|
|
||||||
''' </summary>
|
|
||||||
''' <param name="value">Der zu überprüfende Wert</param>
|
|
||||||
''' <param name="defaultValue">Der Standard Wert</param>
|
|
||||||
''' <returns>value oder wenn dieser "Null" ist, defaultValue</returns>
|
|
||||||
Public Function NotNull(Of T)(ByVal value As T, ByVal defaultValue As T) As T
|
|
||||||
If IsNothing(value) OrElse String.IsNullOrEmpty(value.ToString) OrElse IsDBNull(value) Then
|
|
||||||
Return defaultValue
|
|
||||||
Else
|
|
||||||
Return value
|
|
||||||
End If
|
|
||||||
End Function
|
|
||||||
End Module
|
|
||||||
@@ -1,20 +1,22 @@
|
|||||||
Imports System.IO
|
Imports System.IO
|
||||||
Imports System.Xml
|
Imports System.Xml
|
||||||
|
Imports DigitalData.Modules.Database
|
||||||
Imports DigitalData.Modules.Windream
|
Imports DigitalData.Modules.Windream
|
||||||
Module ModuleRuntime
|
Module ModuleRuntime
|
||||||
'Dim ConfigPath As String = Path.Combine(Application.UserAppDataPath(), "UserConfig.xml")
|
'Dim ConfigPath As String = Path.Combine(Application.UserAppDataPath(), "UserConfig.xml")
|
||||||
Public Const USER_CONFIG_FILE = "UserConfig.xml"
|
Public Const USER_CONFIG_FILE = "UserConfig.xml"
|
||||||
Public Const COMPUTER_CONFIG_FILE = "ComputerConfig.xml"
|
Public Const COMPUTER_CONFIG_FILE = "ComputerConfig.xml"
|
||||||
|
Public Const WINDREAM_BASEPATH = "\\windream\objects"
|
||||||
|
|
||||||
Public MyConnectionString As String = ""
|
Public MyConnectionString As String = ""
|
||||||
Public LogErrorsOnly As Boolean = True
|
Public LogErrorsOnly As Boolean = True
|
||||||
Public GI_withWindream As Boolean = False
|
Public GI_withWindream As Boolean = False
|
||||||
Public WMDrive As String = "W"
|
Public WMDrive As String = "W"
|
||||||
'Public myPreviewActive As Boolean = True
|
'Public myPreviewActive As Boolean = True
|
||||||
Public FW_started As Boolean = False
|
Public Property FW_started As Boolean = False
|
||||||
Public IDB_ACTIVE As Boolean = False
|
Public IDB_ACTIVE As Boolean = False
|
||||||
Public WORKING_MODE As String
|
Public WORKING_MODE As String
|
||||||
Public CONNECTION_STRING_IDB As String
|
Public Property CONNECTION_STRING_IDB As String
|
||||||
|
|
||||||
Public IDBData As ClassIDBData
|
Public IDBData As ClassIDBData
|
||||||
Public IDB_USES_WMFILESTORE As Boolean = False
|
Public IDB_USES_WMFILESTORE As Boolean = False
|
||||||
@@ -23,5 +25,8 @@ Module ModuleRuntime
|
|||||||
Public IDB_DOC_ID As Int64
|
Public IDB_DOC_ID As Int64
|
||||||
Public IDB_LOG_INDEX As String
|
Public IDB_LOG_INDEX As String
|
||||||
|
|
||||||
Public WINDREAM As Windream
|
Public Property WINDREAM As Windream
|
||||||
|
|
||||||
|
Public Property DATABASE_ECM As MSSQLServer
|
||||||
|
Public Property DATABASE_IDB As MSSQLServer
|
||||||
End Module
|
End Module
|
||||||
|
|||||||
@@ -10,12 +10,12 @@ Imports System.Runtime.InteropServices
|
|||||||
|
|
||||||
' Die Werte der Assemblyattribute überprüfen
|
' Die Werte der Assemblyattribute überprüfen
|
||||||
|
|
||||||
<Assembly: AssemblyTitle("Global Indexer")>
|
<Assembly: AssemblyTitle("File Flow")>
|
||||||
<Assembly: AssemblyDescription("")>
|
<Assembly: AssemblyDescription("")>
|
||||||
<Assembly: AssemblyCompany("Digital Data")>
|
<Assembly: AssemblyCompany("Digital Data")>
|
||||||
<Assembly: AssemblyProduct("Global Indexer")>
|
<Assembly: AssemblyProduct("File Flow")>
|
||||||
<Assembly: AssemblyCopyright("Copyright © 2020")>
|
<Assembly: AssemblyCopyright("Copyright © 2022")>
|
||||||
<Assembly: AssemblyTrademark("21015")>
|
<Assembly: AssemblyTrademark("2.6.2.0")>
|
||||||
|
|
||||||
<Assembly: ComVisible(False)>
|
<Assembly: ComVisible(False)>
|
||||||
|
|
||||||
@@ -33,7 +33,7 @@ Imports System.Runtime.InteropServices
|
|||||||
' übernehmen, indem Sie "*" eingeben:
|
' übernehmen, indem Sie "*" eingeben:
|
||||||
' <Assembly: AssemblyVersion("1.0.*")>
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
<Assembly: AssemblyVersion("2.1.0.15")>
|
<Assembly: AssemblyVersion("2.6.5.0")>
|
||||||
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
||||||
|
|
||||||
<Assembly: NeutralResourcesLanguageAttribute("")>
|
<Assembly: NeutralResourcesLanguageAttribute("")>
|
||||||
188
Global_Indexer/My Project/Resources.Designer.vb
generated
@@ -22,7 +22,7 @@ Namespace My.Resources
|
|||||||
'''<summary>
|
'''<summary>
|
||||||
''' Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
|
''' Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0"), _
|
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0"), _
|
||||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||||
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||||
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
|
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
|
||||||
@@ -60,6 +60,16 @@ Namespace My.Resources
|
|||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Sucht eine lokalisierte Ressource vom Typ DevExpress.Utils.Svg.SvgImage.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property about() As DevExpress.Utils.Svg.SvgImage
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("about", resourceCulture)
|
||||||
|
Return CType(obj,DevExpress.Utils.Svg.SvgImage)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
@@ -200,6 +210,16 @@ Namespace My.Resources
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Sucht eine lokalisierte Ressource vom Typ DevExpress.Utils.Svg.SvgImage.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property bo_notifications() As DevExpress.Utils.Svg.SvgImage
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("bo_notifications", resourceCulture)
|
||||||
|
Return CType(obj,DevExpress.Utils.Svg.SvgImage)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
@@ -320,26 +340,6 @@ Namespace My.Resources
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
|
||||||
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
|
||||||
'''</summary>
|
|
||||||
Friend ReadOnly Property DD_Icons_GLOBIX() As System.Drawing.Bitmap
|
|
||||||
Get
|
|
||||||
Dim obj As Object = ResourceManager.GetObject("DD_Icons-GLOBIX", resourceCulture)
|
|
||||||
Return CType(obj,System.Drawing.Bitmap)
|
|
||||||
End Get
|
|
||||||
End Property
|
|
||||||
|
|
||||||
'''<summary>
|
|
||||||
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
|
||||||
'''</summary>
|
|
||||||
Friend ReadOnly Property DD_Icons_ICO_GLOBIX_128() As System.Drawing.Bitmap
|
|
||||||
Get
|
|
||||||
Dim obj As Object = ResourceManager.GetObject("DD_Icons_ICO_GLOBIX_128", resourceCulture)
|
|
||||||
Return CType(obj,System.Drawing.Bitmap)
|
|
||||||
End Get
|
|
||||||
End Property
|
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
@@ -360,6 +360,16 @@ Namespace My.Resources
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property Dropitlikeitshot() As System.Drawing.Bitmap
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("Dropitlikeitshot", resourceCulture)
|
||||||
|
Return CType(obj,System.Drawing.Bitmap)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
@@ -400,6 +410,26 @@ Namespace My.Resources
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property file() As System.Drawing.Bitmap
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("file", resourceCulture)
|
||||||
|
Return CType(obj,System.Drawing.Bitmap)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property FileFlow_Boot() As System.Drawing.Bitmap
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("FileFlow_Boot", resourceCulture)
|
||||||
|
Return CType(obj,System.Drawing.Bitmap)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
@@ -450,26 +480,6 @@ Namespace My.Resources
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
|
||||||
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
|
||||||
'''</summary>
|
|
||||||
Friend ReadOnly Property globe_handdrawn() As System.Drawing.Bitmap
|
|
||||||
Get
|
|
||||||
Dim obj As Object = ResourceManager.GetObject("globe_handdrawn", resourceCulture)
|
|
||||||
Return CType(obj,System.Drawing.Bitmap)
|
|
||||||
End Get
|
|
||||||
End Property
|
|
||||||
|
|
||||||
'''<summary>
|
|
||||||
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
|
||||||
'''</summary>
|
|
||||||
Friend ReadOnly Property GLOBIX_short() As System.Drawing.Bitmap
|
|
||||||
Get
|
|
||||||
Dim obj As Object = ResourceManager.GetObject("GLOBIX_short", resourceCulture)
|
|
||||||
Return CType(obj,System.Drawing.Bitmap)
|
|
||||||
End Get
|
|
||||||
End Property
|
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
@@ -481,22 +491,52 @@ Namespace My.Resources
|
|||||||
End Property
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
''' Sucht eine lokalisierte Ressource vom Typ DevExpress.Utils.Svg.SvgImage.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
Friend ReadOnly Property handdrawn_arrow_left_green() As System.Drawing.Bitmap
|
Friend ReadOnly Property highlight() As DevExpress.Utils.Svg.SvgImage
|
||||||
Get
|
Get
|
||||||
Dim obj As Object = ResourceManager.GetObject("handdrawn_arrow_left_green", resourceCulture)
|
Dim obj As Object = ResourceManager.GetObject("highlight", resourceCulture)
|
||||||
Return CType(obj,System.Drawing.Bitmap)
|
Return CType(obj,DevExpress.Utils.Svg.SvgImage)
|
||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
''' Sucht eine lokalisierte Ressource vom Typ DevExpress.Utils.Svg.SvgImage.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
Friend ReadOnly Property handdrawn_arrow_right_green() As System.Drawing.Bitmap
|
Friend ReadOnly Property highlight1() As DevExpress.Utils.Svg.SvgImage
|
||||||
Get
|
Get
|
||||||
Dim obj As Object = ResourceManager.GetObject("handdrawn_arrow_right_green", resourceCulture)
|
Dim obj As Object = ResourceManager.GetObject("highlight1", resourceCulture)
|
||||||
Return CType(obj,System.Drawing.Bitmap)
|
Return CType(obj,DevExpress.Utils.Svg.SvgImage)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Sucht eine lokalisierte Ressource vom Typ DevExpress.Utils.Svg.SvgImage.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property initialstate() As DevExpress.Utils.Svg.SvgImage
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("initialstate", resourceCulture)
|
||||||
|
Return CType(obj,DevExpress.Utils.Svg.SvgImage)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Sucht eine lokalisierte Ressource vom Typ DevExpress.Utils.Svg.SvgImage.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property initialstate1() As DevExpress.Utils.Svg.SvgImage
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("initialstate1", resourceCulture)
|
||||||
|
Return CType(obj,DevExpress.Utils.Svg.SvgImage)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Sucht eine lokalisierte Ressource vom Typ DevExpress.Utils.Svg.SvgImage.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property itemtypechecked() As DevExpress.Utils.Svg.SvgImage
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("itemtypechecked", resourceCulture)
|
||||||
|
Return CType(obj,DevExpress.Utils.Svg.SvgImage)
|
||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
@@ -540,6 +580,26 @@ Namespace My.Resources
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Sucht eine lokalisierte Ressource vom Typ DevExpress.Utils.Svg.SvgImage.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property properties() As DevExpress.Utils.Svg.SvgImage
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("properties", resourceCulture)
|
||||||
|
Return CType(obj,DevExpress.Utils.Svg.SvgImage)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Sucht eine lokalisierte Ressource vom Typ DevExpress.Utils.Svg.SvgImage.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property properties1() As DevExpress.Utils.Svg.SvgImage
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("properties1", resourceCulture)
|
||||||
|
Return CType(obj,DevExpress.Utils.Svg.SvgImage)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
@@ -590,6 +650,16 @@ Namespace My.Resources
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property SelectAll_32x32() As System.Drawing.Bitmap
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("SelectAll_32x32", resourceCulture)
|
||||||
|
Return CType(obj,System.Drawing.Bitmap)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
@@ -600,6 +670,16 @@ Namespace My.Resources
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Sucht eine lokalisierte Ressource vom Typ DevExpress.Utils.Svg.SvgImage.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property shipmentawaiting() As DevExpress.Utils.Svg.SvgImage
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("shipmentawaiting", resourceCulture)
|
||||||
|
Return CType(obj,DevExpress.Utils.Svg.SvgImage)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
@@ -610,6 +690,16 @@ Namespace My.Resources
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Sucht eine lokalisierte Ressource vom Typ DevExpress.Utils.Svg.SvgImage.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property trackingchanges_next() As DevExpress.Utils.Svg.SvgImage
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("trackingchanges_next", resourceCulture)
|
||||||
|
Return CType(obj,DevExpress.Utils.Svg.SvgImage)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
|
|||||||
@@ -136,11 +136,11 @@
|
|||||||
<data name="WindowsForm_817_12x" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="WindowsForm_817_12x" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\WindowsForm_817_12x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\WindowsForm_817_12x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="refresh_16xLG" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="gear_32xLG" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\refresh_16xLG.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\gear_32xLG.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DD_Icons-GLOBIX" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="properties" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\DD_Icons-GLOBIX.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\properties.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="gear_32xSM" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="gear_32xSM" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\gear_32xSM.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\gear_32xSM.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
@@ -163,41 +163,47 @@
|
|||||||
<data name="delete_12x12" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="delete_12x12" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\delete_12x12.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\delete_12x12.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="globe_handdrawn" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
|
||||||
<value>..\Resources\globe_handdrawn.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
|
||||||
</data>
|
|
||||||
<data name="cancel" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="cancel" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\cancel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\cancel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="database_save2" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="database_save2" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\database_save2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\database_save2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="folder_Open_32xSM" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="key" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\folder_Open_32xSM.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\key.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="arrow_right" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="arrow_right" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\arrow_right.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\arrow_right.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="shipmentawaiting" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\shipmentawaiting.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
|
</data>
|
||||||
<data name="page_red" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="page_red" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\page_red.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\page_red.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="folder_go" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="folder_go" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\folder_go.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\folder_go.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="save_16xLG" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="initialstate" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\save_16xLG.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\initialstate.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="handdrawn_arrow_right_green" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="FileFlow_Boot" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\handdrawn_arrow_right_green.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\FileFlow_Boot1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="database_save1" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\database_save1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="database_go" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="database_go" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\database_go.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\database_go.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="key" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="trackingchanges_next" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\key.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\trackingchanges_next.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Save_6530" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="refresh_16xLG" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\Save_6530.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\refresh_16xLG.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="file" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\file.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="arrow_refresh" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="arrow_refresh" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\arrow_refresh.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\arrow_refresh.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
@@ -205,6 +211,9 @@
|
|||||||
<data name="action_add_16xLG1" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="action_add_16xLG1" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\action_add_16xLG1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\action_add_16xLG1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="initialstate1" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\initialstate1.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
|
</data>
|
||||||
<data name="refresh_16xMD" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="refresh_16xMD" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\refresh_16xMD.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\refresh_16xMD.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -217,8 +226,11 @@
|
|||||||
<data name="KeyDown_8461_12x" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="KeyDown_8461_12x" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\KeyDown_8461_12x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\KeyDown_8461_12x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="database_connect" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="about" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\database_connect.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\about.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
|
</data>
|
||||||
|
<data name="folder_link" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\folder_link.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Einstellungen5" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="Einstellungen5" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\Einstellungen5.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\Einstellungen5.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
@@ -226,15 +238,18 @@
|
|||||||
<data name="bullet_arrow_top" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="bullet_arrow_top" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\bullet_arrow_top.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\bullet_arrow_top.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="CheckOutforEdit_13187_32x" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="folder_Open_32xSM" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\CheckOutforEdit_13187_32x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\folder_Open_32xSM.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="database_save1" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="save_16xLG" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\database_save1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\save_16xLG.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="action_add_16xLG" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="action_add_16xLG" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\action_add_16xLG.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\action_add_16xLG.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="CheckOutforEdit_13187_32x" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\CheckOutforEdit_13187_32x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
<data name="arrow_left" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="arrow_left" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\arrow_left.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\arrow_left.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -244,38 +259,41 @@
|
|||||||
<data name="Go" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="Go" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\Go.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\Go.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Benutzer" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="properties1" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\Benutzer.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\properties1.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="database_refresh" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="database_refresh" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\database_refresh.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\database_refresh.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="database_connect" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\database_connect.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="Save_6530" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\Save_6530.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="highlight1" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\highlight1.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
|
</data>
|
||||||
<data name="action_add_16xMD" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="action_add_16xMD" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\action_add_16xMD.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\action_add_16xMD.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Selectallrowsfrom_tableA__294" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="Selectallrowsfrom_tableA__294" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\Selectallrowsfrom_tableA__294.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\Selectallrowsfrom_tableA__294.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="handdrawn_arrow_left_green" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="highlight" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\handdrawn_arrow_left_green.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\highlight.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Close_16xLG" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="Close_16xLG" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\Close_16xLG.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\Close_16xLG.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="folder_link" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
|
||||||
<value>..\Resources\folder_link.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
|
||||||
</data>
|
|
||||||
<data name="DD_Icons_ICO_GLOBIX_128" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
|
||||||
<value>..\Resources\DD_Icons_ICO_GLOBIX_128.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
|
||||||
</data>
|
|
||||||
<data name="Excel_25ixel" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="Excel_25ixel" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\Excel_25ixel.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\Excel_25ixel.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="delete2" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="delete2" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\delete2.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\delete2.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="gear_32xLG" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="Benutzer" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\gear_32xLG.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\Benutzer.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Shortcut_8169_16x" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="Shortcut_8169_16x" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\Shortcut_8169_16x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\Shortcut_8169_16x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
@@ -283,7 +301,16 @@
|
|||||||
<data name="database_save" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="database_save" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\database_save.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\database_save.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="GLOBIX_short" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="bo_notifications" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\GLOBIX_short.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\bo_notifications.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
|
</data>
|
||||||
|
<data name="itemtypechecked" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\itemtypechecked.svg;DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
|
</data>
|
||||||
|
<data name="SelectAll_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\SelectAll_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="Dropitlikeitshot" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\Dropitlikeitshot.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
</root>
|
</root>
|
||||||
2
Global_Indexer/My Project/Settings.Designer.vb
generated
@@ -15,7 +15,7 @@ Option Explicit On
|
|||||||
Namespace My
|
Namespace My
|
||||||
|
|
||||||
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||||
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.4.0.0"), _
|
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.3.0.0"), _
|
||||||
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||||
Partial Friend NotInheritable Class MySettings
|
Partial Friend NotInheritable Class MySettings
|
||||||
Inherits Global.System.Configuration.ApplicationSettingsBase
|
Inherits Global.System.Configuration.ApplicationSettingsBase
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<Settings>
|
<Settings>
|
||||||
<Setting Name="DD_ECMConnectionString" Type="(Connection string)" Scope="Application">
|
<Setting Name="DD_ECMConnectionString" Type="(Connection string)" Scope="Application">
|
||||||
<DesignTimeValue Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
<DesignTimeValue Profile="(Default)"><?xml version="1.0" encoding="utf-16"?>
|
||||||
<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
<SerializableConnectionString xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
<ConnectionString>Data Source=SDD-VMP04-SQL17\DD_DEVELOP01;Initial Catalog=DD_ECM_TEST;Persist Security Info=True;User ID=sa;Password=dd</ConnectionString>
|
<ConnectionString>Data Source=SDD-VMP04-SQL17\DD_DEVELOP01;Initial Catalog=DD_ECM_TEST;Persist Security Info=True;User ID=sa;Password=dd</ConnectionString>
|
||||||
<ProviderName>System.Data.SqlClient</ProviderName>
|
<ProviderName>System.Data.SqlClient</ProviderName>
|
||||||
</SerializableConnectionString></DesignTimeValue>
|
</SerializableConnectionString></DesignTimeValue>
|
||||||
|
|||||||
@@ -1,9 +1,5 @@
|
|||||||
DevExpress.XtraEditors.CheckEdit, DevExpress.XtraEditors.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
DevExpress.XtraEditors.CheckEdit, DevExpress.XtraEditors.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
DevExpress.XtraPdfViewer.PdfViewer, DevExpress.XtraPdfViewer.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
DevExpress.XtraEditors.SearchLookUpEdit, DevExpress.XtraGrid.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
DevExpress.XtraEditors.ComboBoxEdit, DevExpress.XtraEditors.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
DevExpress.XtraLayout.LayoutControl, DevExpress.XtraLayout.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
DevExpress.XtraBars.BarManager, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
DevExpress.XtraEditors.LookUpEdit, DevExpress.XtraEditors.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
DevExpress.XtraBars.Ribbon.RibbonControl, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
DevExpress.XtraEditors.TextEdit, DevExpress.XtraEditors.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
|
||||||
DevExpress.XtraEditors.ButtonEdit, DevExpress.XtraEditors.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
|
||||||
DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
|
||||||
DevExpress.XtraBars.Ribbon.RibbonControl, DevExpress.XtraBars.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v15.2, Version=15.2.16.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
DevExpress.XtraEditors.PictureEdit, DevExpress.XtraEditors.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
DevExpress.XtraPdfViewer.PdfViewer, DevExpress.XtraPdfViewer.v15.2, Version=15.2.16.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
DevExpress.XtraEditors.GridLookUpEdit, DevExpress.XtraGrid.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
DevExpress.XtraBars.Ribbon.RibbonControl, DevExpress.XtraBars.v15.2, Version=15.2.16.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
DevExpress.XtraEditors.CheckEdit, DevExpress.XtraEditors.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
DevExpress.XtraEditors.TextEdit, DevExpress.XtraEditors.v15.2, Version=15.2.16.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
DevExpress.XtraBars.BarManager, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
|
DevExpress.XtraEditors.ComboBoxEdit, DevExpress.XtraEditors.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
|
DevExpress.XtraEditors.SearchLookUpEdit, DevExpress.XtraGrid.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
|
DevExpress.XtraBars.Ribbon.RibbonControl, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
|
DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
|
||||||
|
|||||||
10689
Global_Indexer/MyDataset.Designer.vb
generated
@@ -1,6 +1,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Partial Public Class MyDataset
|
Partial Public Class MyDataset
|
||||||
|
Partial Public Class TBDD_INDEX_AUTOMDataTable
|
||||||
|
End Class
|
||||||
|
|
||||||
Partial Public Class TBDD_INDEX_MANDataTable
|
Partial Public Class TBDD_INDEX_MANDataTable
|
||||||
End Class
|
End Class
|
||||||
|
|
||||||
|
|||||||
@@ -247,81 +247,6 @@
|
|||||||
</ColumnUISetting>
|
</ColumnUISetting>
|
||||||
</ColumnUISettings>
|
</ColumnUISettings>
|
||||||
</TableUISetting>
|
</TableUISetting>
|
||||||
<TableUISetting Name="TBHOTKEY_PROFILE">
|
|
||||||
<ColumnUISettings>
|
|
||||||
<ColumnUISetting Name="HOTKEY1">
|
|
||||||
<ControlSettings><ControlSetting ArtifactName="Microsoft:System.Windows.Forms:Form" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
|
||||||
<BindableControlInfo Name="ComboBox" Type="System.Windows.Forms.ComboBox" AssemblyName="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
||||||
</ControlSetting></ControlSettings>
|
|
||||||
</ColumnUISetting>
|
|
||||||
<ColumnUISetting Name="HOTKEY2">
|
|
||||||
<ControlSettings><ControlSetting ArtifactName="Microsoft:System.Windows.Forms:Form" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
|
||||||
<BindableControlInfo Name="TextBox" Type="System.Windows.Forms.TextBox" AssemblyName="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
||||||
</ControlSetting></ControlSettings>
|
|
||||||
</ColumnUISetting>
|
|
||||||
<ColumnUISetting Name="CHANGED_WHEN">
|
|
||||||
<ControlSettings><ControlSetting ArtifactName="Microsoft:System.Windows.Forms:Form" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
|
||||||
<BindableControlInfo Name="TextBox" Type="System.Windows.Forms.TextBox" AssemblyName="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
||||||
</ControlSetting></ControlSettings>
|
|
||||||
</ColumnUISetting>
|
|
||||||
</ColumnUISettings>
|
|
||||||
</TableUISetting>
|
|
||||||
<TableUISetting Name="TBHOTKEY_PATTERNS">
|
|
||||||
<ColumnUISettings>
|
|
||||||
<ColumnUISetting Name="ADDED_WHEN">
|
|
||||||
<ControlSettings><ControlSetting ArtifactName="Microsoft:System.Windows.Forms:Form" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
|
||||||
<BindableControlInfo Name="TextBox" Type="System.Windows.Forms.TextBox" AssemblyName="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
||||||
</ControlSetting></ControlSettings>
|
|
||||||
</ColumnUISetting>
|
|
||||||
<ColumnUISetting Name="CHANGED_WHEN">
|
|
||||||
<ControlSettings><ControlSetting ArtifactName="Microsoft:System.Windows.Forms:Form" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
|
||||||
<BindableControlInfo Name="TextBox" Type="System.Windows.Forms.TextBox" AssemblyName="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
||||||
</ControlSetting></ControlSettings>
|
|
||||||
</ColumnUISetting>
|
|
||||||
</ColumnUISettings>
|
|
||||||
</TableUISetting>
|
|
||||||
<TableUISetting Name="TBHOTKEY_USER_PROFILE">
|
|
||||||
<ColumnUISettings>
|
|
||||||
<ColumnUISetting Name="HOTKEY1">
|
|
||||||
<ControlSettings><ControlSetting ArtifactName="Microsoft:System.Windows.Forms:Form" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
|
||||||
<BindableControlInfo Name="ComboBox" Type="System.Windows.Forms.ComboBox" AssemblyName="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
||||||
</ControlSetting></ControlSettings>
|
|
||||||
</ColumnUISetting>
|
|
||||||
<ColumnUISetting Name="ADDED_WHEN">
|
|
||||||
<ControlSettings><ControlSetting ArtifactName="Microsoft:System.Windows.Forms:Form" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
|
||||||
<BindableControlInfo Name="TextBox" Type="System.Windows.Forms.TextBox" AssemblyName="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
||||||
</ControlSetting></ControlSettings>
|
|
||||||
</ColumnUISetting>
|
|
||||||
<ColumnUISetting Name="CHANGED_WHEN">
|
|
||||||
<ControlSettings><ControlSetting ArtifactName="Microsoft:System.Windows.Forms:Form" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
|
||||||
<BindableControlInfo Name="TextBox" Type="System.Windows.Forms.TextBox" AssemblyName="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
||||||
</ControlSetting></ControlSettings>
|
|
||||||
</ColumnUISetting>
|
|
||||||
</ColumnUISettings>
|
|
||||||
</TableUISetting>
|
|
||||||
<TableUISetting Name="TBHOTKEY_PATTERNS_REWORK">
|
|
||||||
<ColumnUISettings>
|
|
||||||
<ColumnUISetting Name="TYPE">
|
|
||||||
<ControlSettings><ControlSetting ArtifactName="Microsoft:System.Windows.Forms:Form" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
|
||||||
<BindableControlInfo Name="ComboBox" Type="System.Windows.Forms.ComboBox" AssemblyName="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
||||||
</ControlSetting></ControlSettings>
|
|
||||||
</ColumnUISetting>
|
|
||||||
<ColumnUISetting Name="CHANGED_WHEN">
|
|
||||||
<ControlSettings><ControlSetting ArtifactName="Microsoft:System.Windows.Forms:Form" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
|
||||||
<BindableControlInfo Name="TextBox" Type="System.Windows.Forms.TextBox" AssemblyName="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
||||||
</ControlSetting></ControlSettings>
|
|
||||||
</ColumnUISetting>
|
|
||||||
</ColumnUISettings>
|
|
||||||
</TableUISetting>
|
|
||||||
<TableUISetting Name="TBHOTKEY_WINDOW_HOOK">
|
|
||||||
<ColumnUISettings>
|
|
||||||
<ColumnUISetting Name="ADDED_WHEN">
|
|
||||||
<ControlSettings><ControlSetting ArtifactName="Microsoft:System.Windows.Forms:Form" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
|
||||||
<BindableControlInfo Name="TextBox" Type="System.Windows.Forms.TextBox" AssemblyName="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
||||||
</ControlSetting></ControlSettings>
|
|
||||||
</ColumnUISetting>
|
|
||||||
</ColumnUISettings>
|
|
||||||
</TableUISetting>
|
|
||||||
<TableUISetting Name="TBGI_REGEX_DOCTYPE">
|
<TableUISetting Name="TBGI_REGEX_DOCTYPE">
|
||||||
<ColumnUISettings>
|
<ColumnUISettings>
|
||||||
<ColumnUISetting Name="DOCTYPE_ID">
|
<ColumnUISetting Name="DOCTYPE_ID">
|
||||||
|
|||||||
@@ -4,39 +4,33 @@
|
|||||||
Changes to this file may cause incorrect behavior and will be lost if
|
Changes to this file may cause incorrect behavior and will be lost if
|
||||||
the code is regenerated.
|
the code is regenerated.
|
||||||
</autogenerated>-->
|
</autogenerated>-->
|
||||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-22" ViewPortY="208" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="251" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||||
<Shapes>
|
<Shapes>
|
||||||
<Shape ID="DesignTable:TBDD_USER" ZOrder="8" X="765" Y="247" Height="305" Width="213" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
<Shape ID="DesignTable:TBDD_USER" ZOrder="12" X="765" Y="247" Height="305" Width="213" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||||
<Shape ID="DesignTable:TBDD_DOKUMENTART" ZOrder="10" X="119" Y="308" Height="381" Width="278" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="275" />
|
<Shape ID="DesignTable:TBDD_DOKUMENTART" ZOrder="14" X="119" Y="308" Height="381" Width="278" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="275" />
|
||||||
<Shape ID="DesignTable:TBDD_EINGANGSARTEN" ZOrder="28" X="431" Y="313" Height="210" Width="286" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
<Shape ID="DesignTable:TBDD_EINGANGSARTEN" ZOrder="17" X="431" Y="313" Height="210" Width="286" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||||
<Shape ID="DesignTable:TBDD_DOKART_MODULE" ZOrder="42" X="1381" Y="161" Height="134" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
<Shape ID="DesignTable:TBDD_DOKART_MODULE" ZOrder="29" X="1381" Y="161" Height="134" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||||
<Shape ID="DesignTable:TBDD_MODULES" ZOrder="41" X="1096" Y="325" Height="115" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
<Shape ID="DesignTable:TBDD_MODULES" ZOrder="28" X="1096" Y="325" Height="115" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||||
<Shape ID="DesignTable:TBDD_INDEX_MAN" ZOrder="2" X="456" Y="638" Height="360" Width="244" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" />
|
<Shape ID="DesignTable:TBDD_INDEX_MAN" ZOrder="3" X="456" Y="638" Height="360" Width="244" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" />
|
||||||
<Shape ID="DesignTable:TBDD_CONNECTION" ZOrder="40" X="433" Y="81" Height="305" Width="264" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
<Shape ID="DesignTable:TBDD_CONNECTION" ZOrder="27" X="433" Y="81" Height="305" Width="264" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||||
<Shape ID="DesignTable:VWDDINDEX_MAN" ZOrder="6" X="1040" Y="444" Height="381" Width="256" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="313" />
|
<Shape ID="DesignTable:VWDDINDEX_MAN" ZOrder="11" X="1040" Y="444" Height="381" Width="256" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="313" />
|
||||||
<Shape ID="DesignTable:VWDDINDEX_AUTOM" ZOrder="38" X="1361" Y="319" Height="305" Width="272" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
<Shape ID="DesignTable:VWDDINDEX_AUTOM" ZOrder="25" X="1361" Y="319" Height="305" Width="272" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||||
<Shape ID="DesignTable:TBDD_INDEX_AUTOM" ZOrder="7" X="668" Y="605" Height="305" Width="272" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
<Shape ID="DesignTable:TBDD_INDEX_AUTOM" ZOrder="2" X="668" Y="605" Height="305" Width="272" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||||
<Shape ID="DesignTable:TBGI_CONFIGURATION" ZOrder="35" X="1071" Y="621" Height="229" Width="279" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
<Shape ID="DesignTable:TBGI_CONFIGURATION" ZOrder="22" X="1071" Y="621" Height="229" Width="279" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||||
<Shape ID="DesignTable:TBGI_OBJECTTYPE_EMAIL_INDEX" ZOrder="29" X="117" Y="665" Height="286" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
<Shape ID="DesignTable:TBGI_OBJECTTYPE_EMAIL_INDEX" ZOrder="4" X="117" Y="665" Height="286" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||||
<Shape ID="DesignTable:TBDD_INDEX_MAN_POSTPROCESSING" ZOrder="1" X="743" Y="69" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
<Shape ID="DesignTable:TBDD_INDEX_MAN_POSTPROCESSING" ZOrder="7" X="719" Y="25" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||||
<Shape ID="DesignTable:TBWHDD_INDEX_MAN" ZOrder="32" X="133" Y="112" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" />
|
<Shape ID="DesignTable:TBWHDD_INDEX_MAN" ZOrder="6" X="135" Y="27" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" />
|
||||||
<Shape ID="DesignTable:TBDD_GROUPS_USER" ZOrder="5" X="1014" Y="-1" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
<Shape ID="DesignTable:TBDD_GROUPS_USER" ZOrder="8" X="1040" Y="71" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||||
<Shape ID="DesignTable:VWGI_USER_GROUPS_RELATION" ZOrder="9" X="845" Y="494" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
<Shape ID="DesignTable:VWGI_USER_GROUPS_RELATION" ZOrder="13" X="845" Y="494" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||||
<Shape ID="DesignTable:TBHOTKEY_PROFILE" ZOrder="17" X="-12" Y="311" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" />
|
<Shape ID="DesignTable:TBGI_FILES_USER" ZOrder="1" X="1474" Y="-2" Height="336" Width="243" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
|
||||||
<Shape ID="DesignTable:TBHOTKEY_PATTERNS" ZOrder="16" X="221" Y="-36" Height="320" Width="196" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="252" />
|
<Shape ID="DesignTable:TBGI_HISTORY" ZOrder="5" X="120" Y="153" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" />
|
||||||
<Shape ID="DesignTable:TBMYHOTKEYS" ZOrder="20" X="25" Y="-1" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" />
|
<Shape ID="DesignTable:TBGI_REGEX_DOCTYPE" ZOrder="10" X="1027" Y="881" Height="210" Width="276" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||||
<Shape ID="DesignTable:TBHOTKEY_USER_PROFILE" ZOrder="21" X="30" Y="178" Height="90" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" />
|
<Shape ID="DesignTable:TBTempFiles2Index" ZOrder="23" X="915" Y="82" Height="106" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||||
<Shape ID="DesignTable:TBHOTKEY_PATTERNS_REWORK" ZOrder="19" X="415" Y="-3" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="39" />
|
<Shape ID="DesignTable:TBTEMP_INDEXRESULTS" ZOrder="19" X="639" Y="943" Height="67" Width="208" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="63" />
|
||||||
<Shape ID="DesignTable:TBHOTKEY_WINDOW_HOOK" ZOrder="15" X="0" Y="0" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" />
|
<Shape ID="DesignTable:TBAD_Users" ZOrder="15" X="1363" Y="639" Height="143" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="86" />
|
||||||
<Shape ID="DesignTable:TBGI_FILES_USER" ZOrder="14" X="1181" Y="7" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" />
|
|
||||||
<Shape ID="DesignTable:TBGI_HISTORY" ZOrder="12" X="0" Y="0" Height="90" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="0" />
|
|
||||||
<Shape ID="DesignTable:TBGI_REGEX_DOCTYPE" ZOrder="4" X="1027" Y="881" Height="210" Width="276" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
|
||||||
<Shape ID="DesignTable:TBTempFiles2Index" ZOrder="36" X="915" Y="82" Height="106" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
|
||||||
<Shape ID="DesignTable:TBTEMP_INDEXRESULTS" ZOrder="31" X="639" Y="943" Height="67" Width="208" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="63" />
|
|
||||||
<Shape ID="DesignTable:TBAD_Users" ZOrder="11" X="1363" Y="639" Height="143" Width="150" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="86" />
|
|
||||||
</Shapes>
|
</Shapes>
|
||||||
<Connectors>
|
<Connectors>
|
||||||
<Connector ID="DesignRelation:FK_TBDD_DOKUMENTART_EINGID" ZOrder="43" LineWidth="11">
|
<Connector ID="DesignRelation:FK_TBDD_DOKUMENTART_EINGID" ZOrder="30" LineWidth="11">
|
||||||
<RoutePoints>
|
<RoutePoints>
|
||||||
<Point>
|
<Point>
|
||||||
<X>431</X>
|
<X>431</X>
|
||||||
@@ -48,7 +42,7 @@
|
|||||||
</Point>
|
</Point>
|
||||||
</RoutePoints>
|
</RoutePoints>
|
||||||
</Connector>
|
</Connector>
|
||||||
<Connector ID="DesignRelation:FK_TBDD_INDEX_MAN_CID" ZOrder="39" LineWidth="11">
|
<Connector ID="DesignRelation:FK_TBDD_INDEX_MAN_CID" ZOrder="26" LineWidth="11">
|
||||||
<RoutePoints>
|
<RoutePoints>
|
||||||
<Point>
|
<Point>
|
||||||
<X>535</X>
|
<X>535</X>
|
||||||
@@ -60,7 +54,7 @@
|
|||||||
</Point>
|
</Point>
|
||||||
</RoutePoints>
|
</RoutePoints>
|
||||||
</Connector>
|
</Connector>
|
||||||
<Connector ID="DesignRelation:FK_TBDD_INDEX_AUTOM_DOCID" ZOrder="37" LineWidth="11">
|
<Connector ID="DesignRelation:FK_TBDD_INDEX_AUTOM_DOCID" ZOrder="24" LineWidth="11">
|
||||||
<RoutePoints>
|
<RoutePoints>
|
||||||
<Point>
|
<Point>
|
||||||
<X>397</X>
|
<X>397</X>
|
||||||
@@ -72,7 +66,7 @@
|
|||||||
</Point>
|
</Point>
|
||||||
</RoutePoints>
|
</RoutePoints>
|
||||||
</Connector>
|
</Connector>
|
||||||
<Connector ID="DesignRelation:FKTBDD_INDEX_MAN_POSTPROCESSING_IDXID" ZOrder="34" LineWidth="11">
|
<Connector ID="DesignRelation:FKTBDD_INDEX_MAN_POSTPROCESSING_IDXID" ZOrder="21" LineWidth="11">
|
||||||
<RoutePoints>
|
<RoutePoints>
|
||||||
<Point>
|
<Point>
|
||||||
<X>597</X>
|
<X>597</X>
|
||||||
@@ -80,43 +74,39 @@
|
|||||||
</Point>
|
</Point>
|
||||||
<Point>
|
<Point>
|
||||||
<X>597</X>
|
<X>597</X>
|
||||||
<Y>148</Y>
|
<Y>104</Y>
|
||||||
</Point>
|
</Point>
|
||||||
<Point>
|
<Point>
|
||||||
<X>743</X>
|
<X>719</X>
|
||||||
<Y>148</Y>
|
<Y>104</Y>
|
||||||
</Point>
|
</Point>
|
||||||
</RoutePoints>
|
</RoutePoints>
|
||||||
</Connector>
|
</Connector>
|
||||||
<Connector ID="DesignRelation:FKTBDD_INDEX_MAN_POSTPROCESSING_IDXID1" ZOrder="33" LineWidth="11">
|
<Connector ID="DesignRelation:FKTBDD_INDEX_MAN_POSTPROCESSING_IDXID1" ZOrder="20" LineWidth="11">
|
||||||
<RoutePoints>
|
<RoutePoints>
|
||||||
<Point>
|
<Point>
|
||||||
<X>959</X>
|
<X>293</X>
|
||||||
<Y>682</Y>
|
<Y>72</Y>
|
||||||
</Point>
|
</Point>
|
||||||
<Point>
|
<Point>
|
||||||
<X>959</X>
|
<X>719</X>
|
||||||
<Y>374</Y>
|
<Y>72</Y>
|
||||||
</Point>
|
</Point>
|
||||||
</RoutePoints>
|
</RoutePoints>
|
||||||
</Connector>
|
</Connector>
|
||||||
<Connector ID="DesignRelation:FK_TBDD_GROUPS_USER_USER_ID" ZOrder="30" LineWidth="11">
|
<Connector ID="DesignRelation:FK_TBDD_GROUPS_USER_USER_ID" ZOrder="18" LineWidth="11">
|
||||||
<RoutePoints>
|
<RoutePoints>
|
||||||
<Point>
|
<Point>
|
||||||
<X>951</X>
|
<X>978</X>
|
||||||
<Y>247</Y>
|
<Y>273</Y>
|
||||||
</Point>
|
</Point>
|
||||||
<Point>
|
<Point>
|
||||||
<X>951</X>
|
<X>1040</X>
|
||||||
<Y>211</Y>
|
<Y>273</Y>
|
||||||
</Point>
|
|
||||||
<Point>
|
|
||||||
<X>1014</X>
|
|
||||||
<Y>211</Y>
|
|
||||||
</Point>
|
</Point>
|
||||||
</RoutePoints>
|
</RoutePoints>
|
||||||
</Connector>
|
</Connector>
|
||||||
<Connector ID="DesignRelation:FK_TBDD_INDEX_MAN_DAID" ZOrder="27" LineWidth="11">
|
<Connector ID="DesignRelation:FK_TBDD_INDEX_MAN_DAID" ZOrder="16" LineWidth="11">
|
||||||
<RoutePoints>
|
<RoutePoints>
|
||||||
<Point>
|
<Point>
|
||||||
<X>397</X>
|
<X>397</X>
|
||||||
@@ -128,131 +118,7 @@
|
|||||||
</Point>
|
</Point>
|
||||||
</RoutePoints>
|
</RoutePoints>
|
||||||
</Connector>
|
</Connector>
|
||||||
<Connector ID="DesignRelation:FK_TBHOTKEY_PATTERNS_PROFILE_ID" ZOrder="26" LineWidth="11">
|
<Connector ID="DesignRelation:FK_TBGI_REGEX_DOCTYPE_DTID" ZOrder="9" LineWidth="11">
|
||||||
<RoutePoints>
|
|
||||||
<Point>
|
|
||||||
<X>129</X>
|
|
||||||
<Y>311</Y>
|
|
||||||
</Point>
|
|
||||||
<Point>
|
|
||||||
<X>129</X>
|
|
||||||
<Y>86</Y>
|
|
||||||
</Point>
|
|
||||||
<Point>
|
|
||||||
<X>221</X>
|
|
||||||
<Y>86</Y>
|
|
||||||
</Point>
|
|
||||||
</RoutePoints>
|
|
||||||
</Connector>
|
|
||||||
<Connector ID="DesignRelation:FK_TBHOTKEY_PATTERNS_PROFILE_ID1" ZOrder="25" LineWidth="11">
|
|
||||||
<RoutePoints>
|
|
||||||
<Point>
|
|
||||||
<X>183</X>
|
|
||||||
<Y>25</Y>
|
|
||||||
</Point>
|
|
||||||
<Point>
|
|
||||||
<X>221</X>
|
|
||||||
<Y>25</Y>
|
|
||||||
</Point>
|
|
||||||
</RoutePoints>
|
|
||||||
</Connector>
|
|
||||||
<Connector ID="DesignRelation:FK_TBHOTKEY_USER_PROFILE_PROFILE_ID" ZOrder="24" LineWidth="11">
|
|
||||||
<RoutePoints>
|
|
||||||
<Point>
|
|
||||||
<X>88</X>
|
|
||||||
<Y>311</Y>
|
|
||||||
</Point>
|
|
||||||
<Point>
|
|
||||||
<X>88</X>
|
|
||||||
<Y>-22</Y>
|
|
||||||
</Point>
|
|
||||||
<Point>
|
|
||||||
<X>88</X>
|
|
||||||
<Y>-30</Y>
|
|
||||||
</Point>
|
|
||||||
<Point>
|
|
||||||
<X>88</X>
|
|
||||||
<Y>178</Y>
|
|
||||||
</Point>
|
|
||||||
</RoutePoints>
|
|
||||||
</Connector>
|
|
||||||
<Connector ID="DesignRelation:FK_TBHOTKEY_USER_PROFILE_PROFILE_ID1" ZOrder="23" LineWidth="11">
|
|
||||||
<RoutePoints>
|
|
||||||
<Point>
|
|
||||||
<X>117</X>
|
|
||||||
<Y>-1</Y>
|
|
||||||
</Point>
|
|
||||||
<Point>
|
|
||||||
<X>117</X>
|
|
||||||
<Y>-22</Y>
|
|
||||||
</Point>
|
|
||||||
<Point>
|
|
||||||
<X>117</X>
|
|
||||||
<Y>-30</Y>
|
|
||||||
</Point>
|
|
||||||
<Point>
|
|
||||||
<X>117</X>
|
|
||||||
<Y>178</Y>
|
|
||||||
</Point>
|
|
||||||
</RoutePoints>
|
|
||||||
</Connector>
|
|
||||||
<Connector ID="DesignRelation:FK_TBHOTKEY_USER_PROFILE_USER_ID" ZOrder="22" LineWidth="11">
|
|
||||||
<RoutePoints>
|
|
||||||
<Point>
|
|
||||||
<X>765</X>
|
|
||||||
<Y>285</Y>
|
|
||||||
</Point>
|
|
||||||
<Point>
|
|
||||||
<X>240</X>
|
|
||||||
<Y>285</Y>
|
|
||||||
</Point>
|
|
||||||
<Point>
|
|
||||||
<X>240</X>
|
|
||||||
<Y>268</Y>
|
|
||||||
</Point>
|
|
||||||
</RoutePoints>
|
|
||||||
</Connector>
|
|
||||||
<Connector ID="DesignRelation:FK_TBHOTKEY_PATTERNS_REWORK_HKPATTERN_ID" ZOrder="18" LineWidth="11">
|
|
||||||
<RoutePoints>
|
|
||||||
<Point>
|
|
||||||
<X>409</X>
|
|
||||||
<Y>-36</Y>
|
|
||||||
</Point>
|
|
||||||
<Point>
|
|
||||||
<X>409</X>
|
|
||||||
<Y>-66</Y>
|
|
||||||
</Point>
|
|
||||||
<Point>
|
|
||||||
<X>425</X>
|
|
||||||
<Y>-66</Y>
|
|
||||||
</Point>
|
|
||||||
<Point>
|
|
||||||
<X>425</X>
|
|
||||||
<Y>-3</Y>
|
|
||||||
</Point>
|
|
||||||
</RoutePoints>
|
|
||||||
</Connector>
|
|
||||||
<Connector ID="DesignRelation:FK_TBHOTKEY_WINDOW_HOOK_PROFILE_ID" ZOrder="13" LineWidth="11">
|
|
||||||
<RoutePoints>
|
|
||||||
<Point>
|
|
||||||
<X>38</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
</Point>
|
|
||||||
<Point>
|
|
||||||
<X>38</X>
|
|
||||||
<Y>-30</Y>
|
|
||||||
</Point>
|
|
||||||
<Point>
|
|
||||||
<X>38</X>
|
|
||||||
<Y>-30</Y>
|
|
||||||
</Point>
|
|
||||||
<Point>
|
|
||||||
<X>38</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
</Point>
|
|
||||||
</RoutePoints>
|
|
||||||
</Connector>
|
|
||||||
<Connector ID="DesignRelation:FK_TBGI_REGEX_DOCTYPE_DTID" ZOrder="3" LineWidth="11">
|
|
||||||
<RoutePoints>
|
<RoutePoints>
|
||||||
<Point>
|
<Point>
|
||||||
<X>380</X>
|
<X>380</X>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 52 KiB |
BIN
Global_Indexer/Resources/Dropitlikeitshot.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
Global_Indexer/Resources/FileFlow_Boot.bmp
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
Global_Indexer/Resources/FileFlow_Boot.png
Normal file
|
After Width: | Height: | Size: 89 KiB |
BIN
Global_Indexer/Resources/FileFlow_Boot1.png
Normal file
|
After Width: | Height: | Size: 89 KiB |
BIN
Global_Indexer/Resources/FileFlow_Icon.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
Global_Indexer/Resources/SelectAll_32x32.png
Normal file
|
After Width: | Height: | Size: 249 B |
19
Global_Indexer/Resources/about.svg
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<svg x="0px" y="0px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" id="Layer_1" style="enable-background:new 0 0 32 32">
|
||||||
|
<style type="text/css">
|
||||||
|
.Yellow{fill:#FFB115;}
|
||||||
|
.Red{fill:#D11C1C;}
|
||||||
|
.Blue{fill:#1177D7;}
|
||||||
|
.Green{fill:#039C23;}
|
||||||
|
.Black{fill:#727272;}
|
||||||
|
.White{fill:#FFFFFF;}
|
||||||
|
.st0{opacity:0.5;}
|
||||||
|
.st1{display:none;}
|
||||||
|
.st2{display:inline;fill:#039C23;}
|
||||||
|
.st3{display:inline;fill:#D11C1C;}
|
||||||
|
.st4{display:inline;fill:#727272;}
|
||||||
|
</style>
|
||||||
|
<g id="About">
|
||||||
|
<path d="M16,2C8.3,2,2,8.3,2,16s6.3,14,14,14s14-6.3,14-14S23.7,2,16,2z M16,6c1.1,0,2,0.9,2,2s-0.9,2-2,2s-2-0.9-2-2 S14.9,6,16,6z M20,24h-8v-2h2v-8h-2v-2h2h4v10h2V24z" class="Blue" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
25
Global_Indexer/Resources/bo_notifications.svg
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<svg x="0px" y="0px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" id="Layer_1" style="enable-background:new 0 0 32 32">
|
||||||
|
<style type="text/css">
|
||||||
|
.Blue{fill:#1177D7;}
|
||||||
|
.Yellow{fill:#FFB115;}
|
||||||
|
.Red{fill:#D11C1C;}
|
||||||
|
.Green{fill:#039C23;}
|
||||||
|
.Black{fill:#727272;}
|
||||||
|
.White{fill:#FFFFFF;}
|
||||||
|
.st0{opacity:0.5;}
|
||||||
|
.st1{opacity:0.75;}
|
||||||
|
.st2{display:none;}
|
||||||
|
.st3{display:inline;fill:#FFB115;}
|
||||||
|
.st4{display:inline;}
|
||||||
|
.st5{display:inline;opacity:0.75;}
|
||||||
|
.st6{display:inline;opacity:0.5;}
|
||||||
|
.st7{display:inline;fill:#039C23;}
|
||||||
|
.st8{display:inline;fill:#D11C1C;}
|
||||||
|
.st9{display:inline;fill:#1177D7;}
|
||||||
|
.st10{display:inline;fill:#FFFFFF;}
|
||||||
|
</style>
|
||||||
|
<g id="Notifications_1_">
|
||||||
|
<path d="M28,24v2H4v-2l4-4v-8c0-3.7,2.6-6.9,6-7.7c0-0.1,0-0.2,0-0.3c0-1.1,0.9-2,2-2s2,0.9,2,2c0,0.1,0,0.2,0,0.3 c3.5,0.9,6,4,6,7.7v8L28,24z M16,30c1.1,0,2-0.9,2-2h-4C14,29.1,14.9,30,16,30z" class="Yellow" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
BIN
Global_Indexer/Resources/file.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 14 KiB |
20
Global_Indexer/Resources/highlight.svg
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<svg x="0px" y="0px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" id="Layer_1" style="enable-background:new 0 0 32 32">
|
||||||
|
<style type="text/css">
|
||||||
|
.Black{fill:#727272;}
|
||||||
|
.Yellow{fill:#FFB115;}
|
||||||
|
.Blue{fill:#1177D7;}
|
||||||
|
.Green{fill:#039C23;}
|
||||||
|
.Red{fill:#D11C1C;}
|
||||||
|
.White{fill:#FFFFFF;}
|
||||||
|
.st0{opacity:0.75;}
|
||||||
|
.st1{opacity:0.5;}
|
||||||
|
.st2{opacity:0.25;}
|
||||||
|
</style>
|
||||||
|
<g id="Highlight">
|
||||||
|
<path d="M6,2H0V0h6V2z M2,2H0v4h2V2z M14,0H8v2h6V0z M22,0h-6v2h6V0z M30,0h-6v2h6V0z M30,2h-2v4h2V2z M30,8h-2v6h2V8 z M30,16h-2v6h2V16z M30,24h-2v6h2V24z M30,28h-6v2h6V28z M16,30h6v-2h-6V30z M8,30h6v-2H8V30z M0,30h6v-2H0V30z M2,24H0v6h2V24z M2,16H0v6h2V16z M2,8H0v6h2V8z M22,21V9c0-0.6-0.5-1-1-1H9C8.4,8,8,8.4,8,9v12c0,0.5,0.4,1,1,1h12C21.5,22,22,21.5,22,21z" class="Blue" />
|
||||||
|
<g class="st2">
|
||||||
|
<rect x="0" y="0" width="30" height="30" rx="0" ry="0" class="Blue" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
20
Global_Indexer/Resources/highlight1.svg
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<svg x="0px" y="0px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" id="Layer_1" style="enable-background:new 0 0 32 32">
|
||||||
|
<style type="text/css">
|
||||||
|
.Black{fill:#727272;}
|
||||||
|
.Yellow{fill:#FFB115;}
|
||||||
|
.Blue{fill:#1177D7;}
|
||||||
|
.Green{fill:#039C23;}
|
||||||
|
.Red{fill:#D11C1C;}
|
||||||
|
.White{fill:#FFFFFF;}
|
||||||
|
.st0{opacity:0.75;}
|
||||||
|
.st1{opacity:0.5;}
|
||||||
|
.st2{opacity:0.25;}
|
||||||
|
</style>
|
||||||
|
<g id="Highlight">
|
||||||
|
<path d="M6,2H0V0h6V2z M2,2H0v4h2V2z M14,0H8v2h6V0z M22,0h-6v2h6V0z M30,0h-6v2h6V0z M30,2h-2v4h2V2z M30,8h-2v6h2V8 z M30,16h-2v6h2V16z M30,24h-2v6h2V24z M30,28h-6v2h6V28z M16,30h6v-2h-6V30z M8,30h6v-2H8V30z M0,30h6v-2H0V30z M2,24H0v6h2V24z M2,16H0v6h2V16z M2,8H0v6h2V8z M22,21V9c0-0.6-0.5-1-1-1H9C8.4,8,8,8.4,8,9v12c0,0.5,0.4,1,1,1h12C21.5,22,22,21.5,22,21z" class="Blue" />
|
||||||
|
<g class="st2">
|
||||||
|
<rect x="0" y="0" width="30" height="30" rx="0" ry="0" class="Blue" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
20
Global_Indexer/Resources/initialstate.svg
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<svg x="0px" y="0px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" id="Layer_1" style="enable-background:new 0 0 32 32">
|
||||||
|
<style type="text/css">
|
||||||
|
.Yellow{fill:#FFB115;}
|
||||||
|
.Red{fill:#D11C1C;}
|
||||||
|
.Black{fill:#727272;}
|
||||||
|
.Blue{fill:#1177D7;}
|
||||||
|
.White{fill:#FFFFFF;}
|
||||||
|
.Green{fill:#039C23;}
|
||||||
|
.st0{opacity:0.75;}
|
||||||
|
.st1{opacity:0.5;}
|
||||||
|
.st2{opacity:0.25;}
|
||||||
|
.st3{fill:#FFB115;}
|
||||||
|
</style>
|
||||||
|
<g />
|
||||||
|
<g id="InitialState">
|
||||||
|
<path d="M16,26c0.2,0.7,0.5,1.4,0.8,2H3c-0.6,0-1-0.4-1-1V12h2v14H16z M26,12v4c0.7,0.2,1.4,0.5,2,0.8V12H26z" class="Black" />
|
||||||
|
<path d="M32,25v-2l-2.2-0.4c-0.2-0.6-0.4-1.3-0.8-1.8l1.3-1.8l-1.4-1.4l-1.8,1.3c-0.5-0.3-1.2-0.6-1.8-0.7L25,16h-2 l-0.4,2.2c-0.6,0.2-1.3,0.4-1.8,0.7L19,17.6L17.6,19l1.3,1.8c-0.3,0.5-0.6,1.2-0.8,1.8L16,23v2l2.2,0.4c0.2,0.6,0.4,1.3,0.8,1.8 L17.7,29l1.4,1.4l1.8-1.3c0.5,0.3,1.2,0.6,1.8,0.7L23,32h2l0.4-2.2c0.6-0.2,1.3-0.4,1.8-0.7l1.8,1.3l1.4-1.4l-1.3-1.8 c0.3-0.5,0.6-1.2,0.8-1.8L32,25z M24,26c-1.1,0-2-0.9-2-2s0.9-2,2-2s2,0.9,2,2S25.1,26,24,26z M27,2H3C2.5,2,2,2.5,2,3v9h26V3 C28,2.5,27.5,2,27,2z M9,9L6,6h6L9,9z" class="Blue" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
20
Global_Indexer/Resources/initialstate1.svg
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<svg x="0px" y="0px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" id="Layer_1" style="enable-background:new 0 0 32 32">
|
||||||
|
<style type="text/css">
|
||||||
|
.Yellow{fill:#FFB115;}
|
||||||
|
.Red{fill:#D11C1C;}
|
||||||
|
.Black{fill:#727272;}
|
||||||
|
.Blue{fill:#1177D7;}
|
||||||
|
.White{fill:#FFFFFF;}
|
||||||
|
.Green{fill:#039C23;}
|
||||||
|
.st0{opacity:0.75;}
|
||||||
|
.st1{opacity:0.5;}
|
||||||
|
.st2{opacity:0.25;}
|
||||||
|
.st3{fill:#FFB115;}
|
||||||
|
</style>
|
||||||
|
<g />
|
||||||
|
<g id="InitialState">
|
||||||
|
<path d="M16,26c0.2,0.7,0.5,1.4,0.8,2H3c-0.6,0-1-0.4-1-1V12h2v14H16z M26,12v4c0.7,0.2,1.4,0.5,2,0.8V12H26z" class="Black" />
|
||||||
|
<path d="M32,25v-2l-2.2-0.4c-0.2-0.6-0.4-1.3-0.8-1.8l1.3-1.8l-1.4-1.4l-1.8,1.3c-0.5-0.3-1.2-0.6-1.8-0.7L25,16h-2 l-0.4,2.2c-0.6,0.2-1.3,0.4-1.8,0.7L19,17.6L17.6,19l1.3,1.8c-0.3,0.5-0.6,1.2-0.8,1.8L16,23v2l2.2,0.4c0.2,0.6,0.4,1.3,0.8,1.8 L17.7,29l1.4,1.4l1.8-1.3c0.5,0.3,1.2,0.6,1.8,0.7L23,32h2l0.4-2.2c0.6-0.2,1.3-0.4,1.8-0.7l1.8,1.3l1.4-1.4l-1.3-1.8 c0.3-0.5,0.6-1.2,0.8-1.8L32,25z M24,26c-1.1,0-2-0.9-2-2s0.9-2,2-2s2,0.9,2,2S25.1,26,24,26z M27,2H3C2.5,2,2,2.5,2,3v9h26V3 C28,2.5,27.5,2,27,2z M9,9L6,6h6L9,9z" class="Blue" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
30
Global_Indexer/Resources/itemtypechecked.svg
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<svg x="0px" y="0px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" id="Layer_1" style="enable-background:new 0 0 32 32">
|
||||||
|
<style type="text/css">
|
||||||
|
.Green{fill:#039C23;}
|
||||||
|
.Black{fill:#727272;}
|
||||||
|
.Red{fill:#D11C1C;}
|
||||||
|
.Yellow{fill:#FFB115;}
|
||||||
|
.Blue{fill:#1177D7;}
|
||||||
|
.White{fill:#FFFFFF;}
|
||||||
|
.st0{opacity:0.5;}
|
||||||
|
.st1{opacity:0.75;}
|
||||||
|
</style>
|
||||||
|
<g id="ItemTypeChecked">
|
||||||
|
<g>
|
||||||
|
<g>
|
||||||
|
<rect x="20" y="8" width="10" height="4" rx="0" ry="0" class="Black" />
|
||||||
|
<rect x="20" y="22" width="10" height="4" rx="0" ry="0" class="Black" />
|
||||||
|
<path d="M15,18H3c-0.5,0-1,0.5-1,1v12c0,0.5,0.5,1,1,1h12c0.5,0,1-0.5,1-1V19C16,18.5,15.5,18,15,18z M14,30H4V20 h10V30z" class="Black" />
|
||||||
|
<path d="M14,10.8V14H4V4h8.2l2-2H3C2.5,2,2,2.5,2,3v12c0,0.5,0.5,1,1,1h12c0.5,0,1-0.5,1-1V8.8L14,10.8z" class="Black" />
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<rect x="20" y="8" width="10" height="4" rx="0" ry="0" class="Black" />
|
||||||
|
<rect x="20" y="22" width="10" height="4" rx="0" ry="0" class="Black" />
|
||||||
|
<path d="M15,18H3c-0.5,0-1,0.5-1,1v12c0,0.5,0.5,1,1,1h12c0.5,0,1-0.5,1-1V19C16,18.5,15.5,18,15,18z M14,30H4V20 h10V30z" class="Black" />
|
||||||
|
<path d="M14,10.8V14H4V4h8.2l2-2H3C2.5,2,2,2.5,2,3v12c0,0.5,0.5,1,1,1h12c0.5,0,1-0.5,1-1V8.8L14,10.8z" class="Black" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<polygon points="6,5 6,8 10,12 18,4 18,1 10,9 " class="Green" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
17
Global_Indexer/Resources/properties.svg
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<svg x="0px" y="0px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" id="Layer_1" style="enable-background:new 0 0 32 32">
|
||||||
|
<style type="text/css">
|
||||||
|
.Black{fill:#727272;}
|
||||||
|
.Yellow{fill:#FFB115;}
|
||||||
|
.Blue{fill:#1177D7;}
|
||||||
|
.Green{fill:#039C23;}
|
||||||
|
.Red{fill:#D11C1C;}
|
||||||
|
.White{fill:#FFFFFF;}
|
||||||
|
.st0{opacity:0.75;}
|
||||||
|
.st1{opacity:0.5;}
|
||||||
|
.st2{opacity:0.25;}
|
||||||
|
</style>
|
||||||
|
<g id="Properties">
|
||||||
|
<path d="M30,18v-4l-4.4-0.7c-0.2-0.8-0.5-1.5-0.9-2.1l2.6-3.6l-2.8-2.8l-3.6,2.6c-0.7-0.4-1.4-0.7-2.1-0.9L18,2h-4 l-0.7,4.4c-0.8,0.2-1.5,0.5-2.1,0.9L7.5,4.7L4.7,7.5l2.6,3.6c-0.4,0.7-0.7,1.4-0.9,2.1L2,14v4l4.4,0.7c0.2,0.8,0.5,1.5,0.9,2.1 l-2.6,3.6l2.8,2.8l3.6-2.6c0.7,0.4,1.4,0.7,2.1,0.9L14,30h4l0.7-4.4c0.8-0.2,1.5-0.5,2.1-0.9l3.6,2.6l2.8-2.8l-2.6-3.6 c0.4-0.7,0.7-1.4,0.9-2.1L30,18z M16,20c-2.2,0-4-1.8-4-4c0-2.2,1.8-4,4-4s4,1.8,4,4C20,18.2,18.2,20,16,20z" class="Blue" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
17
Global_Indexer/Resources/properties1.svg
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<svg x="0px" y="0px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" id="Layer_1" style="enable-background:new 0 0 32 32">
|
||||||
|
<style type="text/css">
|
||||||
|
.Black{fill:#727272;}
|
||||||
|
.Yellow{fill:#FFB115;}
|
||||||
|
.Blue{fill:#1177D7;}
|
||||||
|
.Green{fill:#039C23;}
|
||||||
|
.Red{fill:#D11C1C;}
|
||||||
|
.White{fill:#FFFFFF;}
|
||||||
|
.st0{opacity:0.75;}
|
||||||
|
.st1{opacity:0.5;}
|
||||||
|
.st2{opacity:0.25;}
|
||||||
|
</style>
|
||||||
|
<g id="Properties">
|
||||||
|
<path d="M30,18v-4l-4.4-0.7c-0.2-0.8-0.5-1.5-0.9-2.1l2.6-3.6l-2.8-2.8l-3.6,2.6c-0.7-0.4-1.4-0.7-2.1-0.9L18,2h-4 l-0.7,4.4c-0.8,0.2-1.5,0.5-2.1,0.9L7.5,4.7L4.7,7.5l2.6,3.6c-0.4,0.7-0.7,1.4-0.9,2.1L2,14v4l4.4,0.7c0.2,0.8,0.5,1.5,0.9,2.1 l-2.6,3.6l2.8,2.8l3.6-2.6c0.7,0.4,1.4,0.7,2.1,0.9L14,30h4l0.7-4.4c0.8-0.2,1.5-0.5,2.1-0.9l3.6,2.6l2.8-2.8l-2.6-3.6 c0.4-0.7,0.7-1.4,0.9-2.1L30,18z M16,20c-2.2,0-4-1.8-4-4c0-2.2,1.8-4,4-4s4,1.8,4,4C20,18.2,18.2,20,16,20z" class="Blue" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
18
Global_Indexer/Resources/shipmentawaiting.svg
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<svg x="0px" y="0px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" id="Layer_1" style="enable-background:new 0 0 32 32">
|
||||||
|
<style type="text/css">
|
||||||
|
.Black{fill:#727272;}
|
||||||
|
.Yellow{fill:#FFB115;}
|
||||||
|
.Blue{fill:#1177D7;}
|
||||||
|
.Red{fill:#D11C1C;}
|
||||||
|
.White{fill:#FFFFFF;}
|
||||||
|
.Green{fill:#039C23;}
|
||||||
|
.st0{fill:#727272;}
|
||||||
|
.st1{opacity:0.5;}
|
||||||
|
.st2{opacity:0.75;}
|
||||||
|
</style>
|
||||||
|
<g id="ShipmentAwaiting">
|
||||||
|
<polygon points="16,16 16,8 14,8 14,16 14,18 16,18 24,18 24,16 " class="Black" />
|
||||||
|
<path d="M16,2C8.2,2,2,8.2,2,16s6.2,14,14,14s14-6.2,14-14S23.8,2,16,2z M16,26c-5.6,0-10-4.4-10-10S10.4,6,16,6 s10,4.4,10,10S21.6,26,16,26z" class="Green" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
14
Global_Indexer/Resources/trackingchanges_next.svg
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<svg x="0px" y="0px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" id="Layer_1" style="enable-background:new 0 0 32 32">
|
||||||
|
<style type="text/css">
|
||||||
|
.Blue{fill:#3575BB;}
|
||||||
|
.Black{fill:#737374;}
|
||||||
|
.White{fill:#FFFFFF;}
|
||||||
|
.Yellow{fill:#FCB01B;}
|
||||||
|
.Red{fill:#D02027;}
|
||||||
|
.Green{fill:#129C49;}
|
||||||
|
.st0{opacity:0.5;}
|
||||||
|
</style>
|
||||||
|
<path d="M31,2H11c-0.5,0-1,0.5-1,1v9h2V4h18v24H12v-8h-2v9c0,0.5,0.5,1,1,1h20c0.5,0,1-0.5,1-1V3C32,2.5,31.5,2,31,2z " class="Black" />
|
||||||
|
<polygon points="4,14 14,14 14,8 22,16 14,24 14,18 4,18 " class="Blue" />
|
||||||
|
</svg>
|
||||||
2
Global_Indexer/Strings/_frmLicense.Designer.vb
generated
@@ -22,7 +22,7 @@ Namespace My.Resources
|
|||||||
'''<summary>
|
'''<summary>
|
||||||
''' Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
|
''' Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0"), _
|
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0"), _
|
||||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||||
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
|
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
|
||||||
Friend Class _frmLicense
|
Friend Class _frmLicense
|
||||||
|
|||||||
@@ -1,127 +0,0 @@
|
|||||||
Public Class clsHotkey
|
|
||||||
Implements IMessageFilter
|
|
||||||
|
|
||||||
Private Declare Function RegisterHotKey Lib "user32" ( _
|
|
||||||
ByVal Hwnd As IntPtr, _
|
|
||||||
ByVal ID As Integer, _
|
|
||||||
ByVal Modifiers As Integer, _
|
|
||||||
ByVal Key As Integer) _
|
|
||||||
As Integer
|
|
||||||
|
|
||||||
Private Declare Function UnregisterHotKey Lib "user32" ( _
|
|
||||||
ByVal Hwnd As IntPtr, _
|
|
||||||
ByVal ID As Integer) _
|
|
||||||
As Integer
|
|
||||||
|
|
||||||
Private Declare Function GlobalAddAtom Lib "kernel32" Alias "GlobalAddAtomA" ( _
|
|
||||||
ByVal IDString As String) _
|
|
||||||
As Short
|
|
||||||
|
|
||||||
Private Declare Function GlobalDeleteAtom Lib "kernel32" ( _
|
|
||||||
ByVal Atom As Short) _
|
|
||||||
As Short
|
|
||||||
|
|
||||||
Public Class HotKeyObject
|
|
||||||
Private mHotKey As Keys
|
|
||||||
Private mModifier As MODKEY
|
|
||||||
Private mHotKeyID As String
|
|
||||||
Private mAtomID As Short
|
|
||||||
|
|
||||||
Public Property HotKey() As Keys
|
|
||||||
Get
|
|
||||||
Return mHotKey
|
|
||||||
End Get
|
|
||||||
Set(ByVal value As Keys)
|
|
||||||
mHotKey = value
|
|
||||||
End Set
|
|
||||||
End Property
|
|
||||||
|
|
||||||
Public Property Modifier() As MODKEY
|
|
||||||
Get
|
|
||||||
Return mModifier
|
|
||||||
End Get
|
|
||||||
Set(ByVal value As MODKEY)
|
|
||||||
mModifier = value
|
|
||||||
End Set
|
|
||||||
End Property
|
|
||||||
|
|
||||||
Public Property HotKeyID() As String
|
|
||||||
Get
|
|
||||||
Return mHotKeyID
|
|
||||||
End Get
|
|
||||||
Set(ByVal value As String)
|
|
||||||
mHotKeyID = value
|
|
||||||
End Set
|
|
||||||
End Property
|
|
||||||
|
|
||||||
Public Property AtomID() As Short
|
|
||||||
Get
|
|
||||||
Return mAtomID
|
|
||||||
End Get
|
|
||||||
Set(ByVal value As Short)
|
|
||||||
mAtomID = value
|
|
||||||
End Set
|
|
||||||
End Property
|
|
||||||
|
|
||||||
Sub New(ByVal NewHotKey As Keys, ByVal NewModifier As MODKEY, ByVal NewHotKeyID As String)
|
|
||||||
mHotKey = NewHotKey
|
|
||||||
mModifier = NewModifier
|
|
||||||
mHotKeyID = NewHotKeyID
|
|
||||||
End Sub
|
|
||||||
End Class
|
|
||||||
|
|
||||||
Private mForm As Form
|
|
||||||
Private Const WM_HOTKEY As Integer = &H312
|
|
||||||
Private mHotKeyList As New System.Collections.Generic.Dictionary(Of Short, HotKeyObject)
|
|
||||||
Private mHotKeyIDList As New System.Collections.Generic.Dictionary(Of String, Short)
|
|
||||||
|
|
||||||
''' <summary>
|
|
||||||
''' Diesem Event wird immer die zugewiesene HotKeyID übergeben wenn eine HotKey Kombination gedrückt wurde.
|
|
||||||
''' </summary>
|
|
||||||
Public Event HotKeyPressed(ByVal HotKeyID As String)
|
|
||||||
|
|
||||||
Public Enum MODKEY As Integer
|
|
||||||
MOD_ALT = 1
|
|
||||||
MOD_CONTROL = 2
|
|
||||||
MOD_SHIFT = 4
|
|
||||||
MOD_WIN = 8
|
|
||||||
End Enum
|
|
||||||
|
|
||||||
Sub New(ByVal OwnerForm As Form)
|
|
||||||
mForm = OwnerForm
|
|
||||||
Application.AddMessageFilter(Me)
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
''' <summary>
|
|
||||||
''' Diese Funktion fügt einen Hotkey hinzu und registriert ihn auch sofort
|
|
||||||
''' </summary>
|
|
||||||
''' <param name="KeyCode">Den KeyCode für die Taste</param>
|
|
||||||
''' <param name="Modifiers">Die Zusatztasten wie z.B. Strg oder Alt, diese können auch mit OR kombiniert werden</param>
|
|
||||||
''' <param name="HotKeyID">Die ID die der Hotkey bekommen soll um diesen zu identifizieren</param>
|
|
||||||
Public Sub AddHotKey(ByVal KeyCode As Keys, ByVal Modifiers As MODKEY, ByVal HotKeyID As String)
|
|
||||||
If mHotKeyIDList.ContainsKey(HotKeyID) = True Then Exit Sub
|
|
||||||
Dim ID As Short = GlobalAddAtom(HotKeyID)
|
|
||||||
mHotKeyIDList.Add(HotKeyID, ID)
|
|
||||||
mHotKeyList.Add(ID, New HotKeyObject(KeyCode, Modifiers, HotKeyID))
|
|
||||||
RegisterHotKey(mForm.Handle, ID, mHotKeyList(ID).Modifier, mHotKeyList(ID).HotKey)
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
''' <summary>
|
|
||||||
''' Diese Funktion entfernt einen Hotkey und deregistriert ihn auch sofort
|
|
||||||
''' </summary>
|
|
||||||
''' <param name="HotKeyID">Gibt die HotkeyID an welche entfernt werden soll</param>
|
|
||||||
Public Sub RemoveHotKey(ByVal HotKeyID As String)
|
|
||||||
If mHotKeyIDList.ContainsKey(HotKeyID) = False Then Exit Sub
|
|
||||||
Dim ID As Short = mHotKeyIDList(HotKeyID)
|
|
||||||
mHotKeyIDList.Remove(HotKeyID)
|
|
||||||
mHotKeyList.Remove(ID)
|
|
||||||
UnregisterHotKey(mForm.Handle, CInt(ID))
|
|
||||||
GlobalDeleteAtom(ID)
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Function PreFilterMessage(ByRef m As System.Windows.Forms.Message) As Boolean Implements System.Windows.Forms.IMessageFilter.PreFilterMessage
|
|
||||||
If m.Msg = WM_HOTKEY Then
|
|
||||||
RaiseEvent HotKeyPressed(mHotKeyList(CShort(m.WParam)).HotKeyID)
|
|
||||||
End If
|
|
||||||
End Function
|
|
||||||
End Class
|
|
||||||
BIN
Global_Indexer/file.ico
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
@@ -1,5 +1,5 @@
|
|||||||
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
||||||
Partial Class AboutBox1
|
Partial Class frmAbout
|
||||||
Inherits System.Windows.Forms.Form
|
Inherits System.Windows.Forms.Form
|
||||||
|
|
||||||
'Das Formular überschreibt den Löschvorgang, um die Komponentenliste zu bereinigen.
|
'Das Formular überschreibt den Löschvorgang, um die Komponentenliste zu bereinigen.
|
||||||
@@ -45,7 +45,6 @@ Partial Class AboutBox1
|
|||||||
'
|
'
|
||||||
'PictureBox1
|
'PictureBox1
|
||||||
'
|
'
|
||||||
Me.PictureBox1.BackgroundImage = Global.Global_Indexer.My.Resources.Resources.DD_Icons_GLOBIX
|
|
||||||
Me.PictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
|
Me.PictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
|
||||||
Me.PictureBox1.Location = New System.Drawing.Point(2, 1)
|
Me.PictureBox1.Location = New System.Drawing.Point(2, 1)
|
||||||
Me.PictureBox1.Name = "PictureBox1"
|
Me.PictureBox1.Name = "PictureBox1"
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
Public NotInheritable Class AboutBox1
|
Public NotInheritable Class frmAbout
|
||||||
|
|
||||||
Private Sub AboutBox1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
|
Private Sub AboutBox1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
|
||||||
' Legen Sie den Titel des Formulars fest.
|
' Legen Sie den Titel des Formulars fest.
|
||||||
255
Global_Indexer/frmAdministration.Designer.vb
generated
@@ -45,6 +45,7 @@ Partial Class frmAdministration
|
|||||||
Dim COMMENTLabel2 As System.Windows.Forms.Label
|
Dim COMMENTLabel2 As System.Windows.Forms.Label
|
||||||
Dim IDXMAN_IDLabel As System.Windows.Forms.Label
|
Dim IDXMAN_IDLabel As System.Windows.Forms.Label
|
||||||
Dim GUIDLabel5 As System.Windows.Forms.Label
|
Dim GUIDLabel5 As System.Windows.Forms.Label
|
||||||
|
Dim Label12 As System.Windows.Forms.Label
|
||||||
Dim GUIDLabel4 As System.Windows.Forms.Label
|
Dim GUIDLabel4 As System.Windows.Forms.Label
|
||||||
Dim INDEXNAMELabel As System.Windows.Forms.Label
|
Dim INDEXNAMELabel As System.Windows.Forms.Label
|
||||||
Dim COMMENTLabel1 As System.Windows.Forms.Label
|
Dim COMMENTLabel1 As System.Windows.Forms.Label
|
||||||
@@ -138,10 +139,11 @@ Partial Class frmAdministration
|
|||||||
Me.GridColumn8 = New DevExpress.XtraGrid.Columns.GridColumn()
|
Me.GridColumn8 = New DevExpress.XtraGrid.Columns.GridColumn()
|
||||||
Me.Label35 = New System.Windows.Forms.Label()
|
Me.Label35 = New System.Windows.Forms.Label()
|
||||||
Me.SplitContainerControl4 = New DevExpress.XtraEditors.SplitContainerControl()
|
Me.SplitContainerControl4 = New DevExpress.XtraEditors.SplitContainerControl()
|
||||||
Me.GridControl1 = New DevExpress.XtraGrid.GridControl()
|
Me.GridControlProfile = New DevExpress.XtraGrid.GridControl()
|
||||||
Me.TBDD_DOKUMENTARTBindingSource = New System.Windows.Forms.BindingSource(Me.components)
|
Me.TBDD_DOKUMENTARTBindingSource = New System.Windows.Forms.BindingSource(Me.components)
|
||||||
Me.MyDataset = New Global_Indexer.MyDataset()
|
Me.MyDataset = New Global_Indexer.MyDataset()
|
||||||
Me.GridView1 = New DevExpress.XtraGrid.Views.Grid.GridView()
|
Me.GridViewProfile = New DevExpress.XtraGrid.Views.Grid.GridView()
|
||||||
|
Me.colAKTIV = New DevExpress.XtraGrid.Columns.GridColumn()
|
||||||
Me.colBEZEICHNUNG = New DevExpress.XtraGrid.Columns.GridColumn()
|
Me.colBEZEICHNUNG = New DevExpress.XtraGrid.Columns.GridColumn()
|
||||||
Me.Label3 = New System.Windows.Forms.Label()
|
Me.Label3 = New System.Windows.Forms.Label()
|
||||||
Me.XtraTabControl1 = New DevExpress.XtraTab.XtraTabControl()
|
Me.XtraTabControl1 = New DevExpress.XtraTab.XtraTabControl()
|
||||||
@@ -180,8 +182,12 @@ Partial Class frmAdministration
|
|||||||
Me.XtraTabControl2 = New DevExpress.XtraTab.XtraTabControl()
|
Me.XtraTabControl2 = New DevExpress.XtraTab.XtraTabControl()
|
||||||
Me.XtraTabPageManualIndex = New DevExpress.XtraTab.XtraTabPage()
|
Me.XtraTabPageManualIndex = New DevExpress.XtraTab.XtraTabPage()
|
||||||
Me.Panel1 = New System.Windows.Forms.Panel()
|
Me.Panel1 = New System.Windows.Forms.Panel()
|
||||||
Me.ACTIVECheckBox = New System.Windows.Forms.CheckBox()
|
Me.txtManIndexConnectionId = New System.Windows.Forms.TextBox()
|
||||||
Me.TBDD_INDEX_MANBindingSource = New System.Windows.Forms.BindingSource(Me.components)
|
Me.TBDD_INDEX_MANBindingSource = New System.Windows.Forms.BindingSource(Me.components)
|
||||||
|
Me.txtManIndexSQL = New System.Windows.Forms.TextBox()
|
||||||
|
Me.Button3 = New System.Windows.Forms.Button()
|
||||||
|
Me.lbManIndexDefaultValueParameter = New System.Windows.Forms.ListBox()
|
||||||
|
Me.ACTIVECheckBox = New System.Windows.Forms.CheckBox()
|
||||||
Me.GUIDTextBox1 = New System.Windows.Forms.TextBox()
|
Me.GUIDTextBox1 = New System.Windows.Forms.TextBox()
|
||||||
Me.VKT_PREVENT_MULTIPLE_VALUESCheckbox = New System.Windows.Forms.CheckBox()
|
Me.VKT_PREVENT_MULTIPLE_VALUESCheckbox = New System.Windows.Forms.CheckBox()
|
||||||
Me.VKT_ADD_ITEMCheckbox = New System.Windows.Forms.CheckBox()
|
Me.VKT_ADD_ITEMCheckbox = New System.Windows.Forms.CheckBox()
|
||||||
@@ -227,9 +233,11 @@ Partial Class frmAdministration
|
|||||||
Me.COMMENTTextBox2 = New System.Windows.Forms.TextBox()
|
Me.COMMENTTextBox2 = New System.Windows.Forms.TextBox()
|
||||||
Me.GUIDTextBox4 = New System.Windows.Forms.TextBox()
|
Me.GUIDTextBox4 = New System.Windows.Forms.TextBox()
|
||||||
Me.XtraTabPageAutoIndex = New DevExpress.XtraTab.XtraTabPage()
|
Me.XtraTabPageAutoIndex = New DevExpress.XtraTab.XtraTabPage()
|
||||||
|
Me.txtAutomIndexConnectionId = New System.Windows.Forms.TextBox()
|
||||||
|
Me.TBDD_INDEX_AUTOMBindingSource = New System.Windows.Forms.BindingSource(Me.components)
|
||||||
|
Me.txtAutomIndexSQLResult = New System.Windows.Forms.TextBox()
|
||||||
Me.Label6 = New System.Windows.Forms.Label()
|
Me.Label6 = New System.Windows.Forms.Label()
|
||||||
Me.ListBoxControl4 = New DevExpress.XtraEditors.ListBoxControl()
|
Me.ListBoxControl4 = New DevExpress.XtraEditors.ListBoxControl()
|
||||||
Me.TBDD_INDEX_AUTOMBindingSource = New System.Windows.Forms.BindingSource(Me.components)
|
|
||||||
Me.btnAddWindowsVariable = New System.Windows.Forms.Button()
|
Me.btnAddWindowsVariable = New System.Windows.Forms.Button()
|
||||||
Me.lblWindowParameter = New System.Windows.Forms.Label()
|
Me.lblWindowParameter = New System.Windows.Forms.Label()
|
||||||
Me.lbFileparameter = New System.Windows.Forms.ListBox()
|
Me.lbFileparameter = New System.Windows.Forms.ListBox()
|
||||||
@@ -237,6 +245,7 @@ Partial Class frmAdministration
|
|||||||
Me.INDEXNAME_AutoIndexCMB = New System.Windows.Forms.ComboBox()
|
Me.INDEXNAME_AutoIndexCMB = New System.Windows.Forms.ComboBox()
|
||||||
Me.btnSQLViewAuto = New System.Windows.Forms.Button()
|
Me.btnSQLViewAuto = New System.Windows.Forms.Button()
|
||||||
Me.SQL_ACTIVECheckBox = New System.Windows.Forms.CheckBox()
|
Me.SQL_ACTIVECheckBox = New System.Windows.Forms.CheckBox()
|
||||||
|
Me.TextBox8 = New System.Windows.Forms.TextBox()
|
||||||
Me.GUIDAUTO_INDEXTextbox = New System.Windows.Forms.TextBox()
|
Me.GUIDAUTO_INDEXTextbox = New System.Windows.Forms.TextBox()
|
||||||
Me.VALUETextBox = New System.Windows.Forms.TextBox()
|
Me.VALUETextBox = New System.Windows.Forms.TextBox()
|
||||||
Me.COMMENTTextBox1 = New System.Windows.Forms.TextBox()
|
Me.COMMENTTextBox1 = New System.Windows.Forms.TextBox()
|
||||||
@@ -274,8 +283,8 @@ Partial Class frmAdministration
|
|||||||
Me.TextBox7 = New System.Windows.Forms.TextBox()
|
Me.TextBox7 = New System.Windows.Forms.TextBox()
|
||||||
Me.XtraTabPageUsersGroups = New DevExpress.XtraTab.XtraTabPage()
|
Me.XtraTabPageUsersGroups = New DevExpress.XtraTab.XtraTabPage()
|
||||||
Me.XtraTabControl3 = New DevExpress.XtraTab.XtraTabControl()
|
Me.XtraTabControl3 = New DevExpress.XtraTab.XtraTabControl()
|
||||||
Me.XtraTabPage1 = New DevExpress.XtraTab.XtraTabPage()
|
Me.tabPageUsers = New DevExpress.XtraTab.XtraTabPage()
|
||||||
Me.XtraTabPage2 = New DevExpress.XtraTab.XtraTabPage()
|
Me.tabPageGroups = New DevExpress.XtraTab.XtraTabPage()
|
||||||
Me.TBGI_OBJECTTYPE_EMAIL_INDEXBindingSource = New System.Windows.Forms.BindingSource(Me.components)
|
Me.TBGI_OBJECTTYPE_EMAIL_INDEXBindingSource = New System.Windows.Forms.BindingSource(Me.components)
|
||||||
Me.TBDD_EINGANGSARTENBindingSource = New System.Windows.Forms.BindingSource(Me.components)
|
Me.TBDD_EINGANGSARTENBindingSource = New System.Windows.Forms.BindingSource(Me.components)
|
||||||
Me.TBDD_USERBindingSource = New System.Windows.Forms.BindingSource(Me.components)
|
Me.TBDD_USERBindingSource = New System.Windows.Forms.BindingSource(Me.components)
|
||||||
@@ -321,6 +330,7 @@ Partial Class frmAdministration
|
|||||||
COMMENTLabel2 = New System.Windows.Forms.Label()
|
COMMENTLabel2 = New System.Windows.Forms.Label()
|
||||||
IDXMAN_IDLabel = New System.Windows.Forms.Label()
|
IDXMAN_IDLabel = New System.Windows.Forms.Label()
|
||||||
GUIDLabel5 = New System.Windows.Forms.Label()
|
GUIDLabel5 = New System.Windows.Forms.Label()
|
||||||
|
Label12 = New System.Windows.Forms.Label()
|
||||||
GUIDLabel4 = New System.Windows.Forms.Label()
|
GUIDLabel4 = New System.Windows.Forms.Label()
|
||||||
INDEXNAMELabel = New System.Windows.Forms.Label()
|
INDEXNAMELabel = New System.Windows.Forms.Label()
|
||||||
COMMENTLabel1 = New System.Windows.Forms.Label()
|
COMMENTLabel1 = New System.Windows.Forms.Label()
|
||||||
@@ -361,10 +371,10 @@ Partial Class frmAdministration
|
|||||||
CType(Me.viewAvailableUsers, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.viewAvailableUsers, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
CType(Me.SplitContainerControl4, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.SplitContainerControl4, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
Me.SplitContainerControl4.SuspendLayout()
|
Me.SplitContainerControl4.SuspendLayout()
|
||||||
CType(Me.GridControl1, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.GridControlProfile, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
CType(Me.TBDD_DOKUMENTARTBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.TBDD_DOKUMENTARTBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
CType(Me.MyDataset, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.MyDataset, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
CType(Me.GridView1, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.GridViewProfile, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
CType(Me.XtraTabControl1, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.XtraTabControl1, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
Me.XtraTabControl1.SuspendLayout()
|
Me.XtraTabControl1.SuspendLayout()
|
||||||
Me.XtraTabPageProfiles.SuspendLayout()
|
Me.XtraTabPageProfiles.SuspendLayout()
|
||||||
@@ -379,8 +389,8 @@ Partial Class frmAdministration
|
|||||||
CType(Me.TBDD_INDEX_MAN_POSTPROCESSINGBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.TBDD_INDEX_MAN_POSTPROCESSINGBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
CType(Me.TBWHDD_INDEX_MANBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.TBWHDD_INDEX_MANBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
Me.XtraTabPageAutoIndex.SuspendLayout()
|
Me.XtraTabPageAutoIndex.SuspendLayout()
|
||||||
CType(Me.ListBoxControl4, System.ComponentModel.ISupportInitialize).BeginInit()
|
|
||||||
CType(Me.TBDD_INDEX_AUTOMBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.TBDD_INDEX_AUTOMBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
|
CType(Me.ListBoxControl4, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
Me.XtraTabPageFolderPath.SuspendLayout()
|
Me.XtraTabPageFolderPath.SuspendLayout()
|
||||||
Me.GroupBox4.SuspendLayout()
|
Me.GroupBox4.SuspendLayout()
|
||||||
Me.GroupBox5.SuspendLayout()
|
Me.GroupBox5.SuspendLayout()
|
||||||
@@ -389,8 +399,8 @@ Partial Class frmAdministration
|
|||||||
Me.XtraTabPageUsersGroups.SuspendLayout()
|
Me.XtraTabPageUsersGroups.SuspendLayout()
|
||||||
CType(Me.XtraTabControl3, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.XtraTabControl3, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
Me.XtraTabControl3.SuspendLayout()
|
Me.XtraTabControl3.SuspendLayout()
|
||||||
Me.XtraTabPage1.SuspendLayout()
|
Me.tabPageUsers.SuspendLayout()
|
||||||
Me.XtraTabPage2.SuspendLayout()
|
Me.tabPageGroups.SuspendLayout()
|
||||||
CType(Me.TBGI_OBJECTTYPE_EMAIL_INDEXBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.TBGI_OBJECTTYPE_EMAIL_INDEXBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
CType(Me.TBDD_EINGANGSARTENBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.TBDD_EINGANGSARTENBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
CType(Me.TBDD_USERBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.TBDD_USERBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
@@ -964,28 +974,28 @@ Partial Class frmAdministration
|
|||||||
'
|
'
|
||||||
resources.ApplyResources(Me.SplitContainerControl4, "SplitContainerControl4")
|
resources.ApplyResources(Me.SplitContainerControl4, "SplitContainerControl4")
|
||||||
Me.SplitContainerControl4.Name = "SplitContainerControl4"
|
Me.SplitContainerControl4.Name = "SplitContainerControl4"
|
||||||
Me.SplitContainerControl4.Panel1.Controls.Add(Me.GridControl1)
|
Me.SplitContainerControl4.Panel1.Controls.Add(Me.GridControlProfile)
|
||||||
Me.SplitContainerControl4.Panel1.Controls.Add(Me.Label3)
|
Me.SplitContainerControl4.Panel1.Controls.Add(Me.Label3)
|
||||||
resources.ApplyResources(Me.SplitContainerControl4.Panel1, "SplitContainerControl4.Panel1")
|
resources.ApplyResources(Me.SplitContainerControl4.Panel1, "SplitContainerControl4.Panel1")
|
||||||
Me.SplitContainerControl4.Panel2.Controls.Add(Me.XtraTabControl1)
|
Me.SplitContainerControl4.Panel2.Controls.Add(Me.XtraTabControl1)
|
||||||
resources.ApplyResources(Me.SplitContainerControl4.Panel2, "SplitContainerControl4.Panel2")
|
resources.ApplyResources(Me.SplitContainerControl4.Panel2, "SplitContainerControl4.Panel2")
|
||||||
Me.SplitContainerControl4.SplitterPosition = 224
|
Me.SplitContainerControl4.SplitterPosition = 224
|
||||||
'
|
'
|
||||||
'GridControl1
|
'GridControlProfile
|
||||||
'
|
'
|
||||||
Me.GridControl1.CausesValidation = False
|
Me.GridControlProfile.CausesValidation = False
|
||||||
Me.GridControl1.DataSource = Me.TBDD_DOKUMENTARTBindingSource
|
Me.GridControlProfile.DataSource = Me.TBDD_DOKUMENTARTBindingSource
|
||||||
resources.ApplyResources(Me.GridControl1, "GridControl1")
|
resources.ApplyResources(Me.GridControlProfile, "GridControlProfile")
|
||||||
Me.GridControl1.EmbeddedNavigator.AllowHtmlTextInToolTip = CType(resources.GetObject("GridControl1.EmbeddedNavigator.AllowHtmlTextInToolTip"), DevExpress.Utils.DefaultBoolean)
|
Me.GridControlProfile.EmbeddedNavigator.AllowHtmlTextInToolTip = CType(resources.GetObject("GridControlProfile.EmbeddedNavigator.AllowHtmlTextInToolTip"), DevExpress.Utils.DefaultBoolean)
|
||||||
Me.GridControl1.EmbeddedNavigator.Anchor = CType(resources.GetObject("GridControl1.EmbeddedNavigator.Anchor"), System.Windows.Forms.AnchorStyles)
|
Me.GridControlProfile.EmbeddedNavigator.Anchor = CType(resources.GetObject("GridControlProfile.EmbeddedNavigator.Anchor"), System.Windows.Forms.AnchorStyles)
|
||||||
Me.GridControl1.EmbeddedNavigator.BackgroundImageLayout = CType(resources.GetObject("GridControl1.EmbeddedNavigator.BackgroundImageLayout"), System.Windows.Forms.ImageLayout)
|
Me.GridControlProfile.EmbeddedNavigator.BackgroundImageLayout = CType(resources.GetObject("GridControlProfile.EmbeddedNavigator.BackgroundImageLayout"), System.Windows.Forms.ImageLayout)
|
||||||
Me.GridControl1.EmbeddedNavigator.ImeMode = CType(resources.GetObject("GridControl1.EmbeddedNavigator.ImeMode"), System.Windows.Forms.ImeMode)
|
Me.GridControlProfile.EmbeddedNavigator.ImeMode = CType(resources.GetObject("GridControlProfile.EmbeddedNavigator.ImeMode"), System.Windows.Forms.ImeMode)
|
||||||
Me.GridControl1.EmbeddedNavigator.TextLocation = CType(resources.GetObject("GridControl1.EmbeddedNavigator.TextLocation"), DevExpress.XtraEditors.NavigatorButtonsTextLocation)
|
Me.GridControlProfile.EmbeddedNavigator.TextLocation = CType(resources.GetObject("GridControlProfile.EmbeddedNavigator.TextLocation"), DevExpress.XtraEditors.NavigatorButtonsTextLocation)
|
||||||
Me.GridControl1.EmbeddedNavigator.ToolTipIconType = CType(resources.GetObject("GridControl1.EmbeddedNavigator.ToolTipIconType"), DevExpress.Utils.ToolTipIconType)
|
Me.GridControlProfile.EmbeddedNavigator.ToolTipIconType = CType(resources.GetObject("GridControlProfile.EmbeddedNavigator.ToolTipIconType"), DevExpress.Utils.ToolTipIconType)
|
||||||
Me.GridControl1.MainView = Me.GridView1
|
Me.GridControlProfile.MainView = Me.GridViewProfile
|
||||||
Me.GridControl1.Name = "GridControl1"
|
Me.GridControlProfile.Name = "GridControlProfile"
|
||||||
Me.GridControl1.ShowOnlyPredefinedDetails = True
|
Me.GridControlProfile.ShowOnlyPredefinedDetails = True
|
||||||
Me.GridControl1.ViewCollection.AddRange(New DevExpress.XtraGrid.Views.Base.BaseView() {Me.GridView1})
|
Me.GridControlProfile.ViewCollection.AddRange(New DevExpress.XtraGrid.Views.Base.BaseView() {Me.GridViewProfile})
|
||||||
'
|
'
|
||||||
'TBDD_DOKUMENTARTBindingSource
|
'TBDD_DOKUMENTARTBindingSource
|
||||||
'
|
'
|
||||||
@@ -997,24 +1007,30 @@ Partial Class frmAdministration
|
|||||||
Me.MyDataset.DataSetName = "MyDataset"
|
Me.MyDataset.DataSetName = "MyDataset"
|
||||||
Me.MyDataset.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema
|
Me.MyDataset.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema
|
||||||
'
|
'
|
||||||
'GridView1
|
'GridViewProfile
|
||||||
'
|
'
|
||||||
Me.GridView1.Appearance.EvenRow.BackColor = System.Drawing.Color.PaleTurquoise
|
Me.GridViewProfile.Appearance.EvenRow.BackColor = System.Drawing.Color.PaleTurquoise
|
||||||
Me.GridView1.Appearance.EvenRow.Options.UseBackColor = True
|
Me.GridViewProfile.Appearance.EvenRow.Options.UseBackColor = True
|
||||||
Me.GridView1.Appearance.FocusedRow.BackColor = System.Drawing.Color.Khaki
|
Me.GridViewProfile.Appearance.FocusedRow.BackColor = System.Drawing.Color.Khaki
|
||||||
Me.GridView1.Appearance.FocusedRow.Options.UseBackColor = True
|
Me.GridViewProfile.Appearance.FocusedRow.Options.UseBackColor = True
|
||||||
Me.GridView1.Columns.AddRange(New DevExpress.XtraGrid.Columns.GridColumn() {Me.colBEZEICHNUNG})
|
Me.GridViewProfile.Columns.AddRange(New DevExpress.XtraGrid.Columns.GridColumn() {Me.colAKTIV, Me.colBEZEICHNUNG})
|
||||||
Me.GridView1.GridControl = Me.GridControl1
|
Me.GridViewProfile.GridControl = Me.GridControlProfile
|
||||||
Me.GridView1.Name = "GridView1"
|
Me.GridViewProfile.Name = "GridViewProfile"
|
||||||
Me.GridView1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.[False]
|
Me.GridViewProfile.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.[False]
|
||||||
Me.GridView1.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.[False]
|
Me.GridViewProfile.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.[False]
|
||||||
Me.GridView1.OptionsBehavior.Editable = False
|
Me.GridViewProfile.OptionsBehavior.Editable = False
|
||||||
Me.GridView1.OptionsClipboard.CopyColumnHeaders = DevExpress.Utils.DefaultBoolean.[False]
|
Me.GridViewProfile.OptionsClipboard.CopyColumnHeaders = DevExpress.Utils.DefaultBoolean.[False]
|
||||||
Me.GridView1.OptionsSelection.EnableAppearanceFocusedCell = False
|
Me.GridViewProfile.OptionsSelection.EnableAppearanceFocusedCell = False
|
||||||
Me.GridView1.OptionsView.EnableAppearanceEvenRow = True
|
Me.GridViewProfile.OptionsView.EnableAppearanceEvenRow = True
|
||||||
Me.GridView1.OptionsView.ShowAutoFilterRow = True
|
Me.GridViewProfile.OptionsView.ShowAutoFilterRow = True
|
||||||
Me.GridView1.OptionsView.ShowColumnHeaders = False
|
Me.GridViewProfile.OptionsView.ShowColumnHeaders = False
|
||||||
Me.GridView1.OptionsView.ShowGroupPanel = False
|
Me.GridViewProfile.OptionsView.ShowGroupPanel = False
|
||||||
|
'
|
||||||
|
'colAKTIV
|
||||||
|
'
|
||||||
|
resources.ApplyResources(Me.colAKTIV, "colAKTIV")
|
||||||
|
Me.colAKTIV.FieldName = "AKTIV"
|
||||||
|
Me.colAKTIV.Name = "colAKTIV"
|
||||||
'
|
'
|
||||||
'colBEZEICHNUNG
|
'colBEZEICHNUNG
|
||||||
'
|
'
|
||||||
@@ -1292,6 +1308,10 @@ Partial Class frmAdministration
|
|||||||
'
|
'
|
||||||
'Panel1
|
'Panel1
|
||||||
'
|
'
|
||||||
|
Me.Panel1.Controls.Add(Me.txtManIndexConnectionId)
|
||||||
|
Me.Panel1.Controls.Add(Me.txtManIndexSQL)
|
||||||
|
Me.Panel1.Controls.Add(Me.Button3)
|
||||||
|
Me.Panel1.Controls.Add(Me.lbManIndexDefaultValueParameter)
|
||||||
Me.Panel1.Controls.Add(Me.ACTIVECheckBox)
|
Me.Panel1.Controls.Add(Me.ACTIVECheckBox)
|
||||||
Me.Panel1.Controls.Add(Me.GUIDTextBox1)
|
Me.Panel1.Controls.Add(Me.GUIDTextBox1)
|
||||||
Me.Panel1.Controls.Add(Me.VKT_PREVENT_MULTIPLE_VALUESCheckbox)
|
Me.Panel1.Controls.Add(Me.VKT_PREVENT_MULTIPLE_VALUESCheckbox)
|
||||||
@@ -1325,6 +1345,45 @@ Partial Class frmAdministration
|
|||||||
resources.ApplyResources(Me.Panel1, "Panel1")
|
resources.ApplyResources(Me.Panel1, "Panel1")
|
||||||
Me.Panel1.Name = "Panel1"
|
Me.Panel1.Name = "Panel1"
|
||||||
'
|
'
|
||||||
|
'txtManIndexConnectionId
|
||||||
|
'
|
||||||
|
Me.txtManIndexConnectionId.BackColor = System.Drawing.SystemColors.Control
|
||||||
|
Me.txtManIndexConnectionId.BorderStyle = System.Windows.Forms.BorderStyle.None
|
||||||
|
Me.txtManIndexConnectionId.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBDD_INDEX_MANBindingSource, "CONNECTION_ID", True))
|
||||||
|
resources.ApplyResources(Me.txtManIndexConnectionId, "txtManIndexConnectionId")
|
||||||
|
Me.txtManIndexConnectionId.ForeColor = System.Drawing.SystemColors.Control
|
||||||
|
Me.txtManIndexConnectionId.Name = "txtManIndexConnectionId"
|
||||||
|
Me.txtManIndexConnectionId.TabStop = False
|
||||||
|
'
|
||||||
|
'TBDD_INDEX_MANBindingSource
|
||||||
|
'
|
||||||
|
Me.TBDD_INDEX_MANBindingSource.DataMember = "TBDD_INDEX_MAN"
|
||||||
|
Me.TBDD_INDEX_MANBindingSource.DataSource = Me.MyDataset
|
||||||
|
'
|
||||||
|
'txtManIndexSQL
|
||||||
|
'
|
||||||
|
Me.txtManIndexSQL.BackColor = System.Drawing.SystemColors.Control
|
||||||
|
Me.txtManIndexSQL.BorderStyle = System.Windows.Forms.BorderStyle.None
|
||||||
|
Me.txtManIndexSQL.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBDD_INDEX_MANBindingSource, "SQL_RESULT", True))
|
||||||
|
resources.ApplyResources(Me.txtManIndexSQL, "txtManIndexSQL")
|
||||||
|
Me.txtManIndexSQL.ForeColor = System.Drawing.SystemColors.Control
|
||||||
|
Me.txtManIndexSQL.Name = "txtManIndexSQL"
|
||||||
|
Me.txtManIndexSQL.TabStop = False
|
||||||
|
'
|
||||||
|
'Button3
|
||||||
|
'
|
||||||
|
Me.Button3.Image = Global.Global_Indexer.My.Resources.Resources.arrow_previous_16xLG
|
||||||
|
resources.ApplyResources(Me.Button3, "Button3")
|
||||||
|
Me.Button3.Name = "Button3"
|
||||||
|
Me.Button3.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'lbManIndexDefaultValueParameter
|
||||||
|
'
|
||||||
|
resources.ApplyResources(Me.lbManIndexDefaultValueParameter, "lbManIndexDefaultValueParameter")
|
||||||
|
Me.lbManIndexDefaultValueParameter.FormattingEnabled = True
|
||||||
|
Me.lbManIndexDefaultValueParameter.Items.AddRange(New Object() {resources.GetString("lbManIndexDefaultValueParameter.Items"), resources.GetString("lbManIndexDefaultValueParameter.Items1"), resources.GetString("lbManIndexDefaultValueParameter.Items2"), resources.GetString("lbManIndexDefaultValueParameter.Items3"), resources.GetString("lbManIndexDefaultValueParameter.Items4"), resources.GetString("lbManIndexDefaultValueParameter.Items5"), resources.GetString("lbManIndexDefaultValueParameter.Items6"), resources.GetString("lbManIndexDefaultValueParameter.Items7"), resources.GetString("lbManIndexDefaultValueParameter.Items8")})
|
||||||
|
Me.lbManIndexDefaultValueParameter.Name = "lbManIndexDefaultValueParameter"
|
||||||
|
'
|
||||||
'ACTIVECheckBox
|
'ACTIVECheckBox
|
||||||
'
|
'
|
||||||
Me.ACTIVECheckBox.DataBindings.Add(New System.Windows.Forms.Binding("CheckState", Me.TBDD_INDEX_MANBindingSource, "ACTIVE", True))
|
Me.ACTIVECheckBox.DataBindings.Add(New System.Windows.Forms.Binding("CheckState", Me.TBDD_INDEX_MANBindingSource, "ACTIVE", True))
|
||||||
@@ -1332,11 +1391,6 @@ Partial Class frmAdministration
|
|||||||
Me.ACTIVECheckBox.Name = "ACTIVECheckBox"
|
Me.ACTIVECheckBox.Name = "ACTIVECheckBox"
|
||||||
Me.ACTIVECheckBox.UseVisualStyleBackColor = True
|
Me.ACTIVECheckBox.UseVisualStyleBackColor = True
|
||||||
'
|
'
|
||||||
'TBDD_INDEX_MANBindingSource
|
|
||||||
'
|
|
||||||
Me.TBDD_INDEX_MANBindingSource.DataMember = "TBDD_INDEX_MAN"
|
|
||||||
Me.TBDD_INDEX_MANBindingSource.DataSource = Me.MyDataset
|
|
||||||
'
|
|
||||||
'GUIDTextBox1
|
'GUIDTextBox1
|
||||||
'
|
'
|
||||||
Me.GUIDTextBox1.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBDD_INDEX_MANBindingSource, "GUID", True))
|
Me.GUIDTextBox1.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBDD_INDEX_MANBindingSource, "GUID", True))
|
||||||
@@ -1764,6 +1818,8 @@ Partial Class frmAdministration
|
|||||||
Me.XtraTabPageAutoIndex.Appearance.Header.GradientMode = CType(resources.GetObject("XtraTabPageAutoIndex.Appearance.Header.GradientMode"), System.Drawing.Drawing2D.LinearGradientMode)
|
Me.XtraTabPageAutoIndex.Appearance.Header.GradientMode = CType(resources.GetObject("XtraTabPageAutoIndex.Appearance.Header.GradientMode"), System.Drawing.Drawing2D.LinearGradientMode)
|
||||||
Me.XtraTabPageAutoIndex.Appearance.HeaderActive.GradientMode = CType(resources.GetObject("XtraTabPageAutoIndex.Appearance.HeaderActive.GradientMode"), System.Drawing.Drawing2D.LinearGradientMode)
|
Me.XtraTabPageAutoIndex.Appearance.HeaderActive.GradientMode = CType(resources.GetObject("XtraTabPageAutoIndex.Appearance.HeaderActive.GradientMode"), System.Drawing.Drawing2D.LinearGradientMode)
|
||||||
resources.ApplyResources(Me.XtraTabPageAutoIndex, "XtraTabPageAutoIndex")
|
resources.ApplyResources(Me.XtraTabPageAutoIndex, "XtraTabPageAutoIndex")
|
||||||
|
Me.XtraTabPageAutoIndex.Controls.Add(Me.txtAutomIndexConnectionId)
|
||||||
|
Me.XtraTabPageAutoIndex.Controls.Add(Me.txtAutomIndexSQLResult)
|
||||||
Me.XtraTabPageAutoIndex.Controls.Add(Me.Label6)
|
Me.XtraTabPageAutoIndex.Controls.Add(Me.Label6)
|
||||||
Me.XtraTabPageAutoIndex.Controls.Add(Me.ListBoxControl4)
|
Me.XtraTabPageAutoIndex.Controls.Add(Me.ListBoxControl4)
|
||||||
Me.XtraTabPageAutoIndex.Controls.Add(Me.btnAddWindowsVariable)
|
Me.XtraTabPageAutoIndex.Controls.Add(Me.btnAddWindowsVariable)
|
||||||
@@ -1773,7 +1829,9 @@ Partial Class frmAdministration
|
|||||||
Me.XtraTabPageAutoIndex.Controls.Add(Me.INDEXNAME_AutoIndexCMB)
|
Me.XtraTabPageAutoIndex.Controls.Add(Me.INDEXNAME_AutoIndexCMB)
|
||||||
Me.XtraTabPageAutoIndex.Controls.Add(Me.btnSQLViewAuto)
|
Me.XtraTabPageAutoIndex.Controls.Add(Me.btnSQLViewAuto)
|
||||||
Me.XtraTabPageAutoIndex.Controls.Add(Me.SQL_ACTIVECheckBox)
|
Me.XtraTabPageAutoIndex.Controls.Add(Me.SQL_ACTIVECheckBox)
|
||||||
|
Me.XtraTabPageAutoIndex.Controls.Add(Label12)
|
||||||
Me.XtraTabPageAutoIndex.Controls.Add(GUIDLabel4)
|
Me.XtraTabPageAutoIndex.Controls.Add(GUIDLabel4)
|
||||||
|
Me.XtraTabPageAutoIndex.Controls.Add(Me.TextBox8)
|
||||||
Me.XtraTabPageAutoIndex.Controls.Add(Me.GUIDAUTO_INDEXTextbox)
|
Me.XtraTabPageAutoIndex.Controls.Add(Me.GUIDAUTO_INDEXTextbox)
|
||||||
Me.XtraTabPageAutoIndex.Controls.Add(INDEXNAMELabel)
|
Me.XtraTabPageAutoIndex.Controls.Add(INDEXNAMELabel)
|
||||||
Me.XtraTabPageAutoIndex.Controls.Add(Me.VALUETextBox)
|
Me.XtraTabPageAutoIndex.Controls.Add(Me.VALUETextBox)
|
||||||
@@ -1793,6 +1851,31 @@ Partial Class frmAdministration
|
|||||||
Me.XtraTabPageAutoIndex.ImageOptions.SvgImageSize = New System.Drawing.Size(16, 16)
|
Me.XtraTabPageAutoIndex.ImageOptions.SvgImageSize = New System.Drawing.Size(16, 16)
|
||||||
Me.XtraTabPageAutoIndex.Name = "XtraTabPageAutoIndex"
|
Me.XtraTabPageAutoIndex.Name = "XtraTabPageAutoIndex"
|
||||||
'
|
'
|
||||||
|
'txtAutomIndexConnectionId
|
||||||
|
'
|
||||||
|
Me.txtAutomIndexConnectionId.BackColor = System.Drawing.SystemColors.Control
|
||||||
|
Me.txtAutomIndexConnectionId.BorderStyle = System.Windows.Forms.BorderStyle.None
|
||||||
|
Me.txtAutomIndexConnectionId.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBDD_INDEX_AUTOMBindingSource, "CONNECTION_ID", True))
|
||||||
|
resources.ApplyResources(Me.txtAutomIndexConnectionId, "txtAutomIndexConnectionId")
|
||||||
|
Me.txtAutomIndexConnectionId.ForeColor = System.Drawing.SystemColors.Control
|
||||||
|
Me.txtAutomIndexConnectionId.Name = "txtAutomIndexConnectionId"
|
||||||
|
Me.txtAutomIndexConnectionId.TabStop = False
|
||||||
|
'
|
||||||
|
'TBDD_INDEX_AUTOMBindingSource
|
||||||
|
'
|
||||||
|
Me.TBDD_INDEX_AUTOMBindingSource.DataMember = "TBDD_INDEX_AUTOM"
|
||||||
|
Me.TBDD_INDEX_AUTOMBindingSource.DataSource = Me.MyDataset
|
||||||
|
'
|
||||||
|
'txtAutomIndexSQLResult
|
||||||
|
'
|
||||||
|
Me.txtAutomIndexSQLResult.BackColor = System.Drawing.SystemColors.Control
|
||||||
|
Me.txtAutomIndexSQLResult.BorderStyle = System.Windows.Forms.BorderStyle.None
|
||||||
|
Me.txtAutomIndexSQLResult.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBDD_INDEX_AUTOMBindingSource, "SQL_RESULT", True))
|
||||||
|
resources.ApplyResources(Me.txtAutomIndexSQLResult, "txtAutomIndexSQLResult")
|
||||||
|
Me.txtAutomIndexSQLResult.ForeColor = System.Drawing.SystemColors.Control
|
||||||
|
Me.txtAutomIndexSQLResult.Name = "txtAutomIndexSQLResult"
|
||||||
|
Me.txtAutomIndexSQLResult.TabStop = False
|
||||||
|
'
|
||||||
'Label6
|
'Label6
|
||||||
'
|
'
|
||||||
resources.ApplyResources(Me.Label6, "Label6")
|
resources.ApplyResources(Me.Label6, "Label6")
|
||||||
@@ -1807,11 +1890,6 @@ Partial Class frmAdministration
|
|||||||
resources.ApplyResources(Me.ListBoxControl4, "ListBoxControl4")
|
resources.ApplyResources(Me.ListBoxControl4, "ListBoxControl4")
|
||||||
Me.ListBoxControl4.Name = "ListBoxControl4"
|
Me.ListBoxControl4.Name = "ListBoxControl4"
|
||||||
'
|
'
|
||||||
'TBDD_INDEX_AUTOMBindingSource
|
|
||||||
'
|
|
||||||
Me.TBDD_INDEX_AUTOMBindingSource.DataMember = "TBDD_INDEX_AUTOM"
|
|
||||||
Me.TBDD_INDEX_AUTOMBindingSource.DataSource = Me.MyDataset
|
|
||||||
'
|
|
||||||
'btnAddWindowsVariable
|
'btnAddWindowsVariable
|
||||||
'
|
'
|
||||||
Me.btnAddWindowsVariable.Image = Global.Global_Indexer.My.Resources.Resources.arrow_previous_16xLG
|
Me.btnAddWindowsVariable.Image = Global.Global_Indexer.My.Resources.Resources.arrow_previous_16xLG
|
||||||
@@ -1857,11 +1935,22 @@ Partial Class frmAdministration
|
|||||||
Me.SQL_ACTIVECheckBox.Name = "SQL_ACTIVECheckBox"
|
Me.SQL_ACTIVECheckBox.Name = "SQL_ACTIVECheckBox"
|
||||||
Me.SQL_ACTIVECheckBox.UseVisualStyleBackColor = True
|
Me.SQL_ACTIVECheckBox.UseVisualStyleBackColor = True
|
||||||
'
|
'
|
||||||
|
'Label12
|
||||||
|
'
|
||||||
|
resources.ApplyResources(Label12, "Label12")
|
||||||
|
Label12.Name = "Label12"
|
||||||
|
'
|
||||||
'GUIDLabel4
|
'GUIDLabel4
|
||||||
'
|
'
|
||||||
resources.ApplyResources(GUIDLabel4, "GUIDLabel4")
|
resources.ApplyResources(GUIDLabel4, "GUIDLabel4")
|
||||||
GUIDLabel4.Name = "GUIDLabel4"
|
GUIDLabel4.Name = "GUIDLabel4"
|
||||||
'
|
'
|
||||||
|
'TextBox8
|
||||||
|
'
|
||||||
|
Me.TextBox8.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBDD_INDEX_AUTOMBindingSource, "SEQUENCE", True))
|
||||||
|
resources.ApplyResources(Me.TextBox8, "TextBox8")
|
||||||
|
Me.TextBox8.Name = "TextBox8"
|
||||||
|
'
|
||||||
'GUIDAUTO_INDEXTextbox
|
'GUIDAUTO_INDEXTextbox
|
||||||
'
|
'
|
||||||
Me.GUIDAUTO_INDEXTextbox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBDD_INDEX_AUTOMBindingSource, "GUID", True))
|
Me.GUIDAUTO_INDEXTextbox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.TBDD_INDEX_AUTOMBindingSource, "GUID", True))
|
||||||
@@ -2239,24 +2328,24 @@ Partial Class frmAdministration
|
|||||||
'
|
'
|
||||||
resources.ApplyResources(Me.XtraTabControl3, "XtraTabControl3")
|
resources.ApplyResources(Me.XtraTabControl3, "XtraTabControl3")
|
||||||
Me.XtraTabControl3.Name = "XtraTabControl3"
|
Me.XtraTabControl3.Name = "XtraTabControl3"
|
||||||
Me.XtraTabControl3.SelectedTabPage = Me.XtraTabPage1
|
Me.XtraTabControl3.SelectedTabPage = Me.tabPageUsers
|
||||||
Me.XtraTabControl3.TabPages.AddRange(New DevExpress.XtraTab.XtraTabPage() {Me.XtraTabPage2, Me.XtraTabPage1})
|
Me.XtraTabControl3.TabPages.AddRange(New DevExpress.XtraTab.XtraTabPage() {Me.tabPageGroups, Me.tabPageUsers})
|
||||||
'
|
'
|
||||||
'XtraTabPage1
|
'tabPageUsers
|
||||||
'
|
'
|
||||||
Me.XtraTabPage1.Controls.Add(Me.SplitContainerControl2)
|
Me.tabPageUsers.Controls.Add(Me.SplitContainerControl2)
|
||||||
Me.XtraTabPage1.ImageOptions.SvgImage = CType(resources.GetObject("XtraTabPage1.ImageOptions.SvgImage"), DevExpress.Utils.Svg.SvgImage)
|
Me.tabPageUsers.ImageOptions.SvgImage = CType(resources.GetObject("tabPageUsers.ImageOptions.SvgImage"), DevExpress.Utils.Svg.SvgImage)
|
||||||
Me.XtraTabPage1.ImageOptions.SvgImageSize = New System.Drawing.Size(16, 16)
|
Me.tabPageUsers.ImageOptions.SvgImageSize = New System.Drawing.Size(16, 16)
|
||||||
Me.XtraTabPage1.Name = "XtraTabPage1"
|
Me.tabPageUsers.Name = "tabPageUsers"
|
||||||
resources.ApplyResources(Me.XtraTabPage1, "XtraTabPage1")
|
resources.ApplyResources(Me.tabPageUsers, "tabPageUsers")
|
||||||
'
|
'
|
||||||
'XtraTabPage2
|
'tabPageGroups
|
||||||
'
|
'
|
||||||
Me.XtraTabPage2.Controls.Add(Me.SplitContainerControl5)
|
Me.tabPageGroups.Controls.Add(Me.SplitContainerControl5)
|
||||||
Me.XtraTabPage2.ImageOptions.SvgImage = CType(resources.GetObject("XtraTabPage2.ImageOptions.SvgImage"), DevExpress.Utils.Svg.SvgImage)
|
Me.tabPageGroups.ImageOptions.SvgImage = CType(resources.GetObject("tabPageGroups.ImageOptions.SvgImage"), DevExpress.Utils.Svg.SvgImage)
|
||||||
Me.XtraTabPage2.ImageOptions.SvgImageSize = New System.Drawing.Size(16, 16)
|
Me.tabPageGroups.ImageOptions.SvgImageSize = New System.Drawing.Size(16, 16)
|
||||||
Me.XtraTabPage2.Name = "XtraTabPage2"
|
Me.tabPageGroups.Name = "tabPageGroups"
|
||||||
resources.ApplyResources(Me.XtraTabPage2, "XtraTabPage2")
|
resources.ApplyResources(Me.tabPageGroups, "tabPageGroups")
|
||||||
'
|
'
|
||||||
'TBGI_OBJECTTYPE_EMAIL_INDEXBindingSource
|
'TBGI_OBJECTTYPE_EMAIL_INDEXBindingSource
|
||||||
'
|
'
|
||||||
@@ -2316,11 +2405,6 @@ Partial Class frmAdministration
|
|||||||
Me.TableAdapterManager.TBGI_CONFIGURATIONTableAdapter = Nothing
|
Me.TableAdapterManager.TBGI_CONFIGURATIONTableAdapter = Nothing
|
||||||
Me.TableAdapterManager.TBGI_OBJECTTYPE_EMAIL_INDEXTableAdapter = Nothing
|
Me.TableAdapterManager.TBGI_OBJECTTYPE_EMAIL_INDEXTableAdapter = Nothing
|
||||||
Me.TableAdapterManager.TBGI_REGEX_DOCTYPETableAdapter = Nothing
|
Me.TableAdapterManager.TBGI_REGEX_DOCTYPETableAdapter = Nothing
|
||||||
Me.TableAdapterManager.TBHOTKEY_PATTERNS_REWORKTableAdapter = Nothing
|
|
||||||
Me.TableAdapterManager.TBHOTKEY_PATTERNSTableAdapter = Nothing
|
|
||||||
Me.TableAdapterManager.TBHOTKEY_PROFILETableAdapter = Nothing
|
|
||||||
Me.TableAdapterManager.TBHOTKEY_USER_PROFILETableAdapter = Nothing
|
|
||||||
Me.TableAdapterManager.TBHOTKEY_WINDOW_HOOKTableAdapter = Nothing
|
|
||||||
Me.TableAdapterManager.UpdateOrder = Global_Indexer.MyDatasetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete
|
Me.TableAdapterManager.UpdateOrder = Global_Indexer.MyDatasetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete
|
||||||
'
|
'
|
||||||
'TBDD_EINGANGSARTENTableAdapter
|
'TBDD_EINGANGSARTENTableAdapter
|
||||||
@@ -2390,7 +2474,6 @@ Partial Class frmAdministration
|
|||||||
Me.Controls.Add(Me.RibbonStatusBar1)
|
Me.Controls.Add(Me.RibbonStatusBar1)
|
||||||
Me.Controls.Add(Me.RibbonControl1)
|
Me.Controls.Add(Me.RibbonControl1)
|
||||||
Me.IconOptions.Icon = CType(resources.GetObject("frmAdministration.IconOptions.Icon"), System.Drawing.Icon)
|
Me.IconOptions.Icon = CType(resources.GetObject("frmAdministration.IconOptions.Icon"), System.Drawing.Icon)
|
||||||
Me.IconOptions.Image = Global.Global_Indexer.My.Resources.Resources.GLOBIX_short
|
|
||||||
Me.Name = "frmAdministration"
|
Me.Name = "frmAdministration"
|
||||||
Me.Ribbon = Me.RibbonControl1
|
Me.Ribbon = Me.RibbonControl1
|
||||||
Me.StatusBar = Me.RibbonStatusBar1
|
Me.StatusBar = Me.RibbonStatusBar1
|
||||||
@@ -2409,10 +2492,10 @@ Partial Class frmAdministration
|
|||||||
CType(Me.viewAvailableUsers, System.ComponentModel.ISupportInitialize).EndInit()
|
CType(Me.viewAvailableUsers, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
CType(Me.SplitContainerControl4, System.ComponentModel.ISupportInitialize).EndInit()
|
CType(Me.SplitContainerControl4, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
Me.SplitContainerControl4.ResumeLayout(False)
|
Me.SplitContainerControl4.ResumeLayout(False)
|
||||||
CType(Me.GridControl1, System.ComponentModel.ISupportInitialize).EndInit()
|
CType(Me.GridControlProfile, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
CType(Me.TBDD_DOKUMENTARTBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
|
CType(Me.TBDD_DOKUMENTARTBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
CType(Me.MyDataset, System.ComponentModel.ISupportInitialize).EndInit()
|
CType(Me.MyDataset, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
CType(Me.GridView1, System.ComponentModel.ISupportInitialize).EndInit()
|
CType(Me.GridViewProfile, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
CType(Me.XtraTabControl1, System.ComponentModel.ISupportInitialize).EndInit()
|
CType(Me.XtraTabControl1, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
Me.XtraTabControl1.ResumeLayout(False)
|
Me.XtraTabControl1.ResumeLayout(False)
|
||||||
Me.XtraTabPageProfiles.ResumeLayout(False)
|
Me.XtraTabPageProfiles.ResumeLayout(False)
|
||||||
@@ -2431,8 +2514,8 @@ Partial Class frmAdministration
|
|||||||
CType(Me.TBWHDD_INDEX_MANBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
|
CType(Me.TBWHDD_INDEX_MANBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
Me.XtraTabPageAutoIndex.ResumeLayout(False)
|
Me.XtraTabPageAutoIndex.ResumeLayout(False)
|
||||||
Me.XtraTabPageAutoIndex.PerformLayout()
|
Me.XtraTabPageAutoIndex.PerformLayout()
|
||||||
CType(Me.ListBoxControl4, System.ComponentModel.ISupportInitialize).EndInit()
|
|
||||||
CType(Me.TBDD_INDEX_AUTOMBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
|
CType(Me.TBDD_INDEX_AUTOMBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
|
CType(Me.ListBoxControl4, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
Me.XtraTabPageFolderPath.ResumeLayout(False)
|
Me.XtraTabPageFolderPath.ResumeLayout(False)
|
||||||
Me.GroupBox4.ResumeLayout(False)
|
Me.GroupBox4.ResumeLayout(False)
|
||||||
Me.GroupBox4.PerformLayout()
|
Me.GroupBox4.PerformLayout()
|
||||||
@@ -2444,8 +2527,8 @@ Partial Class frmAdministration
|
|||||||
Me.XtraTabPageUsersGroups.ResumeLayout(False)
|
Me.XtraTabPageUsersGroups.ResumeLayout(False)
|
||||||
CType(Me.XtraTabControl3, System.ComponentModel.ISupportInitialize).EndInit()
|
CType(Me.XtraTabControl3, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
Me.XtraTabControl3.ResumeLayout(False)
|
Me.XtraTabControl3.ResumeLayout(False)
|
||||||
Me.XtraTabPage1.ResumeLayout(False)
|
Me.tabPageUsers.ResumeLayout(False)
|
||||||
Me.XtraTabPage2.ResumeLayout(False)
|
Me.tabPageGroups.ResumeLayout(False)
|
||||||
CType(Me.TBGI_OBJECTTYPE_EMAIL_INDEXBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
|
CType(Me.TBGI_OBJECTTYPE_EMAIL_INDEXBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
CType(Me.TBDD_EINGANGSARTENBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
|
CType(Me.TBDD_EINGANGSARTENBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
CType(Me.TBDD_USERBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
|
CType(Me.TBDD_USERBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
@@ -2576,8 +2659,8 @@ Partial Class frmAdministration
|
|||||||
Friend WithEvents VARIANTComboBox As System.Windows.Forms.ComboBox
|
Friend WithEvents VARIANTComboBox As System.Windows.Forms.ComboBox
|
||||||
Friend WithEvents btnAddWindowsVariable As System.Windows.Forms.Button
|
Friend WithEvents btnAddWindowsVariable As System.Windows.Forms.Button
|
||||||
Friend WithEvents lblWDINDEX As System.Windows.Forms.Label
|
Friend WithEvents lblWDINDEX As System.Windows.Forms.Label
|
||||||
Friend WithEvents GridControl1 As DevExpress.XtraGrid.GridControl
|
Friend WithEvents GridControlProfile As DevExpress.XtraGrid.GridControl
|
||||||
Friend WithEvents GridView1 As DevExpress.XtraGrid.Views.Grid.GridView
|
Friend WithEvents GridViewProfile As DevExpress.XtraGrid.Views.Grid.GridView
|
||||||
Friend WithEvents colBEZEICHNUNG As DevExpress.XtraGrid.Columns.GridColumn
|
Friend WithEvents colBEZEICHNUNG As DevExpress.XtraGrid.Columns.GridColumn
|
||||||
Friend WithEvents gridAssignedGroups As DevExpress.XtraGrid.GridControl
|
Friend WithEvents gridAssignedGroups As DevExpress.XtraGrid.GridControl
|
||||||
Friend WithEvents viewAssignedGroups As DevExpress.XtraGrid.Views.Grid.GridView
|
Friend WithEvents viewAssignedGroups As DevExpress.XtraGrid.Views.Grid.GridView
|
||||||
@@ -2662,8 +2745,8 @@ Partial Class frmAdministration
|
|||||||
Friend WithEvents ListBoxControl4 As DevExpress.XtraEditors.ListBoxControl
|
Friend WithEvents ListBoxControl4 As DevExpress.XtraEditors.ListBoxControl
|
||||||
Friend WithEvents ListBox1 As ListBox
|
Friend WithEvents ListBox1 As ListBox
|
||||||
Friend WithEvents XtraTabControl3 As DevExpress.XtraTab.XtraTabControl
|
Friend WithEvents XtraTabControl3 As DevExpress.XtraTab.XtraTabControl
|
||||||
Friend WithEvents XtraTabPage1 As DevExpress.XtraTab.XtraTabPage
|
Friend WithEvents tabPageUsers As DevExpress.XtraTab.XtraTabPage
|
||||||
Friend WithEvents XtraTabPage2 As DevExpress.XtraTab.XtraTabPage
|
Friend WithEvents tabPageGroups As DevExpress.XtraTab.XtraTabPage
|
||||||
Friend WithEvents SplitContainerControl5 As DevExpress.XtraEditors.SplitContainerControl
|
Friend WithEvents SplitContainerControl5 As DevExpress.XtraEditors.SplitContainerControl
|
||||||
Friend WithEvents gridAssignedUsers As DevExpress.XtraGrid.GridControl
|
Friend WithEvents gridAssignedUsers As DevExpress.XtraGrid.GridControl
|
||||||
Friend WithEvents viewAssignedUsers As DevExpress.XtraGrid.Views.Grid.GridView
|
Friend WithEvents viewAssignedUsers As DevExpress.XtraGrid.Views.Grid.GridView
|
||||||
@@ -2688,4 +2771,12 @@ Partial Class frmAdministration
|
|||||||
Friend WithEvents BarButtonItem33 As DevExpress.XtraBars.BarButtonItem
|
Friend WithEvents BarButtonItem33 As DevExpress.XtraBars.BarButtonItem
|
||||||
Friend WithEvents Panel1 As Panel
|
Friend WithEvents Panel1 As Panel
|
||||||
Friend WithEvents SplitContainerControl4 As DevExpress.XtraEditors.SplitContainerControl
|
Friend WithEvents SplitContainerControl4 As DevExpress.XtraEditors.SplitContainerControl
|
||||||
|
Friend WithEvents Button3 As Button
|
||||||
|
Friend WithEvents lbManIndexDefaultValueParameter As ListBox
|
||||||
|
Friend WithEvents txtManIndexConnectionId As TextBox
|
||||||
|
Friend WithEvents txtManIndexSQL As TextBox
|
||||||
|
Friend WithEvents txtAutomIndexConnectionId As TextBox
|
||||||
|
Friend WithEvents txtAutomIndexSQLResult As TextBox
|
||||||
|
Friend WithEvents TextBox8 As TextBox
|
||||||
|
Friend WithEvents colAKTIV As DevExpress.XtraGrid.Columns.GridColumn
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ Public Class frmAdministration
|
|||||||
Private SourceAttributes As List(Of String)
|
Private SourceAttributes As List(Of String)
|
||||||
Private SourceObjectTypes As List(Of String)
|
Private SourceObjectTypes As List(Of String)
|
||||||
|
|
||||||
|
Private Current_ObjectType As String = ""
|
||||||
|
|
||||||
Private GroupToDelete As Integer = Nothing
|
Private GroupToDelete As Integer = Nothing
|
||||||
Private IsInsert As Boolean = False
|
Private IsInsert As Boolean = False
|
||||||
Dim frmloaded As Boolean = False
|
Dim frmloaded As Boolean = False
|
||||||
@@ -61,10 +63,15 @@ Public Class frmAdministration
|
|||||||
ComboBox3.DataSource = oDatatable
|
ComboBox3.DataSource = oDatatable
|
||||||
|
|
||||||
Try
|
Try
|
||||||
Me.TBDD_DOKUMENTARTTableAdapter.Fill(Me.MyDataset.TBDD_DOKUMENTART)
|
'Me.TBDD_DOKUMENTARTTableAdapter.Fill(Me.MyDataset.TBDD_DOKUMENTART)
|
||||||
|
Load_Dokart()
|
||||||
|
LOGGER.Debug("...Done Load_Dokart")
|
||||||
Me.TBDD_EINGANGSARTENTableAdapter.Fill(Me.MyDataset.TBDD_EINGANGSARTEN)
|
Me.TBDD_EINGANGSARTENTableAdapter.Fill(Me.MyDataset.TBDD_EINGANGSARTEN)
|
||||||
|
LOGGER.Debug("...Done TBDD_EINGANGSARTEN")
|
||||||
Me.TBDD_MODULESTableAdapter.Fill(Me.MyDataset.TBDD_MODULES)
|
Me.TBDD_MODULESTableAdapter.Fill(Me.MyDataset.TBDD_MODULES)
|
||||||
|
LOGGER.Debug("...Done TBDD_MODULES")
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
|
LOGGER.Error(ex)
|
||||||
MsgBox("Error in frmAdministration_Load: " & vbNewLine & ex.Message, MsgBoxStyle.Exclamation)
|
MsgBox("Error in frmAdministration_Load: " & vbNewLine & ex.Message, MsgBoxStyle.Exclamation)
|
||||||
End Try
|
End Try
|
||||||
If IDB_ACTIVE = False Then
|
If IDB_ACTIVE = False Then
|
||||||
@@ -99,7 +106,7 @@ Public Class frmAdministration
|
|||||||
Me.TBDD_DOKUMENTARTTableAdapter.FillByModuleGI(Me.MyDataset.TBDD_DOKUMENTART)
|
Me.TBDD_DOKUMENTARTTableAdapter.FillByModuleGI(Me.MyDataset.TBDD_DOKUMENTART)
|
||||||
|
|
||||||
If MyDataset.TBDD_DOKUMENTART.Rows.Count > 0 Then
|
If MyDataset.TBDD_DOKUMENTART.Rows.Count > 0 Then
|
||||||
GridView1.SelectRow(1)
|
GridViewProfile.SelectRow(1)
|
||||||
EnableControls(XtraTabPageProfiles)
|
EnableControls(XtraTabPageProfiles)
|
||||||
End If
|
End If
|
||||||
If Me.DOKART_GUIDTextBox.Text <> "" Then
|
If Me.DOKART_GUIDTextBox.Text <> "" Then
|
||||||
@@ -137,7 +144,7 @@ Public Class frmAdministration
|
|||||||
RibbonPageGroupAutoIndex.Enabled = True
|
RibbonPageGroupAutoIndex.Enabled = True
|
||||||
Case XtraTabPageFolderPath.Name
|
Case XtraTabPageFolderPath.Name
|
||||||
Try
|
Try
|
||||||
Dim Dt As DataTable = ClassDatabase.Return_Datatable("select NAME from VWDDINDICES_MAN_AUTO_ACTIVE where DOCTYPE_ID = " & DOKART_GUIDTextBox.Text & " order by NAME")
|
Dim Dt As DataTable = DATABASE_ECM.GetDatatable("select NAME from VWDDINDICES_MAN_AUTO_ACTIVE where DOCTYPE_ID = " & DOKART_GUIDTextBox.Text & " order by NAME")
|
||||||
cmbCrFolderIndex.DataSource = Dt
|
cmbCrFolderIndex.DataSource = Dt
|
||||||
cmbCrFolderIndex.DisplayMember = Dt.Columns(0).ColumnName
|
cmbCrFolderIndex.DisplayMember = Dt.Columns(0).ColumnName
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
@@ -203,10 +210,10 @@ Public Class frmAdministration
|
|||||||
|
|
||||||
If IsInsert = True Then
|
If IsInsert = True Then
|
||||||
Dim oNewID As Integer
|
Dim oNewID As Integer
|
||||||
oNewID = ClassDatabase.Execute_Scalar("SELECT MAX(GUID) FROM TBDD_DOKUMENTART", MyConnectionString)
|
oNewID = DATABASE_ECM.GetScalarValue("SELECT MAX(GUID) FROM TBDD_DOKUMENTART")
|
||||||
If IsNumeric(oNewID) Then
|
If IsNumeric(oNewID) Then
|
||||||
Dim osql = $" EXEC PRDD_CHECK_REL_DOCTYPE_MODULE 'GLOBIX', {oNewID}"
|
Dim osql = $"EXEC PRDD_CHECK_REL_DOCTYPE_MODULE 'GLOBIX', {oNewID}"
|
||||||
If ClassDatabase.Execute_non_Query(osql) = False Then
|
If DATABASE_ECM.ExecuteNonQuery(osql) = False Then
|
||||||
MsgBox("Fehler beim zuweisen des neuen Profils zum Modul Global-Indexer!", MsgBoxStyle.Critical, Text)
|
MsgBox("Fehler beim zuweisen des neuen Profils zum Modul Global-Indexer!", MsgBoxStyle.Critical, Text)
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
@@ -263,7 +270,7 @@ Public Class frmAdministration
|
|||||||
Save_Dokumentart()
|
Save_Dokumentart()
|
||||||
Try
|
Try
|
||||||
Dim sql = "SELECT COUNT(T.GUID) FROM TBDD_DOKUMENTART T, TBDD_DOKUMENTART_MODULE T1 WHERE T.AKTIV = 1 AND T.GUID = T1.DOKART_ID AND T1.MODULE_ID = 1"
|
Dim sql = "SELECT COUNT(T.GUID) FROM TBDD_DOKUMENTART T, TBDD_DOKUMENTART_MODULE T1 WHERE T.AKTIV = 1 AND T.GUID = T1.DOKART_ID AND T1.MODULE_ID = 1"
|
||||||
Dim DoctypeCount = ClassDatabase.Execute_Scalar(sql, MyConnectionString, True)
|
Dim DoctypeCount = DATABASE_ECM.GetScalarValue(sql)
|
||||||
If DoctypeCount = LICENSE_DOCTYPE_COUNT Then
|
If DoctypeCount = LICENSE_DOCTYPE_COUNT Then
|
||||||
If USER_LANGUAGE = "de-DE" Then
|
If USER_LANGUAGE = "de-DE" Then
|
||||||
MsgBox("Ihre Anzahl von konfigurierbaren Dokuemntarten ist limitiert auf: '" & LICENSE_DOCTYPE_COUNT.ToString & "'. Sie können nun keine Dokumentart hinzufügen!" & vbNewLine & "Bitte kontaktieren Sie Digital Data für weitere Details.", MsgBoxStyle.Information)
|
MsgBox("Ihre Anzahl von konfigurierbaren Dokuemntarten ist limitiert auf: '" & LICENSE_DOCTYPE_COUNT.ToString & "'. Sie können nun keine Dokumentart hinzufügen!" & vbNewLine & "Bitte kontaktieren Sie Digital Data für weitere Details.", MsgBoxStyle.Information)
|
||||||
@@ -293,13 +300,15 @@ Public Class frmAdministration
|
|||||||
End Sub
|
End Sub
|
||||||
Private Sub btnadd_Click(sender As Object, e As EventArgs)
|
Private Sub btnadd_Click(sender As Object, e As EventArgs)
|
||||||
Dim osql = $"EXEC PRDD_CHECK_REL_DOCTYPE_MODULE 'GLOBIX',{DOKART_GUIDTextBox.Text}"
|
Dim osql = $"EXEC PRDD_CHECK_REL_DOCTYPE_MODULE 'GLOBIX',{DOKART_GUIDTextBox.Text}"
|
||||||
ClassDatabase.Execute_non_Query(osql)
|
DATABASE_ECM.ExecuteNonQuery(osql)
|
||||||
LoadGlobix_Doctypes()
|
LoadGlobix_Doctypes()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub OBJEKTTYPComboBox_SelectedIndexChanged(sender As Object, e As EventArgs) Handles OBJEKTTYPComboBox.SelectedIndexChanged
|
Private Sub OBJEKTTYPComboBox_SelectedIndexChanged(sender As Object, e As EventArgs) Handles OBJEKTTYPComboBox.SelectedIndexChanged
|
||||||
If WINDREAM_DIRECTCheckBox.Checked = True Then
|
If WINDREAM_DIRECTCheckBox.Checked = True Then
|
||||||
load_WDIndices()
|
load_WDIndices()
|
||||||
|
|
||||||
|
Current_ObjectType = OBJEKTTYPComboBox.Text
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
Sub load_WDIndices()
|
Sub load_WDIndices()
|
||||||
@@ -309,14 +318,14 @@ Public Class frmAdministration
|
|||||||
Me.WD_INDEXComboBox.Items.Add("")
|
Me.WD_INDEXComboBox.Items.Add("")
|
||||||
Me.INDEXNAME_AutoIndexCMB.Items.Clear()
|
Me.INDEXNAME_AutoIndexCMB.Items.Clear()
|
||||||
|
|
||||||
If SourceAttributes Is Nothing Then
|
If SourceAttributes Is Nothing Or Current_ObjectType <> OBJEKTTYPComboBox.Text Then
|
||||||
SourceAttributes = WINDREAM.GetIndiciesByObjecttype(OBJEKTTYPComboBox.Text)
|
SourceAttributes = WINDREAM.GetIndiciesByObjecttype(OBJEKTTYPComboBox.Text)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If SourceAttributes IsNot Nothing Then
|
If SourceAttributes IsNot Nothing Then
|
||||||
For Each index As String In SourceAttributes
|
For Each oIndex As String In SourceAttributes
|
||||||
Me.WD_INDEXComboBox.Items.Add(index)
|
Me.WD_INDEXComboBox.Items.Add(oIndex)
|
||||||
INDEXNAME_AutoIndexCMB.Items.Add(index)
|
INDEXNAME_AutoIndexCMB.Items.Add(oIndex)
|
||||||
Next
|
Next
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
@@ -426,6 +435,34 @@ Public Class frmAdministration
|
|||||||
MsgBox(ex.Message, MsgBoxStyle.Exclamation, "Error in Save Man Index: ")
|
MsgBox(ex.Message, MsgBoxStyle.Exclamation, "Error in Save Man Index: ")
|
||||||
End Try
|
End Try
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
Sub Save_Regex()
|
||||||
|
If Not IsInsert Then
|
||||||
|
TextBox4.Text = Environment.UserName
|
||||||
|
End If
|
||||||
|
|
||||||
|
Try
|
||||||
|
Me.TBGI_REGEX_DOCTYPEBindingSource.EndEdit()
|
||||||
|
Catch ex As Exception
|
||||||
|
MsgBox("Error in Save Regex1: " & vbNewLine & ex.Message, MsgBoxStyle.Exclamation)
|
||||||
|
Exit Sub
|
||||||
|
End Try
|
||||||
|
|
||||||
|
If MyDataset.TBGI_REGEX_DOCTYPE.GetChanges Is Nothing = False Then
|
||||||
|
Try
|
||||||
|
Me.TBGI_REGEX_DOCTYPEBindingSource.EndEdit()
|
||||||
|
Catch ex As Exception
|
||||||
|
MsgBox("Error in Save Regex2: " & vbNewLine & ex.Message, MsgBoxStyle.Exclamation)
|
||||||
|
End Try
|
||||||
|
TBGI_REGEX_DOCTYPETableAdapter.Update(MyDataset.TBGI_REGEX_DOCTYPE)
|
||||||
|
SetStatus("Profilzuordnung gespeichert!")
|
||||||
|
Else
|
||||||
|
ClearStatus()
|
||||||
|
End If
|
||||||
|
|
||||||
|
IsInsert = False
|
||||||
|
End Sub
|
||||||
|
|
||||||
Sub Save_IndexAuto()
|
Sub Save_IndexAuto()
|
||||||
Try
|
Try
|
||||||
Me.TBDD_INDEX_AUTOMBindingSource.EndEdit()
|
Me.TBDD_INDEX_AUTOMBindingSource.EndEdit()
|
||||||
@@ -466,37 +503,42 @@ Public Class frmAdministration
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub btnSQLView_Click(sender As Object, e As EventArgs) Handles btnSQLView.Click
|
Private Sub btnSQLView_Click(sender As Object, e As EventArgs) Handles btnSQLView.Click
|
||||||
Save_IndexMan()
|
|
||||||
'CURRENT_INDEXMAN = GUIDTextBox1.Text
|
|
||||||
'frmSQLSuggestion.ShowDialog()
|
|
||||||
|
|
||||||
Dim oIndexGuid As Integer = GUIDTextBox1.Text
|
Dim oIndexGuid As Integer = GUIDTextBox1.Text
|
||||||
Dim oDocTypeGuid As Integer = DOKART_GUIDTextBox.Text
|
Dim oDocTypeGuid As Integer = DOKART_GUIDTextBox.Text
|
||||||
Dim oSQLCommand = ""
|
|
||||||
|
|
||||||
Try
|
Try
|
||||||
Dim oSQL = $"SELECT SQL_RESULT, CONNECTION_ID FROM TBDD_INDEX_MAN WHERE GUID = {oIndexGuid}"
|
|
||||||
Dim oDatatable As DataTable = ClassDatabase.Return_Datatable(oSQL)
|
|
||||||
Dim oRow = oDatatable.Rows.Item(0)
|
|
||||||
Dim oConnection As Integer = 1
|
Dim oConnection As Integer = 1
|
||||||
|
Dim oSQLCommand = ""
|
||||||
|
|
||||||
If Not IsDBNull(oRow.Item("CONNECTION_ID")) Then
|
If txtManIndexConnectionId.Text <> String.Empty Then
|
||||||
oConnection = oRow.Item("CONNECTION_ID")
|
oConnection = txtManIndexConnectionId.Text
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Dim oForm As New frmSQL_DESIGNER(oIndexGuid, oDocTypeGuid) With {
|
If txtManIndexSQL.Text <> String.Empty Then
|
||||||
.SQLCommand = oRow.Item("SQL_RESULT"),
|
oSQLCommand = txtManIndexSQL.Text
|
||||||
.ConnectionID = oConnection
|
End If
|
||||||
|
|
||||||
|
'Dim oForm As New frmSQL_DESIGNER(oIndexGuid, oDocTypeGuid) With {
|
||||||
|
' .SQLCommand = oSQLCommand,
|
||||||
|
' .ConnectionID = oConnection
|
||||||
|
'}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Dim oDatatable = DATABASE_ECM.GetDatatable($"SELECT * FROM TBDD_INDEX_MAN WHERE DOK_ID = {oDocTypeGuid} AND ACTIVE = 1")
|
||||||
|
Dim oPlaceholders = oDatatable.AsEnumerable().
|
||||||
|
ToDictionary(Of String, String)(Function(row) row.Item("NAME"), Function(row) row.Item("WD_INDEX"))
|
||||||
|
|
||||||
|
Dim oForm2 As New DigitalData.GUIs.Common.frmSQLEditor(LOGCONFIG, DATABASE_ECM) With {
|
||||||
|
.SQLCommand = oSQLCommand,
|
||||||
|
.SQLConnection = oConnection,
|
||||||
|
.PlaceholdersManual = oPlaceholders
|
||||||
}
|
}
|
||||||
|
|
||||||
If oForm.ShowDialog() = DialogResult.OK Then
|
Dim oResult = oForm2.ShowDialog()
|
||||||
|
If oResult = DialogResult.OK Then
|
||||||
oSQLCommand = oForm.SQLCommand.Replace("'", "''")
|
txtManIndexSQL.Text = oForm2.SQLCommand
|
||||||
Dim oConnectionId = oForm.SQLConnectionId
|
txtManIndexConnectionId.Text = oForm2.SQLConnection
|
||||||
|
|
||||||
oSQL = $"UPDATE TBDD_INDEX_MAN SET CONNECTION_ID = {oConnectionId},SQL_RESULT = '{oSQLCommand}',CHANGED_WHO = '{Environment.UserName}' WHERE GUID = {oIndexGuid}"
|
|
||||||
ClassDatabase.Execute_non_Query(oSQL, True)
|
|
||||||
|
|
||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LOGGER.Error(ex)
|
LOGGER.Error(ex)
|
||||||
@@ -586,39 +628,47 @@ Public Class frmAdministration
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub btnSQLViewAuto_Click(sender As Object, e As EventArgs) Handles btnSQLViewAuto.Click
|
Private Sub btnSQLViewAuto_Click(sender As Object, e As EventArgs) Handles btnSQLViewAuto.Click
|
||||||
Save_IndexAuto()
|
|
||||||
CURRENT_DOKART_ID = DOKART_GUIDTextBox.Text
|
|
||||||
CURRENT_INDEXAUTO = GUIDAUTO_INDEXTextbox.Text
|
|
||||||
CURRENT_SQL_CONFIG = "AUTO"
|
|
||||||
'SQLConfigAutoIndex.ShowDialog()
|
|
||||||
|
|
||||||
Dim oIndexGuid As Integer = GUIDAUTO_INDEXTextbox.Text
|
Dim oIndexGuid As Integer = GUIDAUTO_INDEXTextbox.Text
|
||||||
Dim oDocTypeGuid As Integer = DOKART_GUIDTextBox.Text
|
Dim oDocTypeGuid As Integer = DOKART_GUIDTextBox.Text
|
||||||
Dim oSQLCommand = ""
|
|
||||||
|
|
||||||
Try
|
Try
|
||||||
Dim oSQL = $"SELECT SQL_RESULT, CONNECTION_ID FROM TBDD_INDEX_AUTOM WHERE GUID = {oIndexGuid}"
|
|
||||||
Dim oDatatable As DataTable = ClassDatabase.Return_Datatable(oSQL)
|
|
||||||
Dim oRow = oDatatable.Rows.Item(0)
|
|
||||||
Dim oConnection As Integer = 1
|
Dim oConnection As Integer = 1
|
||||||
|
Dim oSQLCommand = ""
|
||||||
|
|
||||||
If Not IsDBNull(oRow.Item("CONNECTION_ID")) Then
|
If txtAutomIndexConnectionId.Text <> String.Empty Then
|
||||||
oConnection = oRow.Item("CONNECTION_ID")
|
oConnection = txtAutomIndexConnectionId.Text
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Dim oForm As New frmSQL_DESIGNER(oIndexGuid, oDocTypeGuid) With {
|
If txtAutomIndexSQLResult.Text <> String.Empty Then
|
||||||
.SQLCommand = oRow.Item("SQL_RESULT"),
|
oSQLCommand = txtAutomIndexSQLResult.Text
|
||||||
.ConnectionID = oConnection
|
End If
|
||||||
|
|
||||||
|
'Dim oForm As New frmSQL_DESIGNER(oIndexGuid, oDocTypeGuid) With {
|
||||||
|
' .SQLCommand = oSQLCommand,
|
||||||
|
' .ConnectionID = oConnection
|
||||||
|
'}
|
||||||
|
|
||||||
|
'If oForm.ShowDialog() = DialogResult.OK Then
|
||||||
|
' txtAutomIndexSQLResult.Text = oForm.SQLCommand
|
||||||
|
' txtAutomIndexConnectionId.Text = oForm.SQLConnectionId
|
||||||
|
'End If
|
||||||
|
|
||||||
|
Dim oDatatable = DATABASE_ECM.GetDatatable($"SELECT * FROM TBDD_INDEX_MAN WHERE DOK_ID = {oDocTypeGuid} AND ACTIVE = 1")
|
||||||
|
Dim oPlaceholders = oDatatable.AsEnumerable().
|
||||||
|
ToDictionary(Of String, String)(Function(row) row.Item("NAME"), Function(row) row.Item("NAME"))
|
||||||
|
|
||||||
|
Dim oForm2 As New DigitalData.GUIs.Common.frmSQLEditor(LOGCONFIG, DATABASE_ECM) With {
|
||||||
|
.SQLCommand = oSQLCommand,
|
||||||
|
.SQLConnection = oConnection,
|
||||||
|
.PlaceholdersManual = oPlaceholders,
|
||||||
|
.PlaceholdersManualTitle = "Manueller Index",
|
||||||
|
.PlaceholdersManualPrefix = "CTRL"
|
||||||
}
|
}
|
||||||
|
|
||||||
If oForm.ShowDialog() = DialogResult.OK Then
|
Dim oResult = oForm2.ShowDialog()
|
||||||
|
If oResult = DialogResult.OK Then
|
||||||
oSQLCommand = oForm.SQLCommand.Replace("'", "''")
|
txtAutomIndexSQLResult.Text = oForm2.SQLCommand
|
||||||
Dim oConnectionId = oForm.SQLConnectionId
|
txtAutomIndexConnectionId.Text = oForm2.SQLConnection
|
||||||
|
|
||||||
oSQL = $"UPDATE TBDD_INDEX_AUTOM SET CONNECTION_ID = {oConnectionId},SQL_RESULT = '{oSQLCommand}',CHANGED_WHO = '{Environment.UserName}' WHERE GUID = {oIndexGuid}"
|
|
||||||
ClassDatabase.Execute_non_Query(oSQL, True)
|
|
||||||
|
|
||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LOGGER.Error(ex)
|
LOGGER.Error(ex)
|
||||||
@@ -738,7 +788,9 @@ Public Class frmAdministration
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Sub LoadGlobix_Doctypes()
|
Sub LoadGlobix_Doctypes()
|
||||||
|
Dim oFocusedRow = GridViewProfile.FocusedRowHandle
|
||||||
Load_Dokart()
|
Load_Dokart()
|
||||||
|
GridViewProfile.FocusedRowHandle = oFocusedRow
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub btncrFolder_delete_Click(sender As Object, e As EventArgs) Handles btncrFolder_delete.Click
|
Private Sub btncrFolder_delete_Click(sender As Object, e As EventArgs) Handles btncrFolder_delete.Click
|
||||||
@@ -805,25 +857,6 @@ Public Class frmAdministration
|
|||||||
Case 7 : value = "$Usercode"
|
Case 7 : value = "$Usercode"
|
||||||
End Select
|
End Select
|
||||||
|
|
||||||
'Select Case lbFileparameter.SelectedItem.ToString.ToUpper
|
|
||||||
' Case "Dateiname (mit Endung)".ToUpper
|
|
||||||
' value = "$filename_ext"
|
|
||||||
' Case "Dateiname (ohne Endung)".ToUpper
|
|
||||||
' value = "$filename"
|
|
||||||
' Case "Dateiendung".ToUpper
|
|
||||||
' value = "$extension"
|
|
||||||
' Case "Datei Erstelldatum".ToUpper
|
|
||||||
' value = "$FileCreateDate"
|
|
||||||
' Case "Datei Erstellt wer".ToUpper
|
|
||||||
' value = "$FileCreatedWho"
|
|
||||||
' Case "Aktuelles Datum (DD.MM.YYYY)".ToUpper
|
|
||||||
' value = "$DateDDMMYYY"
|
|
||||||
' Case "Username"
|
|
||||||
' value = "$Username"
|
|
||||||
' Case "Usercode"
|
|
||||||
' value = "$Usercode"
|
|
||||||
'End Select
|
|
||||||
|
|
||||||
If value <> "" Then
|
If value <> "" Then
|
||||||
VALUETextBox.Text = value
|
VALUETextBox.Text = value
|
||||||
Save_IndexAuto()
|
Save_IndexAuto()
|
||||||
@@ -846,9 +879,9 @@ Public Class frmAdministration
|
|||||||
If GUIDTextBox1.Text <> "" Then
|
If GUIDTextBox1.Text <> "" Then
|
||||||
Try
|
Try
|
||||||
Dim del = "DELETE FROM TBDD_INDEX_MAN_POSTPROCESSING WHERE IDXMAN_ID = " & GUIDTextBox1.Text
|
Dim del = "DELETE FROM TBDD_INDEX_MAN_POSTPROCESSING WHERE IDXMAN_ID = " & GUIDTextBox1.Text
|
||||||
If ClassDatabase.Execute_non_Query(del) = True Then
|
If DATABASE_ECM.ExecuteNonQuery(del) = True Then
|
||||||
del = "DELETE FROM TBDD_INDEX_MAN WHERE GUID = " & GUIDTextBox1.Text
|
del = "DELETE FROM TBDD_INDEX_MAN WHERE GUID = " & GUIDTextBox1.Text
|
||||||
If ClassDatabase.Execute_non_Query(del) = True Then
|
If DATABASE_ECM.ExecuteNonQuery(del) = True Then
|
||||||
Load_INDEXMAN(Me.DOKART_GUIDTextBox.Text)
|
Load_INDEXMAN(Me.DOKART_GUIDTextBox.Text)
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
@@ -959,7 +992,7 @@ Public Class frmAdministration
|
|||||||
If result = MsgBoxResult.Yes Then
|
If result = MsgBoxResult.Yes Then
|
||||||
Try
|
Try
|
||||||
Dim del As String = " EXEC PRDD_GLOBIX_DELETE_DOCTYPE " & DOKART_GUIDTextBox.Text
|
Dim del As String = " EXEC PRDD_GLOBIX_DELETE_DOCTYPE " & DOKART_GUIDTextBox.Text
|
||||||
If ClassDatabase.Execute_non_Query(del, True) = True Then
|
If DATABASE_ECM.ExecuteNonQuery(del) = True Then
|
||||||
Load_Dokart()
|
Load_Dokart()
|
||||||
TBDD_DOKUMENTARTBindingSource.ResetBindings(True)
|
TBDD_DOKUMENTARTBindingSource.ResetBindings(True)
|
||||||
|
|
||||||
@@ -986,9 +1019,9 @@ Public Class frmAdministration
|
|||||||
|
|
||||||
If result = MsgBoxResult.Yes Then
|
If result = MsgBoxResult.Yes Then
|
||||||
Try
|
Try
|
||||||
Dim oGlobixId = ClassDatabase.Execute_Scalar("SELECT GUID FROM TBDD_MODULES WHERE SHORT_NAME = 'GLOBIX'", MyConnectionString)
|
Dim oGlobixId = DATABASE_ECM.GetScalarValue("SELECT GUID FROM TBDD_MODULES WHERE SHORT_NAME = 'GLOBIX'")
|
||||||
Dim copy = "exec PRDD_COPY_DOKPROFILE " & DOKART_GUIDTextBox.Text & ", " & oGlobixId
|
Dim copy = "exec PRDD_COPY_DOKPROFILE " & DOKART_GUIDTextBox.Text & ", " & oGlobixId
|
||||||
If ClassDatabase.Execute_non_Query(copy, True) Then
|
If DATABASE_ECM.ExecuteNonQuery(copy) Then
|
||||||
|
|
||||||
If USER_LANGUAGE = "de-DE" Then
|
If USER_LANGUAGE = "de-DE" Then
|
||||||
MsgBox("Das Profil wurde erfolgreich kopiert und auf INAKTIV gesetzt." & vbNewLine & "Bitte beachten Sie:" & vbNewLine & "- Das Profil wurde keiner Usergruppe zugeordnet.", MsgBoxStyle.Information)
|
MsgBox("Das Profil wurde erfolgreich kopiert und auf INAKTIV gesetzt." & vbNewLine & "Bitte beachten Sie:" & vbNewLine & "- Das Profil wurde keiner Usergruppe zugeordnet.", MsgBoxStyle.Information)
|
||||||
@@ -1041,7 +1074,7 @@ Public Class frmAdministration
|
|||||||
Private Sub ToolStripButton9_Click(sender As Object, e As EventArgs)
|
Private Sub ToolStripButton9_Click(sender As Object, e As EventArgs)
|
||||||
Try
|
Try
|
||||||
Dim oSQL = $"DELETE FROM TBGI_REGEX_DOCTYPE WHERE GUID = {TextBox3.Text}"
|
Dim oSQL = $"DELETE FROM TBGI_REGEX_DOCTYPE WHERE GUID = {TextBox3.Text}"
|
||||||
If ClassDatabase.Execute_non_Query(oSQL, True) = True Then
|
If DATABASE_ECM.ExecuteNonQuery(oSQL) = True Then
|
||||||
Me.TBGI_REGEX_DOCTYPETableAdapter.Fill(Me.MyDataset.TBGI_REGEX_DOCTYPE, DOKART_GUIDTextBox.Text)
|
Me.TBGI_REGEX_DOCTYPETableAdapter.Fill(Me.MyDataset.TBGI_REGEX_DOCTYPE, DOKART_GUIDTextBox.Text)
|
||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
@@ -1054,36 +1087,13 @@ Public Class frmAdministration
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub BarButtonItem13_ItemClick_1(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem13.ItemClick
|
Private Sub BarButtonItem13_ItemClick_1(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem13.ItemClick
|
||||||
If Not IsInsert Then
|
Save_Regex()
|
||||||
TextBox4.Text = Environment.UserName
|
|
||||||
End If
|
|
||||||
|
|
||||||
Try
|
|
||||||
Me.TBGI_REGEX_DOCTYPEBindingSource.EndEdit()
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Error in Save Regex1: " & vbNewLine & ex.Message, MsgBoxStyle.Exclamation)
|
|
||||||
Exit Sub
|
|
||||||
End Try
|
|
||||||
|
|
||||||
If MyDataset.TBGI_REGEX_DOCTYPE.GetChanges Is Nothing = False Then
|
|
||||||
Try
|
|
||||||
Me.TBGI_REGEX_DOCTYPEBindingSource.EndEdit()
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Error in Save Regex2: " & vbNewLine & ex.Message, MsgBoxStyle.Exclamation)
|
|
||||||
End Try
|
|
||||||
TBGI_REGEX_DOCTYPETableAdapter.Update(MyDataset.TBGI_REGEX_DOCTYPE)
|
|
||||||
SetStatus("Profilzuordnung gespeichert!")
|
|
||||||
Else
|
|
||||||
ClearStatus()
|
|
||||||
End If
|
|
||||||
|
|
||||||
IsInsert = False
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub BarButtonItem14_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem14.ItemClick
|
Private Sub BarButtonItem14_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem14.ItemClick
|
||||||
Try
|
Try
|
||||||
Dim oSQL = $"DELETE FROM TBGI_REGEX_DOCTYPE WHERE DOCTYPE_ID = {DOKART_GUIDTextBox.Text}"
|
Dim oSQL = $"DELETE FROM TBGI_REGEX_DOCTYPE WHERE DOCTYPE_ID = {DOKART_GUIDTextBox.Text}"
|
||||||
ClassDatabase.Execute_non_Query(oSQL)
|
DATABASE_ECM.ExecuteNonQuery(oSQL)
|
||||||
TBGI_REGEX_DOCTYPETableAdapter.Fill(MyDataset.TBGI_REGEX_DOCTYPE, DOKART_GUIDTextBox.Text)
|
TBGI_REGEX_DOCTYPETableAdapter.Fill(MyDataset.TBGI_REGEX_DOCTYPE, DOKART_GUIDTextBox.Text)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LOGGER.Error(ex)
|
LOGGER.Error(ex)
|
||||||
@@ -1092,11 +1102,15 @@ Public Class frmAdministration
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub BarButtonItem16_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem16.ItemClick
|
Private Sub BarButtonItem16_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem16.ItemClick
|
||||||
TBDD_INDEX_MANBindingSource.AddNew()
|
Try
|
||||||
|
TBDD_INDEX_MANBindingSource.AddNew()
|
||||||
|
|
||||||
If WINDREAM_DIRECTCheckBox.Checked = True Then
|
If WINDREAM_DIRECTCheckBox.Checked = True Then
|
||||||
load_WDIndices()
|
load_WDIndices()
|
||||||
End If
|
End If
|
||||||
|
Catch ex As Exception
|
||||||
|
LOGGER.Error(ex)
|
||||||
|
End Try
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub BarButtonItem17_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem17.ItemClick
|
Private Sub BarButtonItem17_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem17.ItemClick
|
||||||
@@ -1116,9 +1130,9 @@ Public Class frmAdministration
|
|||||||
If GUIDTextBox1.Text <> "" Then
|
If GUIDTextBox1.Text <> "" Then
|
||||||
Try
|
Try
|
||||||
Dim del = "DELETE FROM TBDD_INDEX_MAN_POSTPROCESSING WHERE IDXMAN_ID = " & GUIDTextBox1.Text
|
Dim del = "DELETE FROM TBDD_INDEX_MAN_POSTPROCESSING WHERE IDXMAN_ID = " & GUIDTextBox1.Text
|
||||||
If ClassDatabase.Execute_non_Query(del) = True Then
|
If DATABASE_ECM.ExecuteNonQuery(del) = True Then
|
||||||
del = "DELETE FROM TBDD_INDEX_MAN WHERE GUID = " & GUIDTextBox1.Text
|
del = "DELETE FROM TBDD_INDEX_MAN WHERE GUID = " & GUIDTextBox1.Text
|
||||||
If ClassDatabase.Execute_non_Query(del) = True Then
|
If DATABASE_ECM.ExecuteNonQuery(del) = True Then
|
||||||
Load_INDEXMAN(Me.DOKART_GUIDTextBox.Text)
|
Load_INDEXMAN(Me.DOKART_GUIDTextBox.Text)
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
@@ -1131,12 +1145,18 @@ Public Class frmAdministration
|
|||||||
|
|
||||||
Private Sub BarButtonItem18_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem18.ItemClick
|
Private Sub BarButtonItem18_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem18.ItemClick
|
||||||
If DOKART_GUIDTextBox.Text <> String.Empty Then
|
If DOKART_GUIDTextBox.Text <> String.Empty Then
|
||||||
|
Dim oSelectedIndex = ListBoxControl3.SelectedIndex
|
||||||
Load_INDEXMAN(DOKART_GUIDTextBox.Text)
|
Load_INDEXMAN(DOKART_GUIDTextBox.Text)
|
||||||
|
ListBoxControl3.SelectedIndex = oSelectedIndex
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub BarButtonItem20_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem20.ItemClick
|
Private Sub BarButtonItem20_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem20.ItemClick
|
||||||
TBDD_INDEX_MAN_POSTPROCESSINGBindingSource.AddNew()
|
Try
|
||||||
|
TBDD_INDEX_MAN_POSTPROCESSINGBindingSource.AddNew()
|
||||||
|
Catch ex As Exception
|
||||||
|
LOGGER.Error(ex)
|
||||||
|
End Try
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub BarButtonItem21_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem21.ItemClick
|
Private Sub BarButtonItem21_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem21.ItemClick
|
||||||
@@ -1156,7 +1176,7 @@ Public Class frmAdministration
|
|||||||
If GUIDTextBox1.Text <> "" Then
|
If GUIDTextBox1.Text <> "" Then
|
||||||
Try
|
Try
|
||||||
Dim del = "DELETE FROM TBDD_INDEX_MAN_POSTPROCESSING WHERE GUID = " & GUIDTextBox4.Text
|
Dim del = "DELETE FROM TBDD_INDEX_MAN_POSTPROCESSING WHERE GUID = " & GUIDTextBox4.Text
|
||||||
If ClassDatabase.Execute_non_Query(del) = True Then
|
If DATABASE_ECM.ExecuteNonQuery(del) = True Then
|
||||||
Load_PostProcessing(Me.DOKART_GUIDTextBox.Text)
|
Load_PostProcessing(Me.DOKART_GUIDTextBox.Text)
|
||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
@@ -1167,15 +1187,21 @@ Public Class frmAdministration
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub BarButtonItem22_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem22.ItemClick
|
Private Sub BarButtonItem22_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem22.ItemClick
|
||||||
|
Dim oSelectedIndex = ListBox1.SelectedIndex
|
||||||
Load_PostProcessing(Me.DOKART_GUIDTextBox.Text)
|
Load_PostProcessing(Me.DOKART_GUIDTextBox.Text)
|
||||||
|
ListBox1.SelectedIndex = oSelectedIndex
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub BarButtonItem24_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem24.ItemClick
|
Private Sub BarButtonItem24_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem24.ItemClick
|
||||||
TBDD_INDEX_AUTOMBindingSource.AddNew()
|
Try
|
||||||
|
TBDD_INDEX_AUTOMBindingSource.AddNew()
|
||||||
|
|
||||||
If WINDREAM_DIRECTCheckBox.Checked = True Then
|
If WINDREAM_DIRECTCheckBox.Checked = True Then
|
||||||
load_WDIndices()
|
load_WDIndices()
|
||||||
End If
|
End If
|
||||||
|
Catch ex As Exception
|
||||||
|
LOGGER.Error(ex)
|
||||||
|
End Try
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub ToolStripButton17_Click(sender As Object, e As EventArgs)
|
Private Sub ToolStripButton17_Click(sender As Object, e As EventArgs)
|
||||||
@@ -1194,7 +1220,7 @@ Public Class frmAdministration
|
|||||||
If result = MsgBoxResult.Yes Then
|
If result = MsgBoxResult.Yes Then
|
||||||
Try
|
Try
|
||||||
Dim oSQL = $"DELETE FROM TBDD_INDEX_AUTOM WHERE GUID = {GUIDAUTO_INDEXTextbox.Text}"
|
Dim oSQL = $"DELETE FROM TBDD_INDEX_AUTOM WHERE GUID = {GUIDAUTO_INDEXTextbox.Text}"
|
||||||
ClassDatabase.Execute_non_Query(oSQL)
|
DATABASE_ECM.ExecuteNonQuery(oSQL)
|
||||||
Load_INDEXE_AUTO(Me.DOKART_GUIDTextBox.Text)
|
Load_INDEXE_AUTO(Me.DOKART_GUIDTextBox.Text)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LOGGER.Error(ex)
|
LOGGER.Error(ex)
|
||||||
@@ -1204,7 +1230,9 @@ Public Class frmAdministration
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub BarButtonItem26_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem26.ItemClick
|
Private Sub BarButtonItem26_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem26.ItemClick
|
||||||
|
Dim oSelectedIndex = ListBoxControl4.SelectedIndex
|
||||||
Load_INDEXE_AUTO(Me.DOKART_GUIDTextBox.Text)
|
Load_INDEXE_AUTO(Me.DOKART_GUIDTextBox.Text)
|
||||||
|
ListBoxControl4.SelectedIndex = oSelectedIndex
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub BarButtonItem25_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem25.ItemClick
|
Private Sub BarButtonItem25_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem25.ItemClick
|
||||||
@@ -1251,17 +1279,19 @@ Public Class frmAdministration
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub BarButtonItem28_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem28.ItemClick
|
Private Sub BarButtonItem28_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem28.ItemClick
|
||||||
TBGI_REGEX_DOCTYPEBindingSource.AddNew()
|
Try
|
||||||
|
TBGI_REGEX_DOCTYPEBindingSource.AddNew()
|
||||||
|
EnableControls(XtraTabPageProfileRegex)
|
||||||
EnableControls(XtraTabPageProfileRegex)
|
Catch ex As Exception
|
||||||
|
LOGGER.Error(ex)
|
||||||
|
End Try
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub GridView1_ValidateRow(sender As Object, e As ValidateRowEventArgs) Handles GridView1.ValidateRow
|
Private Sub GridView1_ValidateRow(sender As Object, e As ValidateRowEventArgs) Handles GridViewProfile.ValidateRow
|
||||||
e.Valid = True
|
e.Valid = True
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub GridView1_InvalidRowException(sender As Object, e As InvalidRowExceptionEventArgs) Handles GridView1.InvalidRowException
|
Private Sub GridView1_InvalidRowException(sender As Object, e As InvalidRowExceptionEventArgs) Handles GridViewProfile.InvalidRowException
|
||||||
e.ExceptionMode = DevExpress.XtraEditors.Controls.ExceptionMode.NoAction
|
e.ExceptionMode = DevExpress.XtraEditors.Controls.ExceptionMode.NoAction
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -1318,4 +1348,109 @@ Public Class frmAdministration
|
|||||||
Private Sub BarButtonItem29_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem29.ItemClick
|
Private Sub BarButtonItem29_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem29.ItemClick
|
||||||
frmEmailIndexing.ShowDialog()
|
frmEmailIndexing.ShowDialog()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
|
||||||
|
If lbManIndexDefaultValueParameter.SelectedIndex >= 0 Then
|
||||||
|
Dim oValue As String = String.Empty
|
||||||
|
|
||||||
|
Select Case lbManIndexDefaultValueParameter.SelectedIndex
|
||||||
|
Case 0 : oValue = "$filename_ext"
|
||||||
|
Case 1 : oValue = "$filename"
|
||||||
|
Case 2 : oValue = "$extension"
|
||||||
|
Case 3 : oValue = "$FileCreateDate"
|
||||||
|
Case 4 : oValue = "$FileCreatedWho"
|
||||||
|
Case 5 : oValue = "$DateDDMMYYY"
|
||||||
|
Case 6 : oValue = "$Username"
|
||||||
|
Case 7 : oValue = "$Usercode"
|
||||||
|
Case 8 : oValue = "$Null"
|
||||||
|
End Select
|
||||||
|
|
||||||
|
DEFAULT_VALUETextBox.Text = oValue
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub GridView1_BeforeLeaveRow(sender As Object, e As RowAllowEventArgs) Handles GridViewProfile.BeforeLeaveRow
|
||||||
|
Dim oRowView As DataRowView = GridViewProfile.GetRow(e.RowHandle)
|
||||||
|
Dim oProfileName As String = oRowView?.Row.Item("BEZEICHNUNG")
|
||||||
|
|
||||||
|
If oRowView Is Nothing Then
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
|
||||||
|
Check_HasChanges(oProfileName)
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Function Check_HasChanges(ProfileName As String) As Boolean
|
||||||
|
TBDD_DOKUMENTARTBindingSource.EndEdit()
|
||||||
|
If MyDataset.TBDD_DOKUMENTART.GetChanges IsNot Nothing Then
|
||||||
|
If Ask_SaveChanges("Dokumentarten", ProfileName) Then
|
||||||
|
Save_Dokumentart()
|
||||||
|
Return True
|
||||||
|
Else
|
||||||
|
MyDataset.TBDD_DOKUMENTART.RejectChanges()
|
||||||
|
Return False
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
TBDD_INDEX_MANBindingSource.EndEdit()
|
||||||
|
If MyDataset.TBDD_INDEX_MAN.GetChanges IsNot Nothing Then
|
||||||
|
If Ask_SaveChanges("Manuelle Indexe", ProfileName) Then
|
||||||
|
Save_IndexMan()
|
||||||
|
Return True
|
||||||
|
Else
|
||||||
|
MyDataset.TBDD_INDEX_MAN.RejectChanges()
|
||||||
|
Return False
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
TBDD_INDEX_AUTOMBindingSource.EndEdit()
|
||||||
|
If MyDataset.TBDD_INDEX_AUTOM.GetChanges() IsNot Nothing Then
|
||||||
|
If Ask_SaveChanges("Automatische Indexe", ProfileName) Then
|
||||||
|
Save_IndexAuto()
|
||||||
|
Return True
|
||||||
|
Else
|
||||||
|
MyDataset.TBDD_INDEX_AUTOM.RejectChanges()
|
||||||
|
Return False
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
TBDD_INDEX_MAN_POSTPROCESSINGBindingSource.EndEdit()
|
||||||
|
If MyDataset.TBDD_INDEX_MAN_POSTPROCESSING.GetChanges() IsNot Nothing Then
|
||||||
|
If Ask_SaveChanges("Nachbearbeitung", ProfileName) Then
|
||||||
|
Save_PostProcessing()
|
||||||
|
Return True
|
||||||
|
Else
|
||||||
|
MyDataset.TBDD_INDEX_AUTOM.RejectChanges()
|
||||||
|
Return False
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
TBGI_REGEX_DOCTYPEBindingSource.EndEdit()
|
||||||
|
If MyDataset.TBGI_REGEX_DOCTYPE.GetChanges() IsNot Nothing Then
|
||||||
|
If Ask_SaveChanges("Automatische Profilauswahl", ProfileName) Then
|
||||||
|
Save_Regex()
|
||||||
|
Return True
|
||||||
|
Else
|
||||||
|
MyDataset.TBGI_REGEX_DOCTYPE.RejectChanges()
|
||||||
|
Return False
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
Return True
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Private Function Ask_SaveChanges(Entity As String, ProfileName As String) As Boolean
|
||||||
|
Dim oMessage = $"Sie haben im Profil '{ProfileName}' ungespeicherte Änderungen im Bereich '{Entity}'. Wollen Sie die Änderungen speichern?"
|
||||||
|
Dim oResult = MsgBox(oMessage, MsgBoxStyle.Question Or MsgBoxStyle.YesNo, Text)
|
||||||
|
|
||||||
|
If oResult = MsgBoxResult.Yes Then
|
||||||
|
Return True
|
||||||
|
Else
|
||||||
|
Return False
|
||||||
|
End If
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Private Sub frmAdministration_FormClosing(sender As Object, e As FormClosingEventArgs) Handles Me.FormClosing
|
||||||
|
Check_HasChanges(BEZEICHNUNGTextBox.Text)
|
||||||
|
End Sub
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
10
Global_Indexer/frmConfig_Basic.designer.vb
generated
@@ -46,7 +46,6 @@ Partial Class frmConfig_Basic
|
|||||||
Me.CheckBoxPreviewDocs = New System.Windows.Forms.CheckBox()
|
Me.CheckBoxPreviewDocs = New System.Windows.Forms.CheckBox()
|
||||||
Me.CheckBoxIndexResult = New System.Windows.Forms.CheckBox()
|
Me.CheckBoxIndexResult = New System.Windows.Forms.CheckBox()
|
||||||
Me.chkLogErrorsOnly = New System.Windows.Forms.CheckBox()
|
Me.chkLogErrorsOnly = New System.Windows.Forms.CheckBox()
|
||||||
Me.btnLogMail = New System.Windows.Forms.Button()
|
|
||||||
Me.btnApplicationFolder = New System.Windows.Forms.Button()
|
Me.btnApplicationFolder = New System.Windows.Forms.Button()
|
||||||
Me.btnopenlog = New System.Windows.Forms.Button()
|
Me.btnopenlog = New System.Windows.Forms.Button()
|
||||||
Me.TabPage3 = New System.Windows.Forms.TabPage()
|
Me.TabPage3 = New System.Windows.Forms.TabPage()
|
||||||
@@ -177,7 +176,6 @@ Partial Class frmConfig_Basic
|
|||||||
Me.TabPage2.Controls.Add(Me.CheckBoxPreviewDocs)
|
Me.TabPage2.Controls.Add(Me.CheckBoxPreviewDocs)
|
||||||
Me.TabPage2.Controls.Add(Me.CheckBoxIndexResult)
|
Me.TabPage2.Controls.Add(Me.CheckBoxIndexResult)
|
||||||
Me.TabPage2.Controls.Add(Me.chkLogErrorsOnly)
|
Me.TabPage2.Controls.Add(Me.chkLogErrorsOnly)
|
||||||
Me.TabPage2.Controls.Add(Me.btnLogMail)
|
|
||||||
Me.TabPage2.Controls.Add(Me.btnApplicationFolder)
|
Me.TabPage2.Controls.Add(Me.btnApplicationFolder)
|
||||||
Me.TabPage2.Controls.Add(Me.btnopenlog)
|
Me.TabPage2.Controls.Add(Me.btnopenlog)
|
||||||
resources.ApplyResources(Me.TabPage2, "TabPage2")
|
resources.ApplyResources(Me.TabPage2, "TabPage2")
|
||||||
@@ -228,13 +226,6 @@ Partial Class frmConfig_Basic
|
|||||||
Me.chkLogErrorsOnly.Name = "chkLogErrorsOnly"
|
Me.chkLogErrorsOnly.Name = "chkLogErrorsOnly"
|
||||||
Me.chkLogErrorsOnly.UseVisualStyleBackColor = True
|
Me.chkLogErrorsOnly.UseVisualStyleBackColor = True
|
||||||
'
|
'
|
||||||
'btnLogMail
|
|
||||||
'
|
|
||||||
Me.btnLogMail.Image = Global.Global_Indexer.My.Resources.Resources.email
|
|
||||||
resources.ApplyResources(Me.btnLogMail, "btnLogMail")
|
|
||||||
Me.btnLogMail.Name = "btnLogMail"
|
|
||||||
Me.btnLogMail.UseVisualStyleBackColor = True
|
|
||||||
'
|
|
||||||
'btnApplicationFolder
|
'btnApplicationFolder
|
||||||
'
|
'
|
||||||
Me.btnApplicationFolder.Image = Global.Global_Indexer.My.Resources.Resources.folder_go
|
Me.btnApplicationFolder.Image = Global.Global_Indexer.My.Resources.Resources.folder_go
|
||||||
@@ -406,7 +397,6 @@ Partial Class frmConfig_Basic
|
|||||||
Friend WithEvents DataGridView1 As System.Windows.Forms.DataGridView
|
Friend WithEvents DataGridView1 As System.Windows.Forms.DataGridView
|
||||||
Friend WithEvents btnSaveExclusionFiles As System.Windows.Forms.Button
|
Friend WithEvents btnSaveExclusionFiles As System.Windows.Forms.Button
|
||||||
Friend WithEvents Label8 As System.Windows.Forms.Label
|
Friend WithEvents Label8 As System.Windows.Forms.Label
|
||||||
Friend WithEvents btnLogMail As System.Windows.Forms.Button
|
|
||||||
Friend WithEvents cmbLanguage As System.Windows.Forms.ComboBox
|
Friend WithEvents cmbLanguage As System.Windows.Forms.ComboBox
|
||||||
Friend WithEvents Label9 As System.Windows.Forms.Label
|
Friend WithEvents Label9 As System.Windows.Forms.Label
|
||||||
Friend WithEvents Button3 As System.Windows.Forms.Button
|
Friend WithEvents Button3 As System.Windows.Forms.Button
|
||||||
|
|||||||
@@ -310,7 +310,7 @@
|
|||||||
<value>8, 131</value>
|
<value>8, 131</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="txtActualConnection.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="txtActualConnection.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>370, 22</value>
|
<value>500, 22</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="txtActualConnection.TabIndex" type="System.Int32, mscorlib">
|
<data name="txtActualConnection.TabIndex" type="System.Int32, mscorlib">
|
||||||
<value>45</value>
|
<value>45</value>
|
||||||
@@ -451,7 +451,7 @@
|
|||||||
<value>True</value>
|
<value>True</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="LinkLabel1.Location" type="System.Drawing.Point, System.Drawing">
|
<data name="LinkLabel1.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>224, 178</value>
|
<value>8, 166</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="LinkLabel1.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="LinkLabel1.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>153, 13</value>
|
<value>153, 13</value>
|
||||||
@@ -556,7 +556,7 @@
|
|||||||
<value>True</value>
|
<value>True</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="CheckBoxPreviewDocs.Location" type="System.Drawing.Point, System.Drawing">
|
<data name="CheckBoxPreviewDocs.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>11, 11</value>
|
<value>11, 17</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="CheckBoxPreviewDocs.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="CheckBoxPreviewDocs.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>220, 17</value>
|
<value>220, 17</value>
|
||||||
@@ -586,14 +586,14 @@
|
|||||||
<value>242, 44</value>
|
<value>242, 44</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="CheckBoxIndexResult.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="CheckBoxIndexResult.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>230, 30</value>
|
<value>197, 30</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="CheckBoxIndexResult.TabIndex" type="System.Int32, mscorlib">
|
<data name="CheckBoxIndexResult.TabIndex" type="System.Int32, mscorlib">
|
||||||
<value>6</value>
|
<value>6</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="CheckBoxIndexResult.Text" xml:space="preserve">
|
<data name="CheckBoxIndexResult.Text" xml:space="preserve">
|
||||||
<value>Meldungsfenster für erfolgreiche
|
<value>Meldungsfenster für erfolgreiche
|
||||||
Übertragung nach windream anzeigen?</value>
|
Übertragung anzeigen?</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>CheckBoxIndexResult.Name" xml:space="preserve">
|
<data name=">>CheckBoxIndexResult.Name" xml:space="preserve">
|
||||||
<value>CheckBoxIndexResult</value>
|
<value>CheckBoxIndexResult</value>
|
||||||
@@ -614,13 +614,13 @@
|
|||||||
<value>11, 51</value>
|
<value>11, 51</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="chkLogErrorsOnly.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="chkLogErrorsOnly.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>146, 17</value>
|
<value>62, 17</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="chkLogErrorsOnly.TabIndex" type="System.Int32, mscorlib">
|
<data name="chkLogErrorsOnly.TabIndex" type="System.Int32, mscorlib">
|
||||||
<value>3</value>
|
<value>3</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="chkLogErrorsOnly.Text" xml:space="preserve">
|
<data name="chkLogErrorsOnly.Text" xml:space="preserve">
|
||||||
<value>LogErrorsOnly (Ja/Nein)</value>
|
<value>DEBUG</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>chkLogErrorsOnly.Name" xml:space="preserve">
|
<data name=">>chkLogErrorsOnly.Name" xml:space="preserve">
|
||||||
<value>chkLogErrorsOnly</value>
|
<value>chkLogErrorsOnly</value>
|
||||||
@@ -634,36 +634,6 @@
|
|||||||
<data name=">>chkLogErrorsOnly.ZOrder" xml:space="preserve">
|
<data name=">>chkLogErrorsOnly.ZOrder" xml:space="preserve">
|
||||||
<value>6</value>
|
<value>6</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="btnLogMail.ImageAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
|
||||||
<value>MiddleLeft</value>
|
|
||||||
</data>
|
|
||||||
<data name="btnLogMail.Location" type="System.Drawing.Point, System.Drawing">
|
|
||||||
<value>11, 171</value>
|
|
||||||
</data>
|
|
||||||
<data name="btnLogMail.Size" type="System.Drawing.Size, System.Drawing">
|
|
||||||
<value>180, 26</value>
|
|
||||||
</data>
|
|
||||||
<data name="btnLogMail.TabIndex" type="System.Int32, mscorlib">
|
|
||||||
<value>41</value>
|
|
||||||
</data>
|
|
||||||
<data name="btnLogMail.Text" xml:space="preserve">
|
|
||||||
<value>Log/Support Mail erzeugen</value>
|
|
||||||
</data>
|
|
||||||
<data name="btnLogMail.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
|
||||||
<value>MiddleRight</value>
|
|
||||||
</data>
|
|
||||||
<data name=">>btnLogMail.Name" xml:space="preserve">
|
|
||||||
<value>btnLogMail</value>
|
|
||||||
</data>
|
|
||||||
<data name=">>btnLogMail.Type" xml:space="preserve">
|
|
||||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</data>
|
|
||||||
<data name=">>btnLogMail.Parent" xml:space="preserve">
|
|
||||||
<value>TabPage2</value>
|
|
||||||
</data>
|
|
||||||
<data name=">>btnLogMail.ZOrder" xml:space="preserve">
|
|
||||||
<value>7</value>
|
|
||||||
</data>
|
|
||||||
<data name="btnApplicationFolder.ImageAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
<data name="btnApplicationFolder.ImageAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||||
<value>MiddleLeft</value>
|
<value>MiddleLeft</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -692,7 +662,7 @@
|
|||||||
<value>TabPage2</value>
|
<value>TabPage2</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>btnApplicationFolder.ZOrder" xml:space="preserve">
|
<data name=">>btnApplicationFolder.ZOrder" xml:space="preserve">
|
||||||
<value>8</value>
|
<value>7</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="btnopenlog.ImageAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
<data name="btnopenlog.ImageAlign" type="System.Drawing.ContentAlignment, System.Drawing">
|
||||||
<value>MiddleLeft</value>
|
<value>MiddleLeft</value>
|
||||||
@@ -725,7 +695,7 @@
|
|||||||
<value>TabPage2</value>
|
<value>TabPage2</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>btnopenlog.ZOrder" xml:space="preserve">
|
<data name=">>btnopenlog.ZOrder" xml:space="preserve">
|
||||||
<value>9</value>
|
<value>8</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="TabPage2.Location" type="System.Drawing.Point, System.Drawing">
|
<data name="TabPage2.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>4, 22</value>
|
<value>4, 22</value>
|
||||||
@@ -789,7 +759,7 @@ ausgenommen werden sollen:</value>
|
|||||||
<value>11, 226</value>
|
<value>11, 226</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DataGridView1.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="DataGridView1.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>192, 100</value>
|
<value>192, 48</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DataGridView1.TabIndex" type="System.Int32, mscorlib">
|
<data name="DataGridView1.TabIndex" type="System.Int32, mscorlib">
|
||||||
<value>11</value>
|
<value>11</value>
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
Imports System.IO
|
Imports System.IO
|
||||||
Imports System.Threading
|
Imports System.Threading
|
||||||
Imports System.Globalization
|
Imports System.Globalization
|
||||||
|
Imports DigitalData.Modules.Database
|
||||||
|
|
||||||
Public Class frmConfig_Basic
|
Public Class frmConfig_Basic
|
||||||
Dim formloaded = False
|
Dim formloaded = False
|
||||||
@@ -64,14 +65,18 @@ Public Class frmConfig_Basic
|
|||||||
|
|
||||||
Me.txtActualConnection.Text = constring
|
Me.txtActualConnection.Text = constring
|
||||||
|
|
||||||
|
If DATABASE_ECM Is Nothing Then
|
||||||
|
DATABASE_ECM = New MSSQLServer(LOGCONFIG, MyConnectionString)
|
||||||
|
End If
|
||||||
|
|
||||||
Dim sql = "SELECT MAX(GUID) FROM TBDD_USER WHERE (LOWER(USERNAME) = LOWER('@user'))"
|
Dim sql = "SELECT MAX(GUID) FROM TBDD_USER WHERE (LOWER(USERNAME) = LOWER('@user'))"
|
||||||
sql = sql.Replace("@user", Environment.UserName)
|
sql = sql.Replace("@user", Environment.UserName)
|
||||||
LOGGER.Info(">> Username: " & Environment.UserName)
|
LOGGER.Info(">> Username: " & Environment.UserName)
|
||||||
|
|
||||||
USER_ID = ClassDatabase.Execute_Scalar(sql, MyConnectionString, True)
|
USER_ID = DATABASE_ECM.GetScalarValue(sql)
|
||||||
If IsDBNull(USER_ID) Then
|
If IsDBNull(USER_ID) Then
|
||||||
MsgBox("Attention: Your Username '" & Environment.UserName & "' is not configured for Global Indexer. this might result in unhandled exceptions!", MsgBoxStyle.Exclamation)
|
MsgBox("Attention: Your Username '" & Environment.UserName & "' is not configured for File Flow. this might result in unhandled exceptions!", MsgBoxStyle.Exclamation)
|
||||||
LOGGER.Info("User '" & Environment.UserName & "' not configured for Global Indexer! (DBNull - frmConfigBasic)")
|
LOGGER.Info("User '" & Environment.UserName & "' not configured for File Flow! (DBNull - frmConfigBasic)")
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
@@ -92,11 +97,12 @@ Public Class frmConfig_Basic
|
|||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
Me.Cursor = Cursors.WaitCursor
|
Me.Cursor = Cursors.WaitCursor
|
||||||
Dim csb As New SqlClient.SqlConnectionStringBuilder
|
Dim csb As New SqlClient.SqlConnectionStringBuilder With {
|
||||||
csb.DataSource = Me.txtServer.Text
|
.DataSource = Me.txtServer.Text,
|
||||||
csb.IntegratedSecurity = False
|
.IntegratedSecurity = False,
|
||||||
csb.UserID = Me.txtUser.Text
|
.UserID = Me.txtUser.Text,
|
||||||
csb.Password = Me.txtPasswort.Text
|
.Password = Me.txtPasswort.Text
|
||||||
|
}
|
||||||
|
|
||||||
Dim con As String
|
Dim con As String
|
||||||
If chkbxUserAut.Checked Then
|
If chkbxUserAut.Checked Then
|
||||||
@@ -106,8 +112,9 @@ Public Class frmConfig_Basic
|
|||||||
End If
|
End If
|
||||||
Dim connection As New SqlClient.SqlConnection(con) 'csb.ConnectionString)
|
Dim connection As New SqlClient.SqlConnection(con) 'csb.ConnectionString)
|
||||||
connection.Open()
|
connection.Open()
|
||||||
Dim cmd As New SqlClient.SqlCommand("sp_databases", connection)
|
Dim cmd As New SqlClient.SqlCommand("sp_databases", connection) With {
|
||||||
cmd.CommandType = CommandType.StoredProcedure
|
.CommandType = CommandType.StoredProcedure
|
||||||
|
}
|
||||||
' Ausführen und Ergebnis in einer ListBox anzeigen
|
' Ausführen und Ergebnis in einer ListBox anzeigen
|
||||||
Dim dr As SqlClient.SqlDataReader = cmd.ExecuteReader
|
Dim dr As SqlClient.SqlDataReader = cmd.ExecuteReader
|
||||||
If dr.HasRows Then
|
If dr.HasRows Then
|
||||||
@@ -150,20 +157,20 @@ Public Class frmConfig_Basic
|
|||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
reload = True
|
reload = True
|
||||||
Dim folderwatch = ClassDatabase.Execute_Scalar("SELECT FOLDER_PATH FROM TBGI_FOLDERWATCH_USER WHERE FOLDER_TYPE = 'DEFAULT' AND USER_ID = " & USER_ID, MyConnectionString)
|
Dim folderwatch = DATABASE_ECM.GetScalarValue("SELECT FOLDER_PATH FROM TBGI_FOLDERWATCH_USER WHERE FOLDER_TYPE = 'DEFAULT' AND USER_ID = " & USER_ID)
|
||||||
If Not folderwatch Is Nothing Then
|
If folderwatch IsNot Nothing Then
|
||||||
CURRENT_FOLDERWATCH = folderwatch
|
CURRENT_FOLDERWATCH = folderwatch
|
||||||
End If
|
End If
|
||||||
Me.txtFolderWatch.Text = CURRENT_FOLDERWATCH
|
Me.txtFolderWatch.Text = CURRENT_FOLDERWATCH
|
||||||
Dim SCAN_folderwatch = ClassDatabase.Execute_Scalar("SELECT FOLDER_PATH FROM TBGI_FOLDERWATCH_USER WHERE FOLDER_TYPE = 'SCAN' AND USER_ID = " & USER_ID, MyConnectionString)
|
Dim SCAN_folderwatch = DATABASE_ECM.GetScalarValue("SELECT FOLDER_PATH FROM TBGI_FOLDERWATCH_USER WHERE FOLDER_TYPE = 'SCAN' AND USER_ID = " & USER_ID)
|
||||||
If Not SCAN_folderwatch Is Nothing Then
|
If SCAN_folderwatch IsNot Nothing Then
|
||||||
CURRENT_SCAN_FOLDERWATCH = SCAN_folderwatch
|
CURRENT_SCAN_FOLDERWATCH = SCAN_folderwatch
|
||||||
End If
|
End If
|
||||||
Me.txtFolderWatch.Text = CURRENT_FOLDERWATCH
|
Me.txtFolderWatch.Text = CURRENT_FOLDERWATCH
|
||||||
Me.txtScanFolderWatch.Text = CURRENT_SCAN_FOLDERWATCH
|
Me.txtScanFolderWatch.Text = CURRENT_SCAN_FOLDERWATCH
|
||||||
|
|
||||||
If Not ClassFolderWatcher.FolderWatcher Is Nothing Then
|
If FOLDER_WATCHER.FolderWatcher IsNot Nothing Then
|
||||||
If ClassFolderWatcher.FolderWatcher.EnableRaisingEvents = True Then
|
If FOLDER_WATCHER.FolderWatcher.EnableRaisingEvents = True Then
|
||||||
If USER_LANGUAGE = "de-DE" Then
|
If USER_LANGUAGE = "de-DE" Then
|
||||||
btnstartstop1.Text = "Überwachung stoppen"
|
btnstartstop1.Text = "Überwachung stoppen"
|
||||||
Else
|
Else
|
||||||
@@ -191,8 +198,8 @@ Public Class frmConfig_Basic
|
|||||||
btnstartstop1.Image = My.Resources.bell_go
|
btnstartstop1.Image = My.Resources.bell_go
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If Not ClassFolderWatcher.FolderWatcher_SCAN Is Nothing Then
|
If FOLDER_WATCHER.FolderWatcher_SCAN IsNot Nothing Then
|
||||||
If ClassFolderWatcher.FolderWatcher_SCAN.EnableRaisingEvents = True Then
|
If FOLDER_WATCHER.FolderWatcher_SCAN.EnableRaisingEvents = True Then
|
||||||
If USER_LANGUAGE = "de-DE" Then
|
If USER_LANGUAGE = "de-DE" Then
|
||||||
btnstartstop2.Text = "Überwachung stoppen"
|
btnstartstop2.Text = "Überwachung stoppen"
|
||||||
Else
|
Else
|
||||||
@@ -230,7 +237,7 @@ Public Class frmConfig_Basic
|
|||||||
Sub CheckFolder(mypath As String, FOLDER_TYPE As String)
|
Sub CheckFolder(mypath As String, FOLDER_TYPE As String)
|
||||||
Try
|
Try
|
||||||
If mypath = "" Then
|
If mypath = "" Then
|
||||||
ClassDatabase.Execute_non_Query("DELETE FROM TBGI_FOLDERWATCH_USER WHERE USER_ID = " & USER_ID & " AND FOLDER_TYPE = '" & FOLDER_TYPE & "'", True)
|
DATABASE_ECM.ExecuteNonQuery("DELETE FROM TBGI_FOLDERWATCH_USER WHERE USER_ID = " & USER_ID & " AND FOLDER_TYPE = '" & FOLDER_TYPE & "'")
|
||||||
If FOLDER_TYPE = "SCAN" Then
|
If FOLDER_TYPE = "SCAN" Then
|
||||||
CURRENT_SCAN_FOLDERWATCH = ""
|
CURRENT_SCAN_FOLDERWATCH = ""
|
||||||
CONFIG.Config.FolderWatchScanStarted = False
|
CONFIG.Config.FolderWatchScanStarted = False
|
||||||
@@ -251,7 +258,7 @@ Public Class frmConfig_Basic
|
|||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LOGGER.Info(" >> Unexpected error in CheckFolder: " & mypath)
|
LOGGER.Info(" >> Unexpected error in CheckFolder: " & mypath)
|
||||||
LOGGER.Error(ex.Message)
|
LOGGER.Error(ex)
|
||||||
LOGGER.Info(" >> " & ex.Message)
|
LOGGER.Info(" >> " & ex.Message)
|
||||||
If USER_LANGUAGE = "de-DE" Then
|
If USER_LANGUAGE = "de-DE" Then
|
||||||
MsgBox("Unexpected error in ECheckFolder: " & mypath & vbNewLine & "Bitte überprüfen Sie die Rechte!" & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
MsgBox("Unexpected error in ECheckFolder: " & mypath & vbNewLine & "Bitte überprüfen Sie die Rechte!" & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
||||||
@@ -262,15 +269,15 @@ Public Class frmConfig_Basic
|
|||||||
Exit Sub
|
Exit Sub
|
||||||
End Try
|
End Try
|
||||||
|
|
||||||
Dim folderwatch = ClassDatabase.Execute_Scalar("SELECT GUID FROM TBGI_FOLDERWATCH_USER WHERE USER_ID = " & USER_ID & " AND FOLDER_TYPE = '" & FOLDER_TYPE & "'", MyConnectionString)
|
Dim folderwatch = DATABASE_ECM.GetScalarValue("SELECT GUID FROM TBGI_FOLDERWATCH_USER WHERE USER_ID = " & USER_ID & " AND FOLDER_TYPE = '" & FOLDER_TYPE & "'")
|
||||||
Dim sql As String
|
Dim sql As String
|
||||||
If folderwatch Is Nothing Then
|
If folderwatch Is Nothing Then
|
||||||
sql = "INSERT INTO TBGI_FOLDERWATCH_USER (USER_ID, FOLDER_PATH, FOLDER_TYPE, ADDED_WHO) VALUES (" & USER_ID & ",'" & mypath & "','" & FOLDER_TYPE & "','" & Environment.UserName & "')"
|
sql = "INSERT INTO TBGI_FOLDERWATCH_USER (USER_ID, FOLDER_PATH, FOLDER_TYPE, ADDED_WHO) VALUES (" & USER_ID & ",'" & mypath & "','" & FOLDER_TYPE & "','" & Environment.UserName & "')"
|
||||||
Else
|
Else
|
||||||
sql = "UPDATE TBGI_FOLDERWATCH_USER SET FOLDER_PATH = '" & mypath & "', CHANGED_WHO = '" & Environment.UserName & "' where GUID = " & folderwatch
|
sql = "UPDATE TBGI_FOLDERWATCH_USER SET FOLDER_PATH = '" & mypath & "', CHANGED_WHO = '" & Environment.UserName & "' where GUID = " & folderwatch
|
||||||
End If
|
End If
|
||||||
If ClassDatabase.Execute_non_Query(sql) Then
|
If DATABASE_ECM.ExecuteNonQuery(sql) Then
|
||||||
folderwatch = ClassDatabase.Execute_Scalar("SELECT FOLDER_PATH FROM TBGI_FOLDERWATCH_USER WHERE USER_ID = " & USER_ID & " AND FOLDER_TYPE = '" & FOLDER_TYPE & "'", MyConnectionString)
|
folderwatch = DATABASE_ECM.GetScalarValue("SELECT FOLDER_PATH FROM TBGI_FOLDERWATCH_USER WHERE USER_ID = " & USER_ID & " AND FOLDER_TYPE = '" & FOLDER_TYPE & "'")
|
||||||
|
|
||||||
If FOLDER_TYPE = "SCAN" Then
|
If FOLDER_TYPE = "SCAN" Then
|
||||||
CURRENT_SCAN_FOLDERWATCH = folderwatch
|
CURRENT_SCAN_FOLDERWATCH = folderwatch
|
||||||
@@ -281,10 +288,10 @@ Public Class frmConfig_Basic
|
|||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
If FW_started = True And FOLDER_TYPE = "DEFAULT" Then
|
If FW_started = True And FOLDER_TYPE = "DEFAULT" Then
|
||||||
ClassFolderWatcher.Restart_FolderWatch()
|
FOLDER_WATCHER.Restart_FolderWatch()
|
||||||
End If
|
End If
|
||||||
If CONFIG.Config.FolderWatchScanStarted = True And FOLDER_TYPE = "SCAN" Then
|
If CONFIG.Config.FolderWatchScanStarted = True And FOLDER_TYPE = "SCAN" Then
|
||||||
ClassFolderWatcher.Restart_FolderWatchSCAN()
|
FOLDER_WATCHER.Restart_FolderWatchSCAN()
|
||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
MsgBox(ex.Message, MsgBoxStyle.Critical, "Error in CheckFolder:")
|
MsgBox(ex.Message, MsgBoxStyle.Critical, "Error in CheckFolder:")
|
||||||
@@ -304,7 +311,7 @@ Public Class frmConfig_Basic
|
|||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
Sub CheckFW_State()
|
Sub CheckFW_State()
|
||||||
Select Case ClassFolderWatcher.StartStop_FolderWatch()
|
Select Case FOLDER_WATCHER.StartStop_FolderWatch()
|
||||||
Case 1
|
Case 1
|
||||||
If USER_LANGUAGE = "de-DE" Then
|
If USER_LANGUAGE = "de-DE" Then
|
||||||
btnstartstop1.Text = "Überwachung stoppen"
|
btnstartstop1.Text = "Überwachung stoppen"
|
||||||
@@ -324,7 +331,7 @@ Public Class frmConfig_Basic
|
|||||||
End Select
|
End Select
|
||||||
End Sub
|
End Sub
|
||||||
Sub CheckFWSCAN_State()
|
Sub CheckFWSCAN_State()
|
||||||
Select Case ClassFolderWatcher.StartStop_FolderWatchSCAN()
|
Select Case FOLDER_WATCHER.StartStop_FolderWatchSCAN()
|
||||||
Case 1
|
Case 1
|
||||||
If USER_LANGUAGE = "de-DE" Then
|
If USER_LANGUAGE = "de-DE" Then
|
||||||
btnstartstop2.Text = "Überwachung stoppen"
|
btnstartstop2.Text = "Überwachung stoppen"
|
||||||
@@ -354,15 +361,19 @@ Public Class frmConfig_Basic
|
|||||||
|
|
||||||
Private Sub CheckBox1_CheckedChanged(sender As Object, e As EventArgs) Handles chkLogErrorsOnly.CheckedChanged
|
Private Sub CheckBox1_CheckedChanged(sender As Object, e As EventArgs) Handles chkLogErrorsOnly.CheckedChanged
|
||||||
If formloaded = True Then
|
If formloaded = True Then
|
||||||
CONFIG.Config.LogErrorsOnly = chkLogErrorsOnly.Checked
|
Dim oDebug = chkLogErrorsOnly.Checked
|
||||||
|
|
||||||
|
CONFIG.Config.LogDEBUG = oDebug
|
||||||
CONFIG.Save()
|
CONFIG.Save()
|
||||||
'SaveConfigValue("LogErrorsOnly", chkLogErrorsOnly.Checked)
|
|
||||||
LOGGER.Info(" >> LogErrorsOnly changed to '" & chkLogErrorsOnly.Checked)
|
LOGGER.Info("Debug Log Enabled: [{0}]", oDebug)
|
||||||
LogErrorsOnly = chkLogErrorsOnly.Checked
|
LOGGER.Debug("Debug Log Enabled: [{0}]", oDebug)
|
||||||
LOGCONFIG.Debug = Not chkLogErrorsOnly.Checked
|
|
||||||
|
LogErrorsOnly = oDebug
|
||||||
|
LOGCONFIG.Debug = oDebug
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
<STAThread()> _
|
<STAThread()>
|
||||||
Private Sub frmConfig_Basic_Shown(sender As Object, e As EventArgs) Handles Me.Shown
|
Private Sub frmConfig_Basic_Shown(sender As Object, e As EventArgs) Handles Me.Shown
|
||||||
Load_Basics()
|
Load_Basics()
|
||||||
formloaded = True
|
formloaded = True
|
||||||
@@ -370,9 +381,12 @@ Public Class frmConfig_Basic
|
|||||||
End Sub
|
End Sub
|
||||||
Sub Load_Basics()
|
Sub Load_Basics()
|
||||||
Try
|
Try
|
||||||
|
chkLogErrorsOnly.Checked = CONFIG.Config.LogDEBUG
|
||||||
|
|
||||||
If Not MyConnectionString = String.Empty Then
|
If Not MyConnectionString = String.Empty Then
|
||||||
Dim csb As New SqlClient.SqlConnectionStringBuilder
|
Dim csb As New SqlClient.SqlConnectionStringBuilder With {
|
||||||
csb.ConnectionString = MyConnectionString
|
.ConnectionString = MyConnectionString
|
||||||
|
}
|
||||||
Dim constr = MyConnectionString
|
Dim constr = MyConnectionString
|
||||||
Try
|
Try
|
||||||
If Not constr.Contains("Trusted_Connection") Then
|
If Not constr.Contains("Trusted_Connection") Then
|
||||||
@@ -386,7 +400,7 @@ Public Class frmConfig_Basic
|
|||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
End Try
|
End Try
|
||||||
|
|
||||||
|
|
||||||
Me.txtActualConnection.Text = constr
|
Me.txtActualConnection.Text = constr
|
||||||
End If
|
End If
|
||||||
@@ -399,10 +413,10 @@ Public Class frmConfig_Basic
|
|||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
MsgBox("Unexpected Error in Load_Basics:" & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
MsgBox("Unexpected Error in Load_Basics:" & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
||||||
End Try
|
End Try
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
Private Sub btnopenlog_Click(sender As Object, e As EventArgs) Handles btnopenlog.Click
|
Private Sub btnopenlog_Click(sender As Object, e As EventArgs) Handles btnopenlog.Click
|
||||||
Process.Start(ClassLogger.DateiSpeicherort)
|
Process.Start(LOGCONFIG.LogDirectory)
|
||||||
End Sub
|
End Sub
|
||||||
Private Sub btnApplicationFolder_Click(sender As Object, e As EventArgs) Handles btnApplicationFolder.Click
|
Private Sub btnApplicationFolder_Click(sender As Object, e As EventArgs) Handles btnApplicationFolder.Click
|
||||||
Process.Start(Application.UserAppDataPath())
|
Process.Start(Application.UserAppDataPath())
|
||||||
@@ -450,15 +464,6 @@ Public Class frmConfig_Basic
|
|||||||
MsgBox("Changes saved.", MsgBoxStyle.Information)
|
MsgBox("Changes saved.", MsgBoxStyle.Information)
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub btnLogMail_Click(sender As Object, e As EventArgs) Handles btnLogMail.Click
|
|
||||||
ClassEmail.Send_Log_Mail("<b> Log-/SupportMail von DD GLOBIX.</b> <p>", _
|
|
||||||
"Support-Mail GLOBIX", "support@didalog.de", "mail.triplew.de", "support@didalog.de", "ddemail40", "support@didalog.de", False, True)
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub cmbLanguage_SelectedIndexChanged(sender As Object, e As EventArgs) Handles cmbLanguage.SelectedIndexChanged
|
|
||||||
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub Button3_Click_1(sender As Object, e As EventArgs) Handles Button3.Click
|
Private Sub Button3_Click_1(sender As Object, e As EventArgs) Handles Button3.Click
|
||||||
Dim result As MsgBoxResult
|
Dim result As MsgBoxResult
|
||||||
If USER_LANGUAGE = "de-DE" Then
|
If USER_LANGUAGE = "de-DE" Then
|
||||||
@@ -476,12 +481,14 @@ Public Class frmConfig_Basic
|
|||||||
lang = "de-DE"
|
lang = "de-DE"
|
||||||
Case 1
|
Case 1
|
||||||
lang = "en-US"
|
lang = "en-US"
|
||||||
|
Case 2
|
||||||
|
lang = "fr-FR"
|
||||||
End Select
|
End Select
|
||||||
|
|
||||||
Dim update As String = "UPDATE TBDD_USER SET [LANGUAGE] = '" & lang & "' WHERE GUID = " & USER_ID
|
Dim update As String = "UPDATE TBDD_USER SET [LANGUAGE] = '" & lang & "' WHERE GUID = " & USER_ID
|
||||||
USER_LANGUAGE = lang
|
USER_LANGUAGE = lang
|
||||||
|
|
||||||
If ClassDatabase.Execute_non_Query(update, True) = True Then
|
If DATABASE_ECM.ExecuteNonQuery(update) = True Then
|
||||||
If USER_LANGUAGE = "de-DE" Then
|
If USER_LANGUAGE = "de-DE" Then
|
||||||
MsgBox("Die Sprache wurde erfolgreich geändert!", MsgBoxStyle.Information)
|
MsgBox("Die Sprache wurde erfolgreich geändert!", MsgBoxStyle.Information)
|
||||||
Else
|
Else
|
||||||
@@ -512,13 +519,6 @@ Public Class frmConfig_Basic
|
|||||||
' Specify that the link was visited.
|
' Specify that the link was visited.
|
||||||
Me.LinkLabel1.LinkVisited = True
|
Me.LinkLabel1.LinkVisited = True
|
||||||
' Navigate to a URL.
|
' Navigate to a URL.
|
||||||
System.Diagnostics.Process.Start("http://www.didalog.de/Support")
|
Process.Start("https://digitaldata.works/support")
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
'Private Sub chkdelete_origin_CheckedChanged(sender As Object, e As EventArgs) Handles chkdelete_origin.CheckedChanged
|
|
||||||
' If CURR_DELETE_ORIGIN <> chkdelete_origin.Checked Then
|
|
||||||
' CURR_DELETE_ORIGIN = chkdelete_origin.Checked
|
|
||||||
' SaveConfigValue("Delete_OriginFile", CURR_DELETE_ORIGIN)
|
|
||||||
' End If
|
|
||||||
'End Sub
|
|
||||||
End Class
|
End Class
|
||||||
5
Global_Indexer/frmConnections.Designer.vb
generated
@@ -150,11 +150,6 @@ Partial Class frmConnections
|
|||||||
Me.TableAdapterManager.TBGI_CONFIGURATIONTableAdapter = Nothing
|
Me.TableAdapterManager.TBGI_CONFIGURATIONTableAdapter = Nothing
|
||||||
Me.TableAdapterManager.TBGI_OBJECTTYPE_EMAIL_INDEXTableAdapter = Nothing
|
Me.TableAdapterManager.TBGI_OBJECTTYPE_EMAIL_INDEXTableAdapter = Nothing
|
||||||
Me.TableAdapterManager.TBGI_REGEX_DOCTYPETableAdapter = Nothing
|
Me.TableAdapterManager.TBGI_REGEX_DOCTYPETableAdapter = Nothing
|
||||||
Me.TableAdapterManager.TBHOTKEY_PATTERNS_REWORKTableAdapter = Nothing
|
|
||||||
Me.TableAdapterManager.TBHOTKEY_PATTERNSTableAdapter = Nothing
|
|
||||||
Me.TableAdapterManager.TBHOTKEY_PROFILETableAdapter = Nothing
|
|
||||||
Me.TableAdapterManager.TBHOTKEY_USER_PROFILETableAdapter = Nothing
|
|
||||||
Me.TableAdapterManager.TBHOTKEY_WINDOW_HOOKTableAdapter = Nothing
|
|
||||||
Me.TableAdapterManager.UpdateOrder = Global_Indexer.MyDatasetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete
|
Me.TableAdapterManager.UpdateOrder = Global_Indexer.MyDatasetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete
|
||||||
'
|
'
|
||||||
'BEZEICHNUNGTextBox
|
'BEZEICHNUNGTextBox
|
||||||
|
|||||||
@@ -918,8 +918,8 @@
|
|||||||
<data name="BarButtonItem1.Caption" xml:space="preserve">
|
<data name="BarButtonItem1.Caption" xml:space="preserve">
|
||||||
<value>Neue Verbindung</value>
|
<value>Neue Verbindung</value>
|
||||||
</data>
|
</data>
|
||||||
<assembly alias="DevExpress.Data.v19.2" name="DevExpress.Data.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
<assembly alias="DevExpress.Data.v21.2" name="DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||||
<data name="BarButtonItem1.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v19.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="BarButtonItem1.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
||||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||||
@@ -940,7 +940,7 @@
|
|||||||
<data name="BarButtonItem2.Caption" xml:space="preserve">
|
<data name="BarButtonItem2.Caption" xml:space="preserve">
|
||||||
<value>Verbindung Löschen</value>
|
<value>Verbindung Löschen</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="BarButtonItem2.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v19.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="BarButtonItem2.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
||||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||||
@@ -962,7 +962,7 @@
|
|||||||
<data name="BarButtonItem3.Caption" xml:space="preserve">
|
<data name="BarButtonItem3.Caption" xml:space="preserve">
|
||||||
<value>Verbindung Speichern</value>
|
<value>Verbindung Speichern</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="BarButtonItem3.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v19.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="BarButtonItem3.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
||||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||||
@@ -981,7 +981,7 @@
|
|||||||
<data name="BarButtonItem4.Caption" xml:space="preserve">
|
<data name="BarButtonItem4.Caption" xml:space="preserve">
|
||||||
<value>Verbindungen neu laden</value>
|
<value>Verbindungen neu laden</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="BarButtonItem4.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v19.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="BarButtonItem4.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
||||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||||
@@ -1007,7 +1007,7 @@
|
|||||||
<data name="labelStatus.Caption" xml:space="preserve">
|
<data name="labelStatus.Caption" xml:space="preserve">
|
||||||
<value>Status</value>
|
<value>Status</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="labelStatus.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v19.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="labelStatus.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
||||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||||
@@ -1031,7 +1031,7 @@
|
|||||||
<data name="BarButtonItem5.Caption" xml:space="preserve">
|
<data name="BarButtonItem5.Caption" xml:space="preserve">
|
||||||
<value>Verbindung testen</value>
|
<value>Verbindung testen</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="BarButtonItem5.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v19.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="BarButtonItem5.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
||||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||||
@@ -1076,7 +1076,7 @@
|
|||||||
<value>RibbonStatusBar1</value>
|
<value>RibbonStatusBar1</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>RibbonStatusBar1.Type" xml:space="preserve">
|
<data name=">>RibbonStatusBar1.Type" xml:space="preserve">
|
||||||
<value>DevExpress.XtraBars.Ribbon.RibbonStatusBar, DevExpress.XtraBars.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
<value>DevExpress.XtraBars.Ribbon.RibbonStatusBar, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>RibbonStatusBar1.Parent" xml:space="preserve">
|
<data name=">>RibbonStatusBar1.Parent" xml:space="preserve">
|
||||||
<value>$this</value>
|
<value>$this</value>
|
||||||
@@ -1088,7 +1088,7 @@
|
|||||||
<value>RibbonControl1</value>
|
<value>RibbonControl1</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>RibbonControl1.Type" xml:space="preserve">
|
<data name=">>RibbonControl1.Type" xml:space="preserve">
|
||||||
<value>DevExpress.XtraBars.Ribbon.RibbonControl, DevExpress.XtraBars.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
<value>DevExpress.XtraBars.Ribbon.RibbonControl, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>RibbonControl1.Parent" xml:space="preserve">
|
<data name=">>RibbonControl1.Parent" xml:space="preserve">
|
||||||
<value>$this</value>
|
<value>$this</value>
|
||||||
@@ -1114,7 +1114,7 @@
|
|||||||
<data name="$this.Font" type="System.Drawing.Font, System.Drawing">
|
<data name="$this.Font" type="System.Drawing.Font, System.Drawing">
|
||||||
<value>Segoe UI, 8.25pt</value>
|
<value>Segoe UI, 8.25pt</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="frmConnections.IconOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v19.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="frmConnections.IconOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
||||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||||
@@ -1169,60 +1169,60 @@
|
|||||||
<value>BarButtonItem1</value>
|
<value>BarButtonItem1</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>BarButtonItem1.Type" xml:space="preserve">
|
<data name=">>BarButtonItem1.Type" xml:space="preserve">
|
||||||
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>BarButtonItem2.Name" xml:space="preserve">
|
<data name=">>BarButtonItem2.Name" xml:space="preserve">
|
||||||
<value>BarButtonItem2</value>
|
<value>BarButtonItem2</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>BarButtonItem2.Type" xml:space="preserve">
|
<data name=">>BarButtonItem2.Type" xml:space="preserve">
|
||||||
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>BarButtonItem3.Name" xml:space="preserve">
|
<data name=">>BarButtonItem3.Name" xml:space="preserve">
|
||||||
<value>BarButtonItem3</value>
|
<value>BarButtonItem3</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>BarButtonItem3.Type" xml:space="preserve">
|
<data name=">>BarButtonItem3.Type" xml:space="preserve">
|
||||||
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>BarButtonItem4.Name" xml:space="preserve">
|
<data name=">>BarButtonItem4.Name" xml:space="preserve">
|
||||||
<value>BarButtonItem4</value>
|
<value>BarButtonItem4</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>BarButtonItem4.Type" xml:space="preserve">
|
<data name=">>BarButtonItem4.Type" xml:space="preserve">
|
||||||
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>labelStatus.Name" xml:space="preserve">
|
<data name=">>labelStatus.Name" xml:space="preserve">
|
||||||
<value>labelStatus</value>
|
<value>labelStatus</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>labelStatus.Type" xml:space="preserve">
|
<data name=">>labelStatus.Type" xml:space="preserve">
|
||||||
<value>DevExpress.XtraBars.BarStaticItem, DevExpress.XtraBars.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
<value>DevExpress.XtraBars.BarStaticItem, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>RibbonPage1.Name" xml:space="preserve">
|
<data name=">>RibbonPage1.Name" xml:space="preserve">
|
||||||
<value>RibbonPage1</value>
|
<value>RibbonPage1</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>RibbonPage1.Type" xml:space="preserve">
|
<data name=">>RibbonPage1.Type" xml:space="preserve">
|
||||||
<value>DevExpress.XtraBars.Ribbon.RibbonPage, DevExpress.XtraBars.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
<value>DevExpress.XtraBars.Ribbon.RibbonPage, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>RibbonPageGroup1.Name" xml:space="preserve">
|
<data name=">>RibbonPageGroup1.Name" xml:space="preserve">
|
||||||
<value>RibbonPageGroup1</value>
|
<value>RibbonPageGroup1</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>RibbonPageGroup1.Type" xml:space="preserve">
|
<data name=">>RibbonPageGroup1.Type" xml:space="preserve">
|
||||||
<value>DevExpress.XtraBars.Ribbon.RibbonPageGroup, DevExpress.XtraBars.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
<value>DevExpress.XtraBars.Ribbon.RibbonPageGroup, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>RibbonPage2.Name" xml:space="preserve">
|
<data name=">>RibbonPage2.Name" xml:space="preserve">
|
||||||
<value>RibbonPage2</value>
|
<value>RibbonPage2</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>RibbonPage2.Type" xml:space="preserve">
|
<data name=">>RibbonPage2.Type" xml:space="preserve">
|
||||||
<value>DevExpress.XtraBars.Ribbon.RibbonPage, DevExpress.XtraBars.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
<value>DevExpress.XtraBars.Ribbon.RibbonPage, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>BarButtonItem5.Name" xml:space="preserve">
|
<data name=">>BarButtonItem5.Name" xml:space="preserve">
|
||||||
<value>BarButtonItem5</value>
|
<value>BarButtonItem5</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>BarButtonItem5.Type" xml:space="preserve">
|
<data name=">>BarButtonItem5.Type" xml:space="preserve">
|
||||||
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>$this.Name" xml:space="preserve">
|
<data name=">>$this.Name" xml:space="preserve">
|
||||||
<value>frmConnections</value>
|
<value>frmConnections</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>$this.Type" xml:space="preserve">
|
<data name=">>$this.Type" xml:space="preserve">
|
||||||
<value>DevExpress.XtraBars.Ribbon.RibbonForm, DevExpress.XtraBars.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
<value>DevExpress.XtraBars.Ribbon.RibbonForm, DevExpress.XtraBars.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
</root>
|
</root>
|
||||||
5
Global_Indexer/frmEmailIndexing.Designer.vb
generated
@@ -502,11 +502,6 @@ Partial Class frmEmailIndexing
|
|||||||
Me.TableAdapterManager.TBGI_CONFIGURATIONTableAdapter = Nothing
|
Me.TableAdapterManager.TBGI_CONFIGURATIONTableAdapter = Nothing
|
||||||
Me.TableAdapterManager.TBGI_OBJECTTYPE_EMAIL_INDEXTableAdapter = Me.TBGI_OBJECTTYPE_EMAIL_INDEXTableAdapter
|
Me.TableAdapterManager.TBGI_OBJECTTYPE_EMAIL_INDEXTableAdapter = Me.TBGI_OBJECTTYPE_EMAIL_INDEXTableAdapter
|
||||||
Me.TableAdapterManager.TBGI_REGEX_DOCTYPETableAdapter = Nothing
|
Me.TableAdapterManager.TBGI_REGEX_DOCTYPETableAdapter = Nothing
|
||||||
Me.TableAdapterManager.TBHOTKEY_PATTERNS_REWORKTableAdapter = Nothing
|
|
||||||
Me.TableAdapterManager.TBHOTKEY_PATTERNSTableAdapter = Nothing
|
|
||||||
Me.TableAdapterManager.TBHOTKEY_PROFILETableAdapter = Nothing
|
|
||||||
Me.TableAdapterManager.TBHOTKEY_USER_PROFILETableAdapter = Nothing
|
|
||||||
Me.TableAdapterManager.TBHOTKEY_WINDOW_HOOKTableAdapter = Nothing
|
|
||||||
Me.TableAdapterManager.UpdateOrder = Global_Indexer.MyDatasetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete
|
Me.TableAdapterManager.UpdateOrder = Global_Indexer.MyDatasetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete
|
||||||
'
|
'
|
||||||
'TBDD_DOKUMENTARTTableAdapter
|
'TBDD_DOKUMENTARTTableAdapter
|
||||||
|
|||||||
@@ -153,8 +153,8 @@
|
|||||||
<metadata name="IDX_EMAIL_TOLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="IDX_EMAIL_TOLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>False</value>
|
<value>False</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<assembly alias="DevExpress.Data.v19.2" name="DevExpress.Data.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
<assembly alias="DevExpress.Data.v21.2" name="DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||||
<data name="BarButtonItem1.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v19.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="BarButtonItem1.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
||||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||||
@@ -172,7 +172,7 @@
|
|||||||
Cjwvc3ZnPgs=
|
Cjwvc3ZnPgs=
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="BarButtonItem2.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v19.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="BarButtonItem2.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
||||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||||
@@ -188,7 +188,7 @@
|
|||||||
IC8+DQo8L3N2Zz4L
|
IC8+DQo8L3N2Zz4L
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="BarButtonItem3.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v19.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="BarButtonItem3.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
||||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||||
@@ -209,7 +209,7 @@
|
|||||||
bGFzcz0iR3JlZW4iIC8+DQogIDwvZz4NCjwvc3ZnPgs=
|
bGFzcz0iR3JlZW4iIC8+DQogIDwvZz4NCjwvc3ZnPgs=
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="BarButtonItem4.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v19.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="BarButtonItem4.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v21.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE5LjIsIFZlcnNpb249MTkuMi4z
|
||||||
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ Public Class frmEmailIndexing
|
|||||||
Private Sub BarButtonItem4_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem4.ItemClick
|
Private Sub BarButtonItem4_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem4.ItemClick
|
||||||
Try
|
Try
|
||||||
Dim oSQL = $"DELETE FROM TBGI_OBJECTTYPE_EMAIL_INDEX WHERE OBJECTTYPE = '{OBJECTTYPETextBox.Text}'"
|
Dim oSQL = $"DELETE FROM TBGI_OBJECTTYPE_EMAIL_INDEX WHERE OBJECTTYPE = '{OBJECTTYPETextBox.Text}'"
|
||||||
ClassDatabase.Execute_non_Query(oSQL)
|
DATABASE_ECM.ExecuteNonQuery(oSQL)
|
||||||
TBGI_OBJECTTYPE_EMAIL_INDEXTableAdapter.Fill(MyDataset.TBGI_OBJECTTYPE_EMAIL_INDEX, OBJECTTYPETextBox.Text)
|
TBGI_OBJECTTYPE_EMAIL_INDEXTableAdapter.Fill(MyDataset.TBGI_OBJECTTYPE_EMAIL_INDEX, OBJECTTYPETextBox.Text)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LOGGER.Error(ex)
|
LOGGER.Error(ex)
|
||||||
|
|||||||
5
Global_Indexer/frmHistory.Designer.vb
generated
@@ -167,11 +167,6 @@ Partial Class frmHistory
|
|||||||
Me.TableAdapterManager.TBDD_USERTableAdapter = Nothing
|
Me.TableAdapterManager.TBDD_USERTableAdapter = Nothing
|
||||||
Me.TableAdapterManager.TBGI_CONFIGURATIONTableAdapter = Nothing
|
Me.TableAdapterManager.TBGI_CONFIGURATIONTableAdapter = Nothing
|
||||||
Me.TableAdapterManager.TBGI_OBJECTTYPE_EMAIL_INDEXTableAdapter = Nothing
|
Me.TableAdapterManager.TBGI_OBJECTTYPE_EMAIL_INDEXTableAdapter = Nothing
|
||||||
Me.TableAdapterManager.TBHOTKEY_PATTERNS_REWORKTableAdapter = Nothing
|
|
||||||
Me.TableAdapterManager.TBHOTKEY_PATTERNSTableAdapter = Nothing
|
|
||||||
Me.TableAdapterManager.TBHOTKEY_PROFILETableAdapter = Nothing
|
|
||||||
Me.TableAdapterManager.TBHOTKEY_USER_PROFILETableAdapter = Nothing
|
|
||||||
Me.TableAdapterManager.TBHOTKEY_WINDOW_HOOKTableAdapter = Nothing
|
|
||||||
Me.TableAdapterManager.UpdateOrder = Global_Indexer.MyDatasetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete
|
Me.TableAdapterManager.UpdateOrder = Global_Indexer.MyDatasetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete
|
||||||
'
|
'
|
||||||
'GridControl1
|
'GridControl1
|
||||||
|
|||||||
@@ -196,8 +196,8 @@
|
|||||||
<data name="ToolStripButton1.Text" xml:space="preserve">
|
<data name="ToolStripButton1.Text" xml:space="preserve">
|
||||||
<value>Alle Dateien laden</value>
|
<value>Alle Dateien laden</value>
|
||||||
</data>
|
</data>
|
||||||
<assembly alias="DevExpress.XtraEditors.v19.2" name="DevExpress.XtraEditors.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
<assembly alias="DevExpress.XtraEditors.v21.2" name="DevExpress.XtraEditors.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||||
<data name="GridControl1.EmbeddedNavigator.TextLocation" type="DevExpress.XtraEditors.NavigatorButtonsTextLocation, DevExpress.XtraEditors.v19.2">
|
<data name="GridControl1.EmbeddedNavigator.TextLocation" type="DevExpress.XtraEditors.NavigatorButtonsTextLocation, DevExpress.XtraEditors.v21.2">
|
||||||
<value>Center</value>
|
<value>Center</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="colFILENAME_NEW.Width" type="System.Int32, mscorlib">
|
<data name="colFILENAME_NEW.Width" type="System.Int32, mscorlib">
|
||||||
@@ -222,7 +222,7 @@
|
|||||||
<value>0</value>
|
<value>0</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>colGUID.Type" xml:space="preserve">
|
<data name=">>colGUID.Type" xml:space="preserve">
|
||||||
<value>DevExpress.XtraGrid.Columns.GridColumn, DevExpress.XtraGrid.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
<value>DevExpress.XtraGrid.Columns.GridColumn, DevExpress.XtraGrid.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="GridControl1.EmbeddedNavigator.AccessibleDescription" type="System.Resources.ResXNullRef, System.Windows.Forms">
|
<data name="GridControl1.EmbeddedNavigator.AccessibleDescription" type="System.Resources.ResXNullRef, System.Windows.Forms">
|
||||||
<value />
|
<value />
|
||||||
@@ -257,8 +257,8 @@
|
|||||||
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>1089, 362</value>
|
<value>1089, 362</value>
|
||||||
</data>
|
</data>
|
||||||
<assembly alias="DevExpress.Utils.v19.2" name="DevExpress.Utils.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
<assembly alias="DevExpress.Utils.v21.2" name="DevExpress.Utils.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||||
<data name="GridControl1.EmbeddedNavigator.ToolTipIconType" type="DevExpress.Utils.ToolTipIconType, DevExpress.Utils.v19.2">
|
<data name="GridControl1.EmbeddedNavigator.ToolTipIconType" type="DevExpress.Utils.ToolTipIconType, DevExpress.Utils.v21.2">
|
||||||
<value>None</value>
|
<value>None</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="GridControl1.TabIndex" type="System.Int32, mscorlib">
|
<data name="GridControl1.TabIndex" type="System.Int32, mscorlib">
|
||||||
@@ -268,7 +268,7 @@
|
|||||||
<value>colADDED_WHEN</value>
|
<value>colADDED_WHEN</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>colFILENAME_ORIGINAL.Type" xml:space="preserve">
|
<data name=">>colFILENAME_ORIGINAL.Type" xml:space="preserve">
|
||||||
<value>DevExpress.XtraGrid.Columns.GridColumn, DevExpress.XtraGrid.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
<value>DevExpress.XtraGrid.Columns.GridColumn, DevExpress.XtraGrid.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>$this.Type" xml:space="preserve">
|
<data name=">>$this.Type" xml:space="preserve">
|
||||||
<value>System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
@@ -310,7 +310,7 @@
|
|||||||
<value>System.Windows.Forms.ToolStripLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Windows.Forms.ToolStripLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>colFILENAME_NEW.Type" xml:space="preserve">
|
<data name=">>colFILENAME_NEW.Type" xml:space="preserve">
|
||||||
<value>DevExpress.XtraGrid.Columns.GridColumn, DevExpress.XtraGrid.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
<value>DevExpress.XtraGrid.Columns.GridColumn, DevExpress.XtraGrid.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="colADDED_WHEN.Caption" xml:space="preserve">
|
<data name="colADDED_WHEN.Caption" xml:space="preserve">
|
||||||
<value>Erstellt wann</value>
|
<value>Erstellt wann</value>
|
||||||
@@ -328,7 +328,7 @@
|
|||||||
<value>True</value>
|
<value>True</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>colADDED_WHEN.Type" xml:space="preserve">
|
<data name=">>colADDED_WHEN.Type" xml:space="preserve">
|
||||||
<value>DevExpress.XtraGrid.Columns.GridColumn, DevExpress.XtraGrid.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
<value>DevExpress.XtraGrid.Columns.GridColumn, DevExpress.XtraGrid.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="$this.Font" type="System.Drawing.Font, System.Drawing">
|
<data name="$this.Font" type="System.Drawing.Font, System.Drawing">
|
||||||
<value>Segoe UI, 8.25pt</value>
|
<value>Segoe UI, 8.25pt</value>
|
||||||
@@ -337,7 +337,7 @@
|
|||||||
<value>Nächste verschieben</value>
|
<value>Nächste verschieben</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>GridView1.Type" xml:space="preserve">
|
<data name=">>GridView1.Type" xml:space="preserve">
|
||||||
<value>DevExpress.XtraGrid.Views.Grid.GridView, DevExpress.XtraGrid.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
<value>DevExpress.XtraGrid.Views.Grid.GridView, DevExpress.XtraGrid.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="GridControl1.EmbeddedNavigator.BackgroundImageLayout" type="System.Windows.Forms.ImageLayout, System.Windows.Forms">
|
<data name="GridControl1.EmbeddedNavigator.BackgroundImageLayout" type="System.Windows.Forms.ImageLayout, System.Windows.Forms">
|
||||||
<value>Tile</value>
|
<value>Tile</value>
|
||||||
@@ -400,7 +400,7 @@
|
|||||||
<value>6, 25</value>
|
<value>6, 25</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>GridControl1.Type" xml:space="preserve">
|
<data name=">>GridControl1.Type" xml:space="preserve">
|
||||||
<value>DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
<value>DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="TBGI_HISTORYBindingNavigator.Text" xml:space="preserve">
|
<data name="TBGI_HISTORYBindingNavigator.Text" xml:space="preserve">
|
||||||
<value>BindingNavigator1</value>
|
<value>BindingNavigator1</value>
|
||||||
@@ -456,8 +456,8 @@
|
|||||||
<data name=">>TBGI_HISTORYBindingNavigator.ZOrder" xml:space="preserve">
|
<data name=">>TBGI_HISTORYBindingNavigator.ZOrder" xml:space="preserve">
|
||||||
<value>1</value>
|
<value>1</value>
|
||||||
</data>
|
</data>
|
||||||
<assembly alias="DevExpress.Data.v19.2" name="DevExpress.Data.v19.2, Version=19.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
<assembly alias="DevExpress.Data.v21.2" name="DevExpress.Data.v21.2, Version=21.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
|
||||||
<data name="GridControl1.EmbeddedNavigator.AllowHtmlTextInToolTip" type="DevExpress.Utils.DefaultBoolean, DevExpress.Data.v19.2">
|
<data name="GridControl1.EmbeddedNavigator.AllowHtmlTextInToolTip" type="DevExpress.Utils.DefaultBoolean, DevExpress.Data.v21.2">
|
||||||
<value>Default</value>
|
<value>Default</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="colFILENAME_NEW.VisibleIndex" type="System.Int32, mscorlib">
|
<data name="colFILENAME_NEW.VisibleIndex" type="System.Int32, mscorlib">
|
||||||
|
|||||||
2023
Global_Indexer/frmHotKey_Add.Designer.vb
generated
@@ -1,825 +0,0 @@
|
|||||||
Public Class frmHotKey_Add
|
|
||||||
Dim Form_loaded As Boolean = False
|
|
||||||
Private Control_Sequence As Integer
|
|
||||||
Private Sub ObjektTypenEintragen()
|
|
||||||
Try
|
|
||||||
' Combobox leeren
|
|
||||||
Me.cmbObjekttyp.Items.Clear()
|
|
||||||
' alle Objekttypen durchlaufen
|
|
||||||
For Each otype As String In WINDREAM.ObjectTypes
|
|
||||||
' und in die Combobox eintragen
|
|
||||||
Me.cmbObjekttyp.Items.Add(otype)
|
|
||||||
Next
|
|
||||||
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Fehlernachricht:" & vbNewLine & ex.Message, MsgBoxStyle.Critical, "Unexpected error inm Eintragen der Objekttypen")
|
|
||||||
End Try
|
|
||||||
|
|
||||||
End Sub
|
|
||||||
Private Sub btnpnlStart_weiter_Click(sender As Object, e As EventArgs) Handles btnpnlStart_weiter.Click
|
|
||||||
If ListBox_FormTitles.SelectedIndex <> -1 Then
|
|
||||||
GroupBox2_Controls.Visible = True
|
|
||||||
List_Controls(ListBox_FormTitles.SelectedItem, 1)
|
|
||||||
Else
|
|
||||||
GroupBox2_Controls.Visible = False
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub frmHotKey_Add_Load(sender As Object, e As EventArgs) Handles Me.Load
|
|
||||||
|
|
||||||
Me.TBDD_USERTableAdapter.Connection.ConnectionString = MyConnectionString
|
|
||||||
Me.TBHOTKEY_PATTERNSTableAdapter.Connection.ConnectionString = MyConnectionString
|
|
||||||
Me.TBHOTKEY_PROFILETableAdapter.Connection.ConnectionString = MyConnectionString
|
|
||||||
Me.TBHOTKEY_USER_PROFILETableAdapter.Connection.ConnectionString = MyConnectionString
|
|
||||||
Me.TBHOTKEY_PATTERNS_REWORKTableAdapter.Connection.ConnectionString = MyConnectionString
|
|
||||||
Me.TBHOTKEY_WINDOW_HOOKTableAdapter.Connection.ConnectionString = MyConnectionString
|
|
||||||
TabControlDetails.SelectedIndex = 0
|
|
||||||
TabControl1.SelectedIndex = 0
|
|
||||||
Load_Profiles()
|
|
||||||
load_users()
|
|
||||||
GroupBox1.Visible = True
|
|
||||||
GroupBox2_Controls.Visible = False
|
|
||||||
GroupBoxMainWindow.Visible = False
|
|
||||||
If IDB_ACTIVE = False Then
|
|
||||||
ObjektTypenEintragen()
|
|
||||||
End If
|
|
||||||
|
|
||||||
|
|
||||||
End Sub
|
|
||||||
Sub load_users()
|
|
||||||
Try
|
|
||||||
Me.TBDD_USERTableAdapter.Fill(Me.MyDataset.TBDD_USER)
|
|
||||||
chklbUser.Items.Clear()
|
|
||||||
For Each row As DataRow In MyDataset.TBDD_USER.Rows
|
|
||||||
chklbUser.Items.Add(row.Item("USERNAME"))
|
|
||||||
Next
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Fehlernachricht:" & vbNewLine & ex.Message, MsgBoxStyle.Critical, "Unexpected error in Load_Users:")
|
|
||||||
End Try
|
|
||||||
End Sub
|
|
||||||
Sub Load_Profiles()
|
|
||||||
Try
|
|
||||||
Me.TBHOTKEY_PROFILETableAdapter.Fill(MyDataset.TBHOTKEY_PROFILE)
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Fehlernachricht:" & vbNewLine & ex.Message, MsgBoxStyle.Critical, "Unexpected error in Load_Profiles:")
|
|
||||||
End Try
|
|
||||||
End Sub
|
|
||||||
Sub List_FormTitles(Tabindex As Integer)
|
|
||||||
|
|
||||||
Try
|
|
||||||
Select Case Tabindex
|
|
||||||
Case 1
|
|
||||||
ListBox_FormTitles.Items.Clear()
|
|
||||||
Case 2
|
|
||||||
ListBox_MainWindows_Test.Items.Clear()
|
|
||||||
ListViewControls_Test.Items.Clear()
|
|
||||||
End Select
|
|
||||||
Dim enumerator As New ClassWindowAPI
|
|
||||||
For Each top As ClassWindowAPI.ApiWindow In enumerator.GetTopLevelWindows()
|
|
||||||
If top.MainWindowTitle <> "" And top.MainWindowTitle <> "Global Indexer" And top.MainWindowTitle <> "Hot Key - Administration" Then
|
|
||||||
Select Case Tabindex
|
|
||||||
Case 1
|
|
||||||
ListBox_FormTitles.Items.Add(top.MainWindowTitle)
|
|
||||||
Case 2
|
|
||||||
ListBox_MainWindows_Test.Items.Add(top.MainWindowTitle)
|
|
||||||
End Select
|
|
||||||
End If
|
|
||||||
Next top
|
|
||||||
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Error in List_FormTitles: " & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
End Try
|
|
||||||
End Sub
|
|
||||||
Private Function CheckFormTitle_isOpen(windowname As String)
|
|
||||||
Dim isopen As Boolean = False
|
|
||||||
Try
|
|
||||||
Dim enumerator As New ClassWindowAPI
|
|
||||||
For Each top As ClassWindowAPI.ApiWindow In enumerator.GetTopLevelWindows()
|
|
||||||
If top.MainWindowTitle <> "" And top.MainWindowTitle <> "Global Indexer" And top.MainWindowTitle <> "Hot Key - Administration" Then
|
|
||||||
If top.MainWindowTitle = windowname Then
|
|
||||||
Return True
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
Next top
|
|
||||||
Return False
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Error in CheckFormTitle_isOpen: " & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
Return False
|
|
||||||
End Try
|
|
||||||
End Function
|
|
||||||
|
|
||||||
Sub List_Controls(Title As String, Tabindex As Integer)
|
|
||||||
' Try
|
|
||||||
Select Case Tabindex
|
|
||||||
Case 1
|
|
||||||
If GroupBox2_Controls.Visible = False Then
|
|
||||||
GroupBox2_Controls.Visible = True
|
|
||||||
End If
|
|
||||||
ListViewControls.Items.Clear()
|
|
||||||
txtControl.Text = ""
|
|
||||||
Case 2
|
|
||||||
ListViewControls_Test.Items.Clear()
|
|
||||||
End Select
|
|
||||||
|
|
||||||
Dim enumerator As New ClassWindowAPI
|
|
||||||
'Jedes Fenster durchlaufen
|
|
||||||
For Each top As ClassWindowAPI.ApiWindow In enumerator.GetTopLevelWindows()
|
|
||||||
If top.MainWindowTitle.Contains(Title) Or top.MainWindowTitle.ToLower = Title.ToLower Then
|
|
||||||
Dim anz As Integer = 0
|
|
||||||
Control_Sequence = 0
|
|
||||||
'Jedes Control durchlaufen
|
|
||||||
For Each child As ClassWindowAPI.ApiWindow In enumerator.GetChildWindows(top.hWnd)
|
|
||||||
Select Case Tabindex
|
|
||||||
Case 1
|
|
||||||
If chkboxshowfilledControlsOnly.Checked Then
|
|
||||||
If child.MainWindowTitle <> "" Then
|
|
||||||
ListViewControls.Items.Add(Control_Sequence)
|
|
||||||
ListViewControls.Items(anz).SubItems.Add(child.hWnd.ToString)
|
|
||||||
ListViewControls.Items(anz).SubItems.Add(child.MainWindowTitle)
|
|
||||||
anz += 1
|
|
||||||
End If
|
|
||||||
Else
|
|
||||||
ListViewControls.Items.Add(Control_Sequence)
|
|
||||||
ListViewControls.Items(anz).SubItems.Add(child.hWnd.ToString)
|
|
||||||
ListViewControls.Items(anz).SubItems.Add(child.MainWindowTitle)
|
|
||||||
anz += 1
|
|
||||||
End If
|
|
||||||
Case 2
|
|
||||||
If chkboxshowfilledControlsOnly_Test.Checked Then
|
|
||||||
If child.MainWindowTitle <> "" Then
|
|
||||||
ListViewControls_Test.Items.Add(Control_Sequence)
|
|
||||||
ListViewControls_Test.Items(anz).SubItems.Add(child.hWnd.ToString)
|
|
||||||
ListViewControls_Test.Items(anz).SubItems.Add(child.MainWindowTitle)
|
|
||||||
anz += 1
|
|
||||||
End If
|
|
||||||
Else
|
|
||||||
ListViewControls_Test.Items.Add(Control_Sequence)
|
|
||||||
ListViewControls_Test.Items(anz).SubItems.Add(child.hWnd.ToString)
|
|
||||||
ListViewControls_Test.Items(anz).SubItems.Add(child.MainWindowTitle)
|
|
||||||
anz += 1
|
|
||||||
End If
|
|
||||||
'ListBox_Controls_Test.Items.Add("ID: " & child.hWnd.ToString & " || Aktueller Wert: " & child.MainWindowTitle)
|
|
||||||
End Select
|
|
||||||
Control_Sequence += 1
|
|
||||||
Next child
|
|
||||||
End If
|
|
||||||
Next top
|
|
||||||
'Catch ex As Exception
|
|
||||||
' MsgBox("Error in List_Controls: " & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
'End Try
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub ListBox_FormTitles_SelectedIndexChanged(sender As Object, e As EventArgs) Handles ListBox_FormTitles.SelectedIndexChanged
|
|
||||||
If ListBox_FormTitles.SelectedIndex <> -1 And GroupBox2_Controls.Visible = True Then
|
|
||||||
List_Controls(ListBox_FormTitles.SelectedItem, 1)
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub txtKey_KeyDown(sender As Object, e As KeyEventArgs) Handles txtKey.KeyDown
|
|
||||||
txtKey.Text = ""
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub btnGB1_Click(sender As Object, e As EventArgs) Handles btnGB1.Click
|
|
||||||
If txtProfilname.Text <> "" And txtWDSearch.Text <> "" And txtKey.Text <> "" And cmbFunktionstaste.Text <> "" Then
|
|
||||||
Me.GroupBoxMainWindow.Visible = True
|
|
||||||
List_FormTitles(1)
|
|
||||||
Else
|
|
||||||
MsgBox("Eingabe fehlt!", MsgBoxStyle.Exclamation)
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub TBHOTKEY_PROFILEBindingNavigatorSaveItem_Click(sender As Object, e As EventArgs)
|
|
||||||
Me.Validate()
|
|
||||||
Me.TBHOTKEY_PROFILEBindingSource.EndEdit()
|
|
||||||
Me.TableAdapterManager.UpdateAll(Me.MyDataset)
|
|
||||||
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles btnadd_Pattern.Click
|
|
||||||
Try
|
|
||||||
lblLinkadd.Visible = False
|
|
||||||
If txtPattern.Text = "" Then
|
|
||||||
Exit Sub
|
|
||||||
End If
|
|
||||||
Dim sql As String = "select max(guid) from tbhotkey_Profile where upper(name) = Upper('" & txtProfilname.Text & "')"
|
|
||||||
Dim kopf = ClassDatabase.Execute_Scalar(sql, MyConnectionString, True)
|
|
||||||
If IsDBNull(kopf) Then
|
|
||||||
TBHOTKEY_PROFILETableAdapter.Insert(txtProfilname.Text, "NONE", txtWDSearch.Text, cmbFunktionstaste.Text, txtKey.Text.ToUpper, ListBox_FormTitles.SelectedItem, Environment.UserName)
|
|
||||||
Else
|
|
||||||
TBHOTKEY_PROFILETableAdapter.cmdUpdate(txtProfilname.Text, "NONE", txtWDSearch.Text, cmbFunktionstaste.Text, txtKey.Text.ToUpper, ListBox_FormTitles.SelectedItem, Environment.UserName, kopf)
|
|
||||||
End If
|
|
||||||
lblSaveHotkey.Visible = True
|
|
||||||
sql = "select max(guid) from tbhotkey_Profile where upper(name) = Upper('" & txtProfilname.Text & "')"
|
|
||||||
Dim id = ClassDatabase.Execute_Scalar(sql, MyConnectionString, True)
|
|
||||||
If id > 0 Then
|
|
||||||
TBHOTKEY_PATTERNSTableAdapter.Insert(id, txtPattern.Text, Control_ID, Environment.UserName, txtControl.Text)
|
|
||||||
lblLinkadd.Text = "Pattern-Link " & txtControl.Text & " || " & txtPattern.Text & " erfolgreich angelegt"
|
|
||||||
lblLinkadd.Visible = True
|
|
||||||
End If
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox(ex.Message, MsgBoxStyle.Exclamation, "Error in Add Pattern or Profile:")
|
|
||||||
End Try
|
|
||||||
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub txtPattern_TextChanged(sender As Object, e As EventArgs) Handles txtPattern.TextChanged
|
|
||||||
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
|
|
||||||
Private Sub Button1_Click_1(sender As Object, e As EventArgs) Handles Button1.Click
|
|
||||||
If Not Me.txtWDSearch.Text = "" Then
|
|
||||||
Me.OFDWindreamsuche.FileName = Me.txtWDSearch.Text
|
|
||||||
End If
|
|
||||||
|
|
||||||
If Me.OFDWindreamsuche.ShowDialog = Windows.Forms.DialogResult.OK Then
|
|
||||||
Me.txtWDSearch.Text = Me.OFDWindreamsuche.FileName
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
Private Sub TabControl1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles TabControlMain.SelectedIndexChanged
|
|
||||||
Select Case TabControlMain.SelectedIndex
|
|
||||||
|
|
||||||
Case 0
|
|
||||||
TabControl1.SelectedIndex = 0
|
|
||||||
TabControlDetails.SelectedIndex = 0
|
|
||||||
Load_Profiles()
|
|
||||||
Case 1
|
|
||||||
If NAMETextBox.Text <> "" And CheckFormTitle_isOpen(WINDOW_NAMETextBox.Text) = True Then
|
|
||||||
btnnewProfile.Visible = True
|
|
||||||
txtProfilname.Text = NAMETextBox.Text
|
|
||||||
txtWDSearch.Text = WD_SEARCHTextBox.Text
|
|
||||||
cmbFunktionstaste.SelectedIndex = cmbFunktionstaste.FindStringExact(HOTKEY1ComboBox.Text)
|
|
||||||
txtKey.Text = HOTKEY2TextBox.Text
|
|
||||||
Me.GroupBoxMainWindow.Visible = True
|
|
||||||
List_FormTitles(1)
|
|
||||||
ListBox_FormTitles.SelectedIndex = ListBox_FormTitles.FindStringExact(WINDOW_NAMETextBox.Text)
|
|
||||||
ListBox_FormTitles.SetSelected(ListBox_FormTitles.SelectedIndex, True)
|
|
||||||
GroupBox2_Controls.Visible = True
|
|
||||||
If Not IsNothing(ListBox_FormTitles.SelectedItem) Then
|
|
||||||
List_Controls(ListBox_FormTitles.SelectedItem, 1)
|
|
||||||
End If
|
|
||||||
Else
|
|
||||||
btnnewProfile.Visible = False
|
|
||||||
Me.GroupBoxMainWindow.Visible = False
|
|
||||||
GroupBox2_Controls.Visible = False
|
|
||||||
txtProfilname.Text = ""
|
|
||||||
txtWDSearch.Text = ""
|
|
||||||
cmbFunktionstaste.SelectedIndex = -1
|
|
||||||
txtKey.Text = ""
|
|
||||||
End If
|
|
||||||
Case 2
|
|
||||||
List_FormTitles(2)
|
|
||||||
End Select
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
|
|
||||||
List_FormTitles(2)
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub ListBox_MainWindows_Test_SelectedIndexChanged(sender As Object, e As EventArgs) Handles ListBox_MainWindows_Test.SelectedIndexChanged
|
|
||||||
If ListBox_MainWindows_Test.SelectedIndex <> -1 Then
|
|
||||||
List_Controls(ListBox_MainWindows_Test.SelectedItem, 2)
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub btndelete_Click(sender As Object, e As EventArgs) Handles btndelete.Click
|
|
||||||
Dim ID
|
|
||||||
Try
|
|
||||||
ID = GridView1.GetFocusedRowCellValue(GridView1.Columns("GUID"))
|
|
||||||
Catch ex As Exception
|
|
||||||
ID = 0
|
|
||||||
End Try
|
|
||||||
If ID > 1 Then
|
|
||||||
Dim result As MsgBoxResult
|
|
||||||
result = MessageBox.Show("Sind Sie sicher dass Sie dieses Hotkeyprofil löschen wollen?", "Bestätigung erforderlich:", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
|
|
||||||
If result = MsgBoxResult.Yes Then
|
|
||||||
Try
|
|
||||||
|
|
||||||
Dim del As String = "DELETE FROM TBHOTKEY_USER_PROFILE WHERE HKPROFILE_ID = " & ID
|
|
||||||
If ClassDatabase.Execute_non_Query(del, True) = True Then
|
|
||||||
del = "DELETE FROM TBHOTKEY_PATTERNS_REWORK WHERE HKPATTERN_ID IN (SELECT GUID FROM TBHOTKEY_PATTERNS WHERE HKPROFILE_ID = " & ID & ")"
|
|
||||||
If ClassDatabase.Execute_non_Query(del, True) = True Then
|
|
||||||
del = "DELETE FROM TBHOTKEY_PATTERNS WHERE HKPROFILE_ID = " & ID
|
|
||||||
If ClassDatabase.Execute_non_Query(del, True) = True Then
|
|
||||||
del = "DELETE FROM TBHOTKEY_WINDOW_HOOK WHERE HKPROFILE_ID = " & ID
|
|
||||||
If ClassDatabase.Execute_non_Query(del, True) = True Then
|
|
||||||
del = "DELETE FROM TBHOTKEY_PROFILE WHERE GUID = " & ID
|
|
||||||
If ClassDatabase.Execute_non_Query(del, True) = True Then
|
|
||||||
LOGGER.Info(">> Hotkey-Profil: " & ID & " wurde gelöscht!")
|
|
||||||
Load_Profiles()
|
|
||||||
Load_UserForProfiles()
|
|
||||||
MsgBox("Profil wurde erfolgreich gelöscht!", MsgBoxStyle.Information, "Erfolgsmeldung")
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox(ex.Message, MsgBoxStyle.Exclamation, "Error in Delete Profiles: ")
|
|
||||||
End Try
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub btnUserAdd_Profile_Click(sender As Object, e As EventArgs) Handles btnUserAdd_Profile.Click
|
|
||||||
Try
|
|
||||||
Dim added As Integer = 0
|
|
||||||
Dim items As CheckedListBox.CheckedItemCollection = chklbUser.CheckedItems
|
|
||||||
Dim ID
|
|
||||||
Try
|
|
||||||
ID = GridView1.GetFocusedRowCellValue(GridView1.Columns("GUID"))
|
|
||||||
Catch ex As Exception
|
|
||||||
ID = 0
|
|
||||||
End Try
|
|
||||||
If ID > 1 And items.Count > 0 Then
|
|
||||||
For Each item In items
|
|
||||||
Dim SQL
|
|
||||||
SQL = "SELECT GUID FROM TBDD_USER WHERE USERNAME = '" & item.ToString & "'"
|
|
||||||
Dim userid = ClassDatabase.Execute_Scalar(SQL, MyConnectionString, True)
|
|
||||||
|
|
||||||
SQL = "SELECT COUNT(*) FROM TBHOTKEY_USER_PROFILE WHERE USER_ID = " & userid & " and HKPROFILE_ID = " & ID
|
|
||||||
Dim exists = ClassDatabase.Execute_Scalar(SQL, MyConnectionString, True)
|
|
||||||
If exists = 0 Then
|
|
||||||
TBHOTKEY_USER_PROFILETableAdapter.cmdInsert(userid, ID)
|
|
||||||
added += 1
|
|
||||||
End If
|
|
||||||
|
|
||||||
Next
|
|
||||||
|
|
||||||
Else
|
|
||||||
MsgBox("Keine Benutzer und/oder kein Profil ausgewählt")
|
|
||||||
Exit Sub
|
|
||||||
End If
|
|
||||||
|
|
||||||
If added >= 1 Then
|
|
||||||
MsgBox(added & " neue Profil/User-Verknüpfungen angelegt!", MsgBoxStyle.Information)
|
|
||||||
Load_UserForProfiles()
|
|
||||||
Else
|
|
||||||
MsgBox("Keine Verknüpfungen angelegt!", MsgBoxStyle.Information)
|
|
||||||
End If
|
|
||||||
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Error in Add MyHotkey: " & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
End Try
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub AlleAuswählenToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles AlleAuswählenToolStripMenuItem.Click
|
|
||||||
If TabControl1.SelectedIndex = 1 Then
|
|
||||||
For i = 0 To chklbUser.Items.Count - 1
|
|
||||||
chklbUser.SetItemChecked(i, True)
|
|
||||||
Next
|
|
||||||
ElseIf TabControl1.SelectedIndex = 2 Then
|
|
||||||
For i = 0 To chklbUserProfile.Items.Count - 1
|
|
||||||
chklbUserProfile.SetItemChecked(i, True)
|
|
||||||
Next
|
|
||||||
End If
|
|
||||||
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub KeineAuswählenToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles KeineAuswählenToolStripMenuItem.Click
|
|
||||||
If TabControl1.SelectedIndex = 1 Then
|
|
||||||
For i = 0 To chklbUser.Items.Count - 1
|
|
||||||
chklbUser.SetItemChecked(i, False)
|
|
||||||
Next
|
|
||||||
ElseIf TabControl1.SelectedIndex = 2 Then
|
|
||||||
For i = 0 To chklbUserProfile.Items.Count - 1
|
|
||||||
chklbUserProfile.SetItemChecked(i, False)
|
|
||||||
Next
|
|
||||||
End If
|
|
||||||
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub TabControl2_SelectedIndexChanged(sender As Object, e As EventArgs) Handles TabControl1.SelectedIndexChanged
|
|
||||||
GroupBoxPatterns.Visible = False
|
|
||||||
Select Case TabControl1.SelectedIndex
|
|
||||||
Case 0
|
|
||||||
GroupBoxPatterns.Visible = True
|
|
||||||
Case 2
|
|
||||||
Load_UserForProfiles()
|
|
||||||
End Select
|
|
||||||
End Sub
|
|
||||||
Sub Load_UserForProfiles()
|
|
||||||
Try
|
|
||||||
Dim ID
|
|
||||||
Try
|
|
||||||
ID = GridView1.GetFocusedRowCellValue(GridView1.Columns("GUID"))
|
|
||||||
Catch ex As Exception
|
|
||||||
ID = 0
|
|
||||||
End Try
|
|
||||||
If ID > 1 Then
|
|
||||||
chklbUserProfile.Items.Clear()
|
|
||||||
Dim SQL = "SELECT T.USERNAME FROM TBHOTKEY_USER_PROFILE T1, TBDD_USER T WHERE T.GUID = T1.USER_ID and T1.HKPROFILE_ID = " & ID
|
|
||||||
Dim DT As DataTable = ClassDatabase.Return_Datatable(SQL, True)
|
|
||||||
If Not IsNothing(DT) Then
|
|
||||||
For Each dr As DataRow In DT.Rows
|
|
||||||
chklbUserProfile.Items.Add(dr.Item(0))
|
|
||||||
Next
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Error in LoadUserForProfiles: " & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
End Try
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub ListBox_Profiles_SelectedIndexChanged(sender As Object, e As EventArgs)
|
|
||||||
Dim ID
|
|
||||||
Try
|
|
||||||
ID = GridView1.GetFocusedRowCellValue(GridView1.Columns("GUID"))
|
|
||||||
Catch ex As Exception
|
|
||||||
ID = 0
|
|
||||||
End Try
|
|
||||||
If ID > 0 Then
|
|
||||||
Select Case TabControl1.SelectedIndex
|
|
||||||
Case 1
|
|
||||||
'Try
|
|
||||||
' TBHOTKEY_PROFILETableAdapter.FillByID(MyDataset.TBHOTKEY_PROFILE, ListBox_Profiles.SelectedValue)
|
|
||||||
'Catch ex As Exception
|
|
||||||
' MsgBox("Error in Fillby Profile-ID: " & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
'End Try
|
|
||||||
Load_Patterns()
|
|
||||||
Load_MatchPatterns()
|
|
||||||
Case 2
|
|
||||||
Load_UserForProfiles()
|
|
||||||
End Select
|
|
||||||
lblSave.Visible = False
|
|
||||||
End If
|
|
||||||
|
|
||||||
|
|
||||||
End Sub
|
|
||||||
Sub Load_Patterns()
|
|
||||||
Try
|
|
||||||
TBHOTKEY_PATTERNSTableAdapter.Fill(MyDataset.TBHOTKEY_PATTERNS, GUIDTextBox.Text)
|
|
||||||
tslbl_Hotkeywindow.Text = WINDOW_NAMETextBox.Text
|
|
||||||
tslbl_HotkeySequence.Text = SEQUENCE_NUMBERTextBox.Text
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Error in Fill Patterns: " & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
End Try
|
|
||||||
End Sub
|
|
||||||
Sub Load_MatchPatterns()
|
|
||||||
Try
|
|
||||||
TBHOTKEY_WINDOW_HOOKTableAdapter.Fill(MyDataset.TBHOTKEY_WINDOW_HOOK, GUIDTextBox.Text)
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Error in Fill Match-Patterns: " & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
End Try
|
|
||||||
End Sub
|
|
||||||
Private Sub btndeleteUserProfile_Click(sender As Object, e As EventArgs) Handles btndeleteUserProfile.Click
|
|
||||||
Try
|
|
||||||
Dim deleted As Integer = 0
|
|
||||||
Dim items As CheckedListBox.CheckedItemCollection = chklbUserProfile.CheckedItems
|
|
||||||
Dim ID
|
|
||||||
Try
|
|
||||||
ID = GridView1.GetFocusedRowCellValue(GridView1.Columns("GUID"))
|
|
||||||
Catch ex As Exception
|
|
||||||
ID = 0
|
|
||||||
End Try
|
|
||||||
If ID > 1 And items.Count > 0 Then
|
|
||||||
For Each item In items
|
|
||||||
Dim SQL
|
|
||||||
SQL = "SELECT GUID FROM TBDD_USER WHERE USERNAME = '" & item.ToString & "'"
|
|
||||||
Dim userid = ClassDatabase.Execute_Scalar(SQL, MyConnectionString, True)
|
|
||||||
If IsNothing(userid) Then
|
|
||||||
MsgBox("Unerwarteter Unexpected error inm Holen der User-ID!", MsgBoxStyle.Exclamation)
|
|
||||||
Exit Sub
|
|
||||||
End If
|
|
||||||
SQL = "SELECT GUID FROM TBHOTKEY_USER_PROFILE WHERE USER_ID = " & userid & " and HKPROFILE_ID = " & ID
|
|
||||||
Dim ID1 = ClassDatabase.Execute_Scalar(SQL, MyConnectionString, True)
|
|
||||||
If ID1 > 0 Then
|
|
||||||
TBHOTKEY_USER_PROFILETableAdapter.Delete(ID1)
|
|
||||||
deleted += 1
|
|
||||||
End If
|
|
||||||
Next
|
|
||||||
|
|
||||||
Else
|
|
||||||
MsgBox("Keine Benutzer und/oder kein Profil ausgewählt")
|
|
||||||
Exit Sub
|
|
||||||
End If
|
|
||||||
|
|
||||||
If deleted >= 1 Then
|
|
||||||
MsgBox(deleted & " Profilbeziehungen wurden gelöscht!", MsgBoxStyle.Information)
|
|
||||||
Load_UserForProfiles()
|
|
||||||
End If
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Error in Delete Profile for Users: " & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
End Try
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub btnsave_Click(sender As Object, e As EventArgs) Handles btnsave.Click
|
|
||||||
Try
|
|
||||||
TBHOTKEY_PROFILEBindingSource.EndEdit()
|
|
||||||
If Me.MyDataset.TBHOTKEY_PROFILE.GetChanges Is Nothing = False Then
|
|
||||||
Me.CHANGED_WHOTextBox.Text = Environment.UserName
|
|
||||||
TBHOTKEY_PROFILEBindingSource.EndEdit()
|
|
||||||
TBHOTKEY_PROFILETableAdapter.Update(MyDataset.TBHOTKEY_PROFILE)
|
|
||||||
Me.lblSave.Visible = True
|
|
||||||
Dim result As MsgBoxResult
|
|
||||||
If USER_LANGUAGE = "de-DE" Then
|
|
||||||
result = MessageBox.Show("Wollen Sie die Änderungen im Hotkey-Profil auch in den Userprofilen vornehmen?", "Bestätigung erforderlich:", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
|
|
||||||
Else
|
|
||||||
result = MessageBox.Show("Dow You want to update the userprofiles also with the changes in the profile?", "Confirmation required:", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
|
|
||||||
End If
|
|
||||||
If result = MsgBoxResult.Yes Then
|
|
||||||
Try
|
|
||||||
Dim update = "UPDATE TBHOTKEY_USER_PROFILE SET WD_SEARCH = '" & WD_SEARCHTextBox.Text & "', HOTKEY1 = '" & HOTKEY1ComboBox.Text & "', HOTKEY2 = '" & HOTKEY2TextBox.Text & "' WHERE HKPROFILE_ID = " & GUIDTextBox.Text
|
|
||||||
If ClassDatabase.Execute_non_Query(update, True) Then
|
|
||||||
If USER_LANGUAGE = "de-DE" Then
|
|
||||||
MsgBox("User-Profile erfolgreich aktualisiert!", MsgBoxStyle.Information)
|
|
||||||
Else
|
|
||||||
MsgBox("Userprofiles successfull updated!", MsgBoxStyle.Information)
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Error in Refresh Userprofiles: " & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
End Try
|
|
||||||
End If
|
|
||||||
Else
|
|
||||||
Me.lblSave.Visible = False
|
|
||||||
End If
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Error in Save My Profile: " & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
End Try
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
|
|
||||||
If Not Me.WD_SEARCHTextBox.Text = "" Then
|
|
||||||
Me.OFDWindreamsuche.FileName = Me.WD_SEARCHTextBox.Text
|
|
||||||
End If
|
|
||||||
|
|
||||||
If Me.OFDWindreamsuche.ShowDialog = Windows.Forms.DialogResult.OK Then
|
|
||||||
Me.WD_SEARCHTextBox.Text = Me.OFDWindreamsuche.FileName
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub Fill_Rework(PATT_ID As Integer)
|
|
||||||
Try
|
|
||||||
Me.TBHOTKEY_PATTERNS_REWORKTableAdapter.Fill(Me.MyDataset.TBHOTKEY_PATTERNS_REWORK, PATT_ID)
|
|
||||||
Catch ex As System.Exception
|
|
||||||
MsgBox("Error in Load Rework-Step:" & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
End Try
|
|
||||||
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
|
|
||||||
Private Sub ListBoxPatterns_SelectedIndexChanged(sender As Object, e As EventArgs) Handles ListBoxPatterns.SelectedIndexChanged
|
|
||||||
If ListBoxPatterns.SelectedIndex <> -1 Then
|
|
||||||
Fill_Rework(ListBoxPatterns.SelectedValue)
|
|
||||||
tslbl_Hotkeywindow.Text = WINDOW_NAMETextBox.Text
|
|
||||||
tslbl_HotkeySequence.Text = SEQUENCE_NUMBERTextBox.Text
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
|
|
||||||
Private Sub ToolStripButton1_Click(sender As Object, e As EventArgs) Handles ToolStripButton1.Click
|
|
||||||
Try
|
|
||||||
TBHOTKEY_PATTERNS_REWORKBindingSource.EndEdit()
|
|
||||||
If Me.MyDataset.TBHOTKEY_PATTERNS_REWORK.GetChanges Is Nothing = False Then
|
|
||||||
Me.CHANGED_WHOTextBox1.Text = Environment.UserName
|
|
||||||
TBHOTKEY_PATTERNS_REWORKBindingSource.EndEdit()
|
|
||||||
TBHOTKEY_PATTERNS_REWORKTableAdapter.Update(MyDataset.TBHOTKEY_PATTERNS_REWORK)
|
|
||||||
Me.lblsavePatternsRework.Visible = True
|
|
||||||
Else
|
|
||||||
Me.lblsavePatternsRework.Visible = False
|
|
||||||
End If
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Error in Save Reowrk Patterns: " & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
End Try
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub TBHOTKEY_PATTERNSBindingSource_AddingNew(sender As Object, e As System.ComponentModel.AddingNewEventArgs) Handles TBHOTKEY_PATTERNSBindingSource.AddingNew
|
|
||||||
MyDataset.TBHOTKEY_PATTERNS_REWORK.ADDED_WHOColumn.DefaultValue = Environment.UserName
|
|
||||||
End Sub
|
|
||||||
Private Sub TYPEComboBox_SelectedIndexChanged(sender As Object, e As EventArgs) Handles TYPEComboBox.SelectedIndexChanged
|
|
||||||
If TYPEComboBox.SelectedIndex <> -1 Then
|
|
||||||
Me.TEXT1TextBox.Visible = True
|
|
||||||
Me.Text1Label.Visible = True
|
|
||||||
Me.TEXT2TextBox.Visible = True
|
|
||||||
Me.Text2Label.Visible = True
|
|
||||||
Me.btnRegexTest.Visible = False
|
|
||||||
|
|
||||||
TEXT1TextBox.Size = New Size(50, 22)
|
|
||||||
lblHinweisRework1.Visible = False
|
|
||||||
|
|
||||||
Me.FUNCTION1TextBox.Visible = False
|
|
||||||
Me.FUNCTION2TextBox.Visible = False
|
|
||||||
Me.Function1Label.Visible = False
|
|
||||||
Me.Function2Label.Visible = False
|
|
||||||
FUNCTION1TextBox.Size = New Size(111, 22)
|
|
||||||
|
|
||||||
Select Case TYPEComboBox.Text
|
|
||||||
Case "VBREPLACE"
|
|
||||||
Me.Text1Label.Text = "Old Value:"
|
|
||||||
Me.Text2Label.Text = "New Value:"
|
|
||||||
|
|
||||||
Case "VBSPLIT"
|
|
||||||
Me.Text1Label.Text = "Split-Zeichen:"
|
|
||||||
lblHinweisRework1.Text = "(Zahl) - Achtung Nullbasierend: Erstes Vorkommen = '0'"
|
|
||||||
lblHinweisRework1.Visible = True
|
|
||||||
Me.Text2Label.Text = "Vorkommen:"
|
|
||||||
Case "Regular Expression"
|
|
||||||
Me.Text1Label.Text = "Regular Expression:"
|
|
||||||
TEXT1TextBox.Size = New Size(400, 22)
|
|
||||||
Me.Text2Label.Visible = False
|
|
||||||
Me.TEXT2TextBox.Visible = False
|
|
||||||
|
|
||||||
Me.Function1Label.Text = "Test-String Regex:"
|
|
||||||
Me.FUNCTION1TextBox.Text = ""
|
|
||||||
FUNCTION1TextBox.Size = New Size(138, 22)
|
|
||||||
Me.FUNCTION1TextBox.Visible = True
|
|
||||||
Me.Function1Label.Visible = True
|
|
||||||
Me.btnRegexTest.Visible = True
|
|
||||||
End Select
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
Private Sub TBHOTKEY_PATTERNS_REWORKBindingSource_AddingNew(sender As Object, e As System.ComponentModel.AddingNewEventArgs) Handles TBHOTKEY_PATTERNS_REWORKBindingSource.AddingNew
|
|
||||||
If ListBoxPatterns.SelectedIndex <> -1 Then
|
|
||||||
MyDataset.TBHOTKEY_PATTERNS_REWORK.ADDED_WHOColumn.DefaultValue = Environment.UserName
|
|
||||||
MyDataset.TBHOTKEY_PATTERNS_REWORK.HKPATTERN_IDColumn.DefaultValue = ListBoxPatterns.SelectedValue
|
|
||||||
End If
|
|
||||||
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub GUIDTextBox_TextChanged(sender As Object, e As EventArgs) Handles GUIDTextBox.TextChanged
|
|
||||||
If GUIDTextBox.Text <> "" Then
|
|
||||||
Load_Patterns()
|
|
||||||
Load_MatchPatterns()
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub GUIDTextBox2_TextChanged(sender As Object, e As EventArgs) Handles GUIDTextBox2.TextChanged
|
|
||||||
If GUIDTextBox2.Text <> "" Then
|
|
||||||
Fill_Rework(GUIDTextBox2.Text)
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub btnRegexTest_Click(sender As Object, e As EventArgs) Handles btnRegexTest.Click
|
|
||||||
If Me.TEXT1TextBox.Text <> "" And FUNCTION1TextBox.Text <> "" Then
|
|
||||||
Dim RegexList As New List(Of System.Text.RegularExpressions.Regex)
|
|
||||||
Dim Regex As New System.Text.RegularExpressions.Regex(Me.TEXT1TextBox.Text, System.Text.RegularExpressions.RegexOptions.IgnoreCase)
|
|
||||||
|
|
||||||
RegexList.Add(Regex)
|
|
||||||
|
|
||||||
' Email Absender und Empfänger
|
|
||||||
Dim result = ClassPostprocessing.extractFromStringviaRE(FUNCTION1TextBox.Text, RegexList)
|
|
||||||
If Not IsNothing(result) Then
|
|
||||||
MsgBox("Das Ergebnis der Regular-Expression: '" & result.ToString & "'!", MsgBoxStyle.Information)
|
|
||||||
Else
|
|
||||||
MsgBox("Es konnte kein Ergebnis ermittelt werden!", MsgBoxStyle.Exclamation)
|
|
||||||
End If
|
|
||||||
|
|
||||||
End If
|
|
||||||
|
|
||||||
|
|
||||||
End Sub
|
|
||||||
Dim Control_ID As String
|
|
||||||
Private Sub ListViewControls_SelectedIndexChanged(sender As Object, e As EventArgs) Handles ListViewControls.SelectedIndexChanged
|
|
||||||
If Me.ListViewControls.SelectedItems.Count > 0 Then
|
|
||||||
Control_ID = Me.ListViewControls.SelectedItems(0).SubItems(1).Text
|
|
||||||
txtControl.Text = ListViewControls.SelectedItems(0).Text
|
|
||||||
txtControl_Match.Text = ListViewControls.SelectedItems(0).Text
|
|
||||||
txtValueMatch.Text = Me.ListViewControls.SelectedItems(0).SubItems(2).Text
|
|
||||||
txtPattern.Text = ""
|
|
||||||
If lblLinkadd.Visible Then
|
|
||||||
ListBox_FormTitles.Enabled = False
|
|
||||||
End If
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub chkboxshowfilledControlsOnly_Test_CheckedChanged(sender As Object, e As EventArgs) Handles chkboxshowfilledControlsOnly_Test.CheckedChanged
|
|
||||||
If ListBox_MainWindows_Test.SelectedIndex <> -1 Then
|
|
||||||
List_Controls(ListBox_MainWindows_Test.SelectedItem, 2)
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub chkboxshowfilledControlsOnly_CheckedChanged(sender As Object, e As EventArgs) Handles chkboxshowfilledControlsOnly.CheckedChanged
|
|
||||||
If ListBox_FormTitles.SelectedIndex <> -1 Then
|
|
||||||
List_Controls(ListBox_FormTitles.SelectedItem, 1)
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub btnadd_WindowMatch_Click(sender As Object, e As EventArgs) Handles btnadd_WindowMatch.Click
|
|
||||||
Try
|
|
||||||
Dim sql As String = "select max(guid) from tbhotkey_Profile where upper(name) = Upper('" & txtProfilname.Text & "')"
|
|
||||||
Dim kopf = ClassDatabase.Execute_Scalar(sql, MyConnectionString, True)
|
|
||||||
If IsDBNull(kopf) Then
|
|
||||||
TBHOTKEY_PROFILETableAdapter.Insert(txtProfilname.Text, "NONE", txtWDSearch.Text, cmbFunktionstaste.Text, txtKey.Text.ToUpper, ListBox_FormTitles.SelectedItem, Environment.UserName)
|
|
||||||
Else
|
|
||||||
TBHOTKEY_PROFILETableAdapter.cmdUpdate(txtProfilname.Text, "NONE", txtWDSearch.Text, cmbFunktionstaste.Text, txtKey.Text.ToUpper, ListBox_FormTitles.SelectedItem, Environment.UserName, kopf)
|
|
||||||
End If
|
|
||||||
lblSaveHotkey.Visible = True
|
|
||||||
sql = "select max(guid) from tbhotkey_Profile where upper(name) = Upper('" & txtProfilname.Text & "')"
|
|
||||||
Dim id = ClassDatabase.Execute_Scalar(sql, MyConnectionString, True)
|
|
||||||
If id > 0 Then
|
|
||||||
TBHOTKEY_WINDOW_HOOKTableAdapter.Insert(id, txtControl_Match.Text, txtValueMatch.Text, Environment.UserName)
|
|
||||||
lblMatchadd.Text = "Control-Matching " & txtControl_Match.Text & " || " & txtValueMatch.Text & " erfolgreich angelegt"
|
|
||||||
lblMatchadd.Visible = True
|
|
||||||
lblLinkadd.Visible = False
|
|
||||||
End If
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox(ex.Message, MsgBoxStyle.Exclamation, "Error in Add Control-Match:")
|
|
||||||
End Try
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub tsbtnsave_pattern_Click(sender As Object, e As EventArgs) Handles tsbtnsave_pattern.Click
|
|
||||||
Try
|
|
||||||
TBHOTKEY_PATTERNSBindingSource.EndEdit()
|
|
||||||
If Me.MyDataset.TBHOTKEY_PATTERNS.GetChanges Is Nothing = False Then
|
|
||||||
Me.CHANGED_WHOTextBox2.Text = Environment.UserName
|
|
||||||
TBHOTKEY_PATTERNSBindingSource.EndEdit()
|
|
||||||
TBHOTKEY_PATTERNSTableAdapter.Update(MyDataset.TBHOTKEY_PATTERNS)
|
|
||||||
Me.lblSavePAttern.Visible = True
|
|
||||||
Else
|
|
||||||
Me.lblSavePAttern.Visible = False
|
|
||||||
End If
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Error in Save Patterns: " & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
End Try
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub ToolStripButton2_Click(sender As Object, e As EventArgs) Handles ToolStripButton2.Click
|
|
||||||
Dim result As MsgBoxResult
|
|
||||||
result = MessageBox.Show("Sind Sie sicher dass Sie diesen Control-Match löschen wollen?", "Bestätigung erforderlich:", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
|
|
||||||
If result = MsgBoxResult.Yes Then
|
|
||||||
Try
|
|
||||||
TBHOTKEY_WINDOW_HOOKTableAdapter.Delete(GUIDTextBox3.Text)
|
|
||||||
Load_MatchPatterns()
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox("Error in Delete Control-Match: " & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
|
||||||
End Try
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub Button4_Click(sender As Object, e As EventArgs) Handles btnnewProfile.Click
|
|
||||||
txtProfilname.Text = ""
|
|
||||||
txtWDSearch.Text = ""
|
|
||||||
cmbFunktionstaste.SelectedIndex = -1
|
|
||||||
txtKey.Text = ""
|
|
||||||
GroupBoxMainWindow.Visible = False
|
|
||||||
GroupBox2_Controls.Visible = False
|
|
||||||
ListBox_FormTitles.Enabled = True
|
|
||||||
btnAddCopypasteConfig.Enabled = True
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub TEXT1TextBox_TextChanged(sender As Object, e As EventArgs) Handles TEXT1TextBox.TextChanged
|
|
||||||
If TEXT1TextBox.Text = " " Then
|
|
||||||
TEXT1TextBox.SelectAll()
|
|
||||||
TEXT1TextBox.BackColor = Color.DarkOrange
|
|
||||||
TEXT1TextBox.ForeColor = Color.White
|
|
||||||
Else
|
|
||||||
TEXT1TextBox.BackColor = Color.White
|
|
||||||
TEXT1TextBox.ForeColor = Color.Black
|
|
||||||
End If
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub frmHotKey_Add_Shown(sender As Object, e As EventArgs) Handles Me.Shown
|
|
||||||
Form_loaded = True
|
|
||||||
If GUIDTextBox.Text <> String.Empty Then
|
|
||||||
GroupBoxPatterns.Visible = True
|
|
||||||
End If
|
|
||||||
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub chklbUser_MouseEnter(sender As Object, e As EventArgs) Handles chklbUser.MouseEnter
|
|
||||||
ToolTipController1.ShowHint("Rechtsklick für weitere Funktionen", "Hinweis:", DevExpress.Utils.ToolTipLocation.RightCenter)
|
|
||||||
End Sub
|
|
||||||
Private Sub chklbUser_MouseLeave(sender As Object, e As EventArgs) Handles chklbUser.MouseLeave
|
|
||||||
ToolTipController1.HideHint()
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub btnAddCopypasteConfig_Click(sender As Object, e As EventArgs) Handles btnAddCopypasteConfig.Click
|
|
||||||
Try
|
|
||||||
lblLinkCopyPaste.Visible = False
|
|
||||||
If txtcopypastePatter.Text = "" Then
|
|
||||||
Exit Sub
|
|
||||||
End If
|
|
||||||
Dim sql As String = "select max(guid) from tbhotkey_Profile where upper(name) = Upper('" & txtProfilname.Text & "')"
|
|
||||||
Dim kopfid = ClassDatabase.Execute_Scalar(sql, MyConnectionString, True)
|
|
||||||
If IsDBNull(kopfid) Then
|
|
||||||
TBHOTKEY_PROFILETableAdapter.Insert(txtProfilname.Text, "COPYPASTE", txtWDSearch.Text, cmbFunktionstaste.Text, txtKey.Text.ToUpper, ListBox_FormTitles.SelectedItem, Environment.UserName)
|
|
||||||
Else
|
|
||||||
TBHOTKEY_PROFILETableAdapter.cmdUpdate(txtProfilname.Text, "COPYPASTE", txtWDSearch.Text, cmbFunktionstaste.Text, txtKey.Text.ToUpper, ListBox_FormTitles.SelectedItem, Environment.UserName, kopfid)
|
|
||||||
End If
|
|
||||||
lblSaveHotkey.Visible = True
|
|
||||||
sql = "select max(guid) from tbhotkey_Profile where upper(name) = Upper('" & txtProfilname.Text & "')"
|
|
||||||
Dim id = ClassDatabase.Execute_Scalar(sql, MyConnectionString, True)
|
|
||||||
If id > 0 Then
|
|
||||||
TBHOTKEY_PATTERNSTableAdapter.Insert(id, txtcopypastePatter.Text, cmbCopyPasteFunction.Text, Environment.UserName, txtControl.Text)
|
|
||||||
lblLinkCopyPaste.Text = "Pattern-Link " & cmbCopyPasteFunction.Text & " || " & txtcopypastePatter.Text & " erfolgreich angelegt"
|
|
||||||
lblLinkCopyPaste.Visible = True
|
|
||||||
btnAddCopypasteConfig.Enabled = False
|
|
||||||
End If
|
|
||||||
Catch ex As Exception
|
|
||||||
MsgBox(ex.Message, MsgBoxStyle.Exclamation, "Error in CopyPaste Add Pattern or Profile:")
|
|
||||||
End Try
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub cmbCopyPasteFunction_SelectedIndexChanged(sender As Object, e As EventArgs) Handles cmbCopyPasteFunction.SelectedIndexChanged
|
|
||||||
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub chklbUserProfile_MouseEnter(sender As Object, e As EventArgs) Handles chklbUserProfile.MouseEnter
|
|
||||||
ToolTipController1.ShowHint("Rechtsklick für weitere Funktionen", "Hinweis:", DevExpress.Utils.ToolTipLocation.RightCenter)
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub chklbUserProfile_MouseLeave(sender As Object, e As EventArgs) Handles chklbUserProfile.MouseLeave
|
|
||||||
ToolTipController1.HideHint()
|
|
||||||
End Sub
|
|
||||||
End Class
|
|
||||||