MS documentViewer
This commit is contained in:
parent
3f109c010d
commit
6ed8db99ff
@ -13,7 +13,7 @@ Imports System.Runtime.InteropServices
|
|||||||
<Assembly: AssemblyCompany("")>
|
<Assembly: AssemblyCompany("")>
|
||||||
<Assembly: AssemblyProduct("DocumentViewer")>
|
<Assembly: AssemblyProduct("DocumentViewer")>
|
||||||
<Assembly: AssemblyCopyright("Copyright © 2024")>
|
<Assembly: AssemblyCopyright("Copyright © 2024")>
|
||||||
<Assembly: AssemblyTrademark("1.9.4.0")>
|
<Assembly: AssemblyTrademark("1.9.7.0")>
|
||||||
|
|
||||||
<Assembly: ComVisible(False)>
|
<Assembly: ComVisible(False)>
|
||||||
|
|
||||||
@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
|
|||||||
' übernehmen, indem Sie "*" eingeben:
|
' übernehmen, indem Sie "*" eingeben:
|
||||||
' <Assembly: AssemblyVersion("1.0.*")>
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
<Assembly: AssemblyVersion("1.9.6.0")>
|
<Assembly: AssemblyVersion("1.9.7.0")>
|
||||||
<Assembly: AssemblyFileVersion("1.9.6.0")>
|
<Assembly: AssemblyFileVersion("1.9.7.0")>
|
||||||
|
|||||||
@ -12,7 +12,7 @@ Imports System.Runtime.InteropServices
|
|||||||
<Assembly: AssemblyDescription("")>
|
<Assembly: AssemblyDescription("")>
|
||||||
<Assembly: AssemblyCompany("")>
|
<Assembly: AssemblyCompany("")>
|
||||||
<Assembly: AssemblyProduct("Common")>
|
<Assembly: AssemblyProduct("Common")>
|
||||||
<Assembly: AssemblyCopyright("Copyright © 2023")>
|
<Assembly: AssemblyCopyright("Copyright © 2025")>
|
||||||
<Assembly: AssemblyTrademark("2.5.5.0")>
|
<Assembly: AssemblyTrademark("2.5.5.0")>
|
||||||
|
|
||||||
<Assembly: ComVisible(False)>
|
<Assembly: ComVisible(False)>
|
||||||
@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
|
|||||||
' übernehmen, indem Sie "*" eingeben:
|
' übernehmen, indem Sie "*" eingeben:
|
||||||
' <Assembly: AssemblyVersion("1.0.*")>
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
<Assembly: AssemblyVersion("2.5.8.1")>
|
<Assembly: AssemblyVersion("2.5.9.0")>
|
||||||
<Assembly: AssemblyFileVersion("2.5.8.1")>
|
<Assembly: AssemblyFileVersion("2.5.9.0")>
|
||||||
|
|||||||
@ -80,19 +80,30 @@ Public Class frmSQLEditor
|
|||||||
|
|
||||||
Dim oConnectionGroup = LoadConnections()
|
Dim oConnectionGroup = LoadConnections()
|
||||||
Dim oSelectedItem = Nothing
|
Dim oSelectedItem = Nothing
|
||||||
|
Dim oConnectionisZero As Boolean = False
|
||||||
' Missing/Negative connection will always result in default (DD_ECM) connection
|
' Missing/Negative connection will always result in default (DD_ECM) connection
|
||||||
If SQLConnection <= 0 Then
|
If SQLConnection <= 0 Then
|
||||||
|
oConnectionisZero = True
|
||||||
SQLConnection = 1
|
SQLConnection = 1
|
||||||
End If
|
End If
|
||||||
|
|
||||||
' Select the supplied connection in the ribbon gallery
|
' Select the supplied connection in the ribbon gallery
|
||||||
|
If oConnectionisZero = True Then
|
||||||
For Each oItem As GalleryItem In oConnectionGroup.Items
|
For Each oItem As GalleryItem In oConnectionGroup.Items
|
||||||
Dim oConnection = oItem.Tag
|
Dim oConnection = oItem.Tag
|
||||||
If SQLConnection = oConnection.id Then
|
If oConnection.NAME = "DD_ECM" Then
|
||||||
oSelectedItem = oItem
|
oSelectedItem = oItem
|
||||||
End If
|
End If
|
||||||
Next
|
Next
|
||||||
|
Else
|
||||||
|
For Each oItem As GalleryItem In oConnectionGroup.Items
|
||||||
|
Dim oConnection = oItem.Tag
|
||||||
|
If oConnection.Id = SQLConnection Then
|
||||||
|
oSelectedItem = oItem
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
GalleryConnection.Gallery.Groups.Add(oConnectionGroup)
|
GalleryConnection.Gallery.Groups.Add(oConnectionGroup)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user