EgtCAM5 :

- migliorata differenziazione tra mancanza chiave e problemi con licenza
- in caso di problemi con licenza possibilità di sceglierne una nuova con dialogo ApriFile.
This commit is contained in:
Dario Sassi
2017-11-27 05:43:24 +00:00
parent e5fa71c92d
commit abefc05966
3 changed files with 47 additions and 23 deletions
+4 -5
View File
@@ -13,13 +13,11 @@ Namespace EgtCAM5
#Region "FIELDS"
' EGALTECH ENVIRONMENT FIELDS
Private m_objMutex As Mutex
Private m_sDataRoot As String = String.Empty
Private m_sConfigDir As String = String.Empty
Private m_nDebug As Integer = 0
' EGALTECH ENVIRONMENT FIELDS WITH PROPERTY
' GRAPHICAL FIELDS
@@ -293,13 +291,14 @@ Namespace EgtCAM5
IniFile.m_sDataRoot = m_sDataRoot
' Impostazione direttorio di configurazione
m_sConfigDir = m_sDataRoot & "\" & CONF_DIR
IniFile.m_sConfigDir = m_sConfigDir
' Impostazione direttorio per file temporanei
m_sTempDir = m_sDataRoot & "\" & TEMP_DIR
IniFile.m_sTempDir = m_sDataRoot & "\" & TEMP_DIR
' Impostazione path Ini file
m_sIniFile = m_sConfigDir & "\" & INI_FILE_NAME
IniFile.m_sIniFile = m_sConfigDir & "\" & INI_FILE_NAME
EgtWPFLib5.IniFile.m_sIniFile = m_sIniFile
' Impostazione path resources dir
m_sResourcesRoot = m_sDataRoot & "\" & RES_DIR
IniFile.m_sResourcesRoot = m_sDataRoot & "\" & RES_DIR
' Impostazione direttorio per le macchine
If GetPrivateProfileString(S_MACH, K_MACHINESDIR, "", m_sMachinesRoot) = 0 Then
m_sMachinesRoot = m_sDataRoot & "\" & MACHINES_DFL_DIR