calls static function to get path to RO Editor, Also, double-click on RO Value will insert the RO Value
This commit is contained in:
@@ -1564,7 +1564,8 @@ namespace Volian.Controls.Library
|
||||
myROID = lt.MyRoUsageInfo.ROID.ToLower();
|
||||
myRODB = lt.MyRoUsageInfo.MyRODb;
|
||||
}
|
||||
string roapp = Environment.GetEnvironmentVariable("roapp");
|
||||
//string roapp = Environment.GetEnvironmentVariable("roapp");
|
||||
string roapp = Volian.Base.Library.ExeInfo.GetROEditorPath(); // get the path to the RO Editor Executable
|
||||
string args = "\"" + myRODB.FolderPath + "\" " + myROID;
|
||||
if (!Directory.Exists(myRODB.FolderPath))
|
||||
{
|
||||
@@ -1642,7 +1643,8 @@ namespace Volian.Controls.Library
|
||||
MessageBox.Show("Referenced Object Editor not available in the Demo version.", "PROMS Demo Version");
|
||||
return;
|
||||
}
|
||||
string roapp = Environment.GetEnvironmentVariable("roapp");
|
||||
//string roapp = Environment.GetEnvironmentVariable("roapp");
|
||||
string roapp = Volian.Base.Library.ExeInfo.GetROEditorPath(); // get the path to the RO Editor Executable
|
||||
if (roapp == null || roapp == string.Empty)
|
||||
{
|
||||
MessageBox.Show("The 'roapp' environment variable needs to be set to the path of the RO Editor\n\n Ex: C:\\VE-PROMS.NET\\Bin\\roeditor.exe", "Environment Variable Error");
|
||||
|
Reference in New Issue
Block a user