Answer the question
In order to leave comments, you need to log in
Where to look for 1C in the registry (C#)?
I'm trying to find a thin client in the registry like this:
RegistryKey ThinClient = Registry.LocalMachine.OpenSubKey("Software").OpenSubKey("1C");
if (ThinClient != null)
{
RegistryKey isLoaded = ThinClient.OpenSubKey("1C:Enterprise 8 Thin client (8.3.9.2170)");
if (isLoaded != null)
{
Process ThinClientRun = new Process();
ThinClientRun.StartInfo.FileName = "cmd.exe";
ThinClientRun.StartInfo.Arguments = @"/C cd " + Application.StartupPath + "/bin & load.bat " + DB.User.Name;
ThinClientRun.Start();
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question