From 17ab6a74862c890ca859c5e3962d8234789ef4f9 Mon Sep 17 00:00:00 2001 From: Marek K Chmiel Date: Tue, 25 May 2021 22:26:56 -0500 Subject: [PATCH] Update SettingsForm.cs Added a warning about VisualME7Logger location for rookies like myself. Cheers --- VisualME7Logger/SettingsForm.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/VisualME7Logger/SettingsForm.cs b/VisualME7Logger/SettingsForm.cs index d149b79..1d29000 100644 --- a/VisualME7Logger/SettingsForm.cs +++ b/VisualME7Logger/SettingsForm.cs @@ -64,6 +64,11 @@ public SettingsForm() MessageBox.Show(this, "VisualME7Logger detected that it is not running with administrative privileges. You may have problems using this software.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning); } #endif + + if (!File.Exists(Path.Combine(Program.ME7LoggerDirectory, "bin", "ME7Logger.exe"))) + { + MessageBox.Show(this, "Ensure VisualME7Logger is in the main directory of ME7Logger, otherwise you will not be able to start logging.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning); + } } void SetupGrid() @@ -1202,4 +1207,4 @@ public override string ToString() return string.Format("{0}, Name: {1}", this.Variable, this.Name); } } -} \ No newline at end of file +}