Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 91ae4b9f authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

fixing issue that vecto does not start because of initialization error in vecto_global

parent 8be75e00
No related branches found
No related tags found
No related merge requests found
......@@ -88,6 +88,13 @@ Imports TUGraz.VectoCore.Models.Simulation
Private Sub FB_Initialize()
FB_Init = False
Try
VECTO_Global.COREvers = Assembly.LoadFrom("VectoCore.dll").GetName().Version.ToString()
Catch ex As Exception
LogFile.WriteToLog(tMsgID.Err, ex.StackTrace)
End Try
fbFolder = New cFileBrowser("WorkDir", True)
fbFileLists = New cFileBrowser("FileLists")
fbVECTO = New cFileBrowser("vecto")
......
......@@ -16,7 +16,7 @@ Imports TUGraz.VectoCore.Models.Simulation.Impl
Module VECTO_Global
Public Const VECTOvers As String = "2.2"
Public COREvers As String = Assembly.LoadFrom("VectoCore.dll").GetName().Version.ToString()
Public COREvers As String = "NOT FOUND" 'Assembly.LoadFrom("VectoCore.dll").GetName().Version.ToString()
Public Const LicSigAppCode As String = "VECTO-Release-0093C61E0A2E4BFA9A7ED7E729C56AE4"
Public MyAppPath As String
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment