| General > General Technical Chat |
| Why does LTSpice open a new instance (window) for every .asc file I click on? |
| << < (3/4) > >> |
| 741:
OK Thanks again. I am using Win7 64 bit. I removed the regedit key I'd manually added. Then I ran a cmd file, which resulted in the enties shown in the image. I exported the netlist key, and got this Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\LTspice.Netlist] [HKEY_CLASSES_ROOT\LTspice.Netlist\Shell] [HKEY_CLASSES_ROOT\LTspice.Netlist\Shell\Open] [HKEY_CLASSES_ROOT\LTspice.Netlist\Shell\Open\Command] @=hex(2):22,00,43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,\ 00,46,00,69,00,6c,00,65,00,73,00,5c,00,4c,00,54,00,43,00,5c,00,4c,00,54,00,\ 73,00,70,00,69,00,63,00,65,00,58,00,56,00,49,00,49,00,5c,00,58,00,56,00,49,\ 00,49,00,78,00,36,00,34,00,2e,00,65,00,78,00,65,00,22,00,20,00,22,00,25,00,\ 31,00,22,00,00,00 That final hex entry looks OK in regedit i.e. "C:\Program Files\LTC\LTspiceXVII\XVIIx64.exe" "%1" But several bits like the key [HKEY_CLASSES_ROOT\LTspice.Netlist\shell\open\ddeexec] are absent, so I can try adding those bits manually |
| steviefaux:
Do you have a basic knowledge of running Sysinternal Process Monitor? If so, can you run that, then run LTSpice and filter out only its .exe let it run and let it open a new instance, window, stop the trace then upload it somewhere like WeTransfer and then give us all the link so we can take a look. Something in the trace might show why its opening another instance. Maybe some permission denied which is forcing it to open a new instance. |
| Ian.M:
The hex stuff is because FTYPE creates values of REG_EXPAND_SZ type rather than REG_SZ that *most* program installers create. They work much the same (unless you are writing code to handle them) except expansion of environment variables in REG_EXPAND_SZ strings are deferred till they are used. If you are feeling brave, (and have created a system restore point), you could replace [HKEY_CLASSES_ROOT\ with [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ in the registry snippet I posted, save it as a .reg file and Merge it. That will put in the same registry entries for the LTspice named file associations as I've got on this Win 10 Pro x64 PC. @ any latecomers: The advice above was for the specific English language Windows 7 64 bit the O.P's running version. YMMV, and expect borkage if you are running non-English, or 32 bit windows or LTspice was installed elsewhere. Windows 10 borks system restore points so don't expect that to save you!*YOU* *HAVE* *BEEN* *WARNED* |
| 741:
WeTransfer looks like a useful site, here's the link to the LT monitor https://we.tl/t-MnTScaBSlM |
| 741:
First I un-installed, then I installed the latest vesion, no change. Then I updated the posted reg file (using the HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ substitution) and the import worked. Finally I tried agin, and still the same issue whereby every .asc I click on launches a new window. I also tried removing the old HKEY_CLASSES_ROOT\LTspice.Netlist entries, but that made no difference. |
| Navigation |
| Message Index |
| Next page |
| Previous page |