Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
using Microsoft.Win32;
private void button1_Click(object sender, EventArgs e)
int? XMI_Transactions = (int?)Registry.GetValue(@"HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA\OPTIONS", "XMI_USE_TRANSACTION", null);
if (XMI_Transactions == null)
MessageBox.Show("EA is not installed");
Registry.SetValue(@"HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA\OPTIONS", "XMI_USE_TRANSACTION", 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment