launch NanoCAD
Olga87 20 Mar 2024
Hello Dear NanoCAD specialists!
Please tell me how to force launch NanoCAD without the "Tool Palettes Manager" open (*Nanocad was closed with the "Tool Palettes Manager" open.)?
Please tell me how to force launch NanoCAD without the "Tool Palettes Manager" open (*Nanocad was closed with the "Tool Palettes Manager" open.)?
Olga87 25 Mar 2024
It’s just that when the Tools are located on the organization’s server and there are problems with the network, you need to close the palette before closing the program.
And if the user does NOT close "Tool Palettes Manager", then the next launch of the program “hangs”.
I would like to disable the open "Tool Palettes Manager" before starting the program.
And if the user does NOT close "Tool Palettes Manager", then the next launch of the program “hangs”.
I would like to disable the open "Tool Palettes Manager" before starting the program.
Dsw 25 Mar 2024
Hi Olga,
this is a kind of operations which require some techincal skills, because you have to modify a Windows System Registry Key.
I did attached an image with the complete Path of the Registry Key to delete before open nanoCAD.
Be careful, a wrong modification of Windows Registry can cause big problems to the operating system.
this is a kind of operations which require some techincal skills, because you have to modify a Windows System Registry Key.
I did attached an image with the complete Path of the Registry Key to delete before open nanoCAD.
Be careful, a wrong modification of Windows Registry can cause big problems to the operating system.
Dsw 26 Mar 2024
I've no idea, here in EU, last know release is the 23.
On the registry key path, which i posted, there is the release number(23.0), maybe you have to change it to 24.0
On the registry key path, which i posted, there is the release number(23.0), maybe you have to change it to 24.0
Olga87 26 Mar 2024
I delete the registry branch like this (with the program closed):
vbs:
vbs:
[size=3]On Error Resume Next[/size] [size=3]Dim objShell[/size] [size=3]Set objShell = Wscript.CreateObject("Wscript.Shell")[/size] [size=3]Const ncad22 = "C:\Program Files\Nanosoft\nanoCAD x64 22.0\nCad.exe"[/size] [size=3]Set FSO = CreateObject("Scripting.FileSystemObject")[/size] [size=3]Const HKEY_CURRENT_USER = &H80000001[/size] [size=3]strComputer = "."[/size] [size=3]Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")[/size] [size=3]If Err.Number <> 0 Then[/size] [size=3] Wscript.Echo Err.Number & ": " & Err.Description[/size] [size=3] Wscript.Quit[/size] [size=3]End If[/size] [size=3]' NanoCAD 22.0 - for each profile:[/size] [size=3]If FSO.FileExists(ncad22) Then[/size] [size=3] strKey = "SOFTWARE\Nanosoft\nanoCAD x64\22.0\Profiles"[/size] [size=3] intRes = oReg.EnumKey(HKEY_CURRENT_USER, strKey, sNames)[/size] [size=3] If intRes <> 0 Then[/size] [size=3] Wscript.Echo intRes & ": failed to read section ""HKEY_CURRENT_USER\" & strKey & """"[/size] [size=3] Wscript.Quit[/size] [size=3] End If[/size] [size=3] For Each strSubKey In sNames[/size] [size=3] If err.number = 0 then[/size] [size=3] oReg.DeleteKey HKEY_CURRENT_USER, strKey & "\" & strSubKey & "\Startup\ToolPalettes"[/size] [size=3] End If[/size] [size=3] Next[/size] [size=3]End If[/size] [size=3]Set objShell = Nothing[/size] [size=3]Set FSO = Nothing[/size]