Added errorhandling on Winmerge
This commit is contained in:
@ -356,7 +356,14 @@ namespace CobXmlSupport
|
||||
try
|
||||
{
|
||||
string existing = finalFileSafe.Substring(finalFileSafe.LastIndexOf("\\"));
|
||||
Process.Start("C:\\Program Files (x86)\\WinMerge\\WinMergeU.exe", finalFileSafe + " Q:\\kII20\\cpy\\" + existing);
|
||||
try
|
||||
{
|
||||
Process.Start("C:\\Program Files (x86)\\WinMerge\\WinMergeU.exe", finalFileSafe + " Q:\\kII20\\cpy\\" + existing);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
Process.Start("C:\\Program Files\\WinMerge\\WinMergeU.exe", finalFileSafe + " Q:\\kII20\\cpy\\" + existing);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user