diff --git a/Constants/ConstIni.vb b/Constants/ConstIni.vb index bb50c0d..dc4b97d 100644 --- a/Constants/ConstIni.vb +++ b/Constants/ConstIni.vb @@ -39,6 +39,7 @@ Module ConstIni Public Const K_HARDWAREDIMENSION As String = "HardwareDimensions" Public Const K_INVERTBEVEL As String = "DisableInvertBevel" Public Const K_ASKMEAGAINCONFIRM As String = "AskMeAgainConfirm" + Public Const K_EGTCAMEXE As String = "EgtCam5Exe" Public Const S_LANGUAGES As String = "Languages" Public Const K_LANGUAGE As String = "Language" diff --git a/EgtDOORCreator.vbproj b/EgtDOORCreator.vbproj index 86ae6e6..a916429 100644 --- a/EgtDOORCreator.vbproj +++ b/EgtDOORCreator.vbproj @@ -448,6 +448,7 @@ + diff --git a/IniFile.vb b/IniFile.vb index b561fb6..f7ca9b9 100644 --- a/IniFile.vb +++ b/IniFile.vb @@ -55,6 +55,8 @@ Friend Module IniFile Friend m_sListLabelDir As String = String.Empty ' Path del modello ListLabel Friend m_sListLabelCurrent As String = String.Empty + ' Path dell'eseguibile Cam5 + Friend m_sEgtCameEXEPath As String = String.Empty ' EgtDoorCreator.ini Public Function GetPrivateProfileLanguage(ByVal lpAppName As String, ByVal lpKeyName As String) As Language diff --git a/My Project/AssemblyInfo.vb b/My Project/AssemblyInfo.vb index 62df760..6e5ebd3 100644 --- a/My Project/AssemblyInfo.vb +++ b/My Project/AssemblyInfo.vb @@ -72,5 +72,5 @@ Imports System.Windows ' by using the '*' as shown below: ' - - + + diff --git a/OptionsWindow/OptionModule.vb b/OptionsWindow/OptionModule.vb index ae5b4bd..f6db6c0 100644 --- a/OptionsWindow/OptionModule.vb +++ b/OptionsWindow/OptionModule.vb @@ -274,6 +274,11 @@ Friend Module OptionModule EgtOutLog(String.Format(EgtMsg(50180), sListLabelFile & " (File Report)")) End If + Dim sEgtCam5EXE As String = String.Empty + If GetMainPrivateProfileString(S_GENERAL, K_EGTCAMEXE, "", sEgtCam5EXE) > 0 AndAlso File.Exists(sListLabelFile) Then + IniFile.m_sEgtCameEXEPath = sEgtCam5EXE + End If + Dim nHelpSelct As Integer = 0 Select Case GetMainPrivateProfileInt(S_GENERAL, K_SMARTHELP, 1) Case 0 diff --git a/ProjectManager/ProjectManagerV.xaml b/ProjectManager/ProjectManagerV.xaml index 084b088..3be3100 100644 --- a/ProjectManager/ProjectManagerV.xaml +++ b/ProjectManager/ProjectManagerV.xaml @@ -55,8 +55,13 @@ - - +