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.)?
1
launch NanoCAD
Started by Olga87, Mar 20 2024 11:53 AM
10 replies to this topic
#1
Posted 20 March 2024 - 11:53 AM
#2
Posted 21 March 2024 - 03:47 AM
/no - not work
#3
Posted 22 March 2024 - 06:23 PM
Hi Olga, may you share a screenshot?
#4
Posted 25 March 2024 - 03:40 AM
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.
#5
Posted 25 March 2024 - 03:51 PM
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.
#6
Posted 26 March 2024 - 04:18 AM
Thank you,
but nanoCAD 24 does not have this parameter?
but nanoCAD 24 does not have this parameter?
#7
Posted 26 March 2024 - 05:05 AM
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
#8
Posted 26 March 2024 - 06:10 AM
Thank you very much for your help!
I'll look for 24.
I'll look for 24.
#9
Posted 26 March 2024 - 06:12 AM
You are welcome.
#10
Posted 26 March 2024 - 06:51 AM
Oh. the same approach - the same registry key.
#11
Posted 26 March 2024 - 07:16 AM
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]
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users