Assembly: EDKB12WS (in EDKB12WS.exe)
Visual Basic
|
Public Sub New()
|
JScript
|
public function Parameters();
|
|
Visual Basic
|
Copy Code
|
Public Sub New()
xmldoc.Load(Me.ApplicationPath + "Parameters.xml")
Me.connectionstring = xmldoc.SelectSingleNode("/Configuration/SQLConnectionString").InnerText
Me.connectionstring_Journale = xmldoc.SelectSingleNode("/Configuration/SQLConnectionStringJournale").InnerText
Me.WorkDir = xmldoc.SelectSingleNode("/Configuration/WorkDir").InnerText
Me.DebugMode = UCase(xmldoc.SelectSingleNode("/Configuration/DebugMode").InnerText) = "TRUE"
Me.OKMeldungBetreff = xmldoc.SelectSingleNode("/Configuration/OKMeldungBetreff").InnerText
Me.OKMeldung = xmldoc.SelectSingleNode("/Configuration/OKMeldung").InnerText
Me.NOKMeldungBetreff = xmldoc.SelectSingleNode("/Configuration/NOKMeldungBetreff").InnerText
Me.NOKMeldung = xmldoc.SelectSingleNode("/Configuration/NOKMeldung").InnerText
Me.TimerInterval = xmldoc.SelectSingleNode("/Configuration/TimerInterval").InnerText
Me.MaNrFehlermeldung = xmldoc.SelectSingleNode("/Configuration/MaNrFehlerMeldung").InnerText
Me.FehlermeldungBetreff = xmldoc.SelectSingleNode("/Configuration/FehlerMeldungBetreff").InnerText
Me.FehlerMeldungMeldung = xmldoc.SelectSingleNode("/Configuration/FehlerMeldungMeldung").InnerText
Me.MaNrFehlermeldung = xmldoc.SelectSingleNode("/Configuration/MaNrFehlerMeldung").InnerText
Me.CheckOffice2010_Vorlage = UCase(xmldoc.SelectSingleNode("/Configuration/CheckOffice2010_Vorlage").InnerText) = "TRUE"
Globals.conn.sConnectionString = Me.connectionstring
Globals.connJournale.sConnectionString = Me.connectionstring_Journale
Globals.PrintLog("EDKB12 gestartet", EventLogEntryType.Information)
Globals.PrintLog("Connectionstring EDOKA:" & Me.connectionstring, EventLogEntryType.Information)
Globals.PrintLog("Connectionstring Journale:" & Me.connectionstring_Journale, EventLogEntryType.Information)
Globals.PrintLog("WorkDir:" & Me.WorkDir, EventLogEntryType.Information)
Globals.PrintLog("DebugMode:" & Me.DebugMode, EventLogEntryType.Information)
Globals.PrintLog("TimerInterval:" & Me.TimerInterval, EventLogEntryType.Information)
Globals.PrintLog("Ma-Nr Fehlermeldung:" & Me.MaNrFehlermeldung, EventLogEntryType.Information)
End Sub
|
|
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
|
.NET Framework
Supported in: 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0
.NET Compact Framework
Supported in: 3.5, 2.0, 1.0
XNA Framework
Supported in: 3.0, 2.0, 1.0
|