Imports System.IO
Imports System.Xml
Imports DigitalData.Modules.Database
Imports DigitalData.Modules.Windream
Module ModuleRuntime
    'Dim ConfigPath As String = Path.Combine(Application.UserAppDataPath(), "UserConfig.xml")
    Public Const USER_CONFIG_FILE = "UserConfig.xml"
    Public Const COMPUTER_CONFIG_FILE = "ComputerConfig.xml"
    Public Const WINDREAM_BASEPATH = "\\windream\objects"

    Public MyConnectionString As String = ""
    Public LogErrorsOnly As Boolean = True
    Public GI_withWindream As Boolean = False
    Public WMDrive As String = "W"
    Public WM_DB_SERVER As String = ""
    'Public myPreviewActive As Boolean = True
    Public Property FW_started As Boolean = False
    Public IDB_ACTIVE As Boolean = False
    Public WORKING_MODE As String
    Public Property CONNECTION_STRING_IDB As String

    Public IDBData As ClassIDBData
    Public IDB_USES_WMFILESTORE As Boolean = False
    Public IDB_DOC_DATA_SQL As String
    Public IDB_DT_DOC_DATA As DataTable
    Public IDB_DOC_ID As Int64
    Public IDB_LOG_INDEX As String



    Public Property WINDREAM As Windream

    Public Property DATABASE_ECM As MSSQLServer
    Public Property DATABASE_IDB As MSSQLServer
End Module
