Abdelrhman-AK / WinPaletter

Advanced Windows Appearance Editor
Other
1.36k stars 55 forks source link

Exception Error #129

Closed michaelmuselik closed 1 year ago

michaelmuselik commented 1 year ago
'General information
'-----------------------------------------------------------
Report.Date = "středa 5. dubna 2023 7:18:18"
OS = "Microsoft Windows 11 Home - 10.0.22000.1761 - 64-bit"
WinPaletter.Version = "1.0.7.6"

'Error details
'-----------------------------------------------------------
Exception.message = "Převod řetězce  na typ Integer není platný."
Exception.stack.trace = {
   v Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
   v Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(Object Value)
   v WinPaletter.CP.Structures.MetricsFonts.Load(MetricsFonts _DefMetricsFonts)
   v WinPaletter.CP..ctor(CP_Type CP_Type, String File, Boolean IgnoreWTerminal)
   v WinPaletter.MainFrm.MainFrm_Load(Object sender, EventArgs e)
   v System.EventHandler.Invoke(Object sender, EventArgs e)
   v System.Windows.Forms.Form.OnLoad(EventArgs e)
   v System.Windows.Forms.Form.OnCreateControl()
   v System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   v System.Windows.Forms.Control.CreateControl()
   v System.Windows.Forms.Control.WmShowWindow(Message& m)
   v System.Windows.Forms.Control.WndProc(Message& m)
   v System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   v System.Windows.Forms.ContainerControl.WndProc(Message& m)
   v System.Windows.Forms.Form.WmShowWindow(Message& m)
   v System.Windows.Forms.Form.WndProc(Message& m)
   v System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   v System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   v System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
         }
Exception.data = "There is no included data in Exception"
Exception.target.sub_function = "ToInteger @ Microsoft.VisualBasic"
Exception.assembly = "Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Exception.assembly.file = "C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualBasic\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll"
Exception.HRESULT = "-2147467262"
Inner.exception.message = "Vstupní řetězec nemá správný formát."
Inner.exception.stack.trace = {
   v Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
   v Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
         }
Inner.exception.data = "There is no included data in Inner exception"
Inner.exception.target.sub_function = "ParseDouble @ Microsoft.VisualBasic"
Inner.exception.assembly = "Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Inner.exception.assembly.file = "C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualBasic\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll"
Inner.exception.HRESULT = "-2146233033"
Abdelrhman-AK commented 1 year ago

Can you take screenshots to the following registry keys and post them here? HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\1\Desktop HKEY_CURRENT_USER\Software\WinPaletter\Metrics

michaelmuselik commented 1 year ago

Can you take screenshots to the following registry keys and post them here? HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\1\Desktop HKEY_CURRENT_USER\Software\WinPaletter\Metrics

I enclose exports of required registry keys, but HKEY_CURRENT_USER\Software\WinPaletter\Metrics doesn't exist. reg.zip

Abdelrhman-AK commented 1 year ago

Registry value Shell Icon Size inside HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics is not set. Edit it to 32 and everything will work as it should.

michaelmuselik commented 1 year ago

Registry value Shell Icon Size inside HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics is not set. Edit it to 32 and everything will work as it should.

Yes, 👍