tjackenpacken / taskbar-groups

Lightweight utility for organizing the taskbar through groups
MIT License
2.52k stars 204 forks source link

Another error while adding Blender's (non steam) shortcut #80

Open 18aKissD opened 3 years ago

18aKissD commented 3 years ago

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

** Exception Text ** System.IO.FileNotFoundException: C:\Program Files (x86)\Blender Foundation\Blender 2.91\blender.exe at System.Drawing.Icon.ExtractAssociatedIcon(String filePath, Int32 index) at client.Forms.frmGroup.handleLnkExt(String file) in C:\Users\jacks\Desktop\Taskbar dev\main\main\Forms\frmGroup.cs:line 390 at client.User_controls.ucProgramShortcut.ucProgramShortcut_Load(Object sender, EventArgs e) in C:\Users\jacks\Desktop\Taskbar dev\main\main\User controls\ucProgramShortcut.cs:line 64 at System.Windows.Forms.UserControl.OnLoad(EventArgs e) at System.Windows.Forms.UserControl.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.ControlCollection.Add(Control value) at client.Forms.frmGroup.LoadShortcut(ProgramShortcut psc, Int32 position) in C:\Users\jacks\Desktop\Taskbar dev\main\main\Forms\frmGroup.cs:line 127 at client.Forms.frmGroup.addShortcut(String file, Boolean isExtension) in C:\Users\jacks\Desktop\Taskbar dev\main\main\Forms\frmGroup.cs:line 225 at client.Forms.frmGroup.pnlAddShortcut_Click(Object sender, EventArgs e) in C:\Users\jacks\Desktop\Taskbar dev\main\main\Forms\frmGroup.cs:line 174 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

** Loaded Assemblies ** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

TaskbarGroups Assembly Version: 0.2.0.0 Win32 Version: 0.2.0.0 CodeBase: file:///H:/TaskbarGroups/TaskbarGroups.exe

System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System Assembly Version: 4.0.0.0 Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Microsoft.GeneratedCode Assembly Version: 1.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.Net.Http Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll

Windows.Data Assembly Version: 255.255.255.255 Win32 Version: 10.0.10011.16384 CodeBase: file:///C:/Windows/SysNative/WinMetadata/Windows.Data.winmd

System.Runtime Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll

Windows.Foundation Assembly Version: 255.255.255.255 Win32 Version: 10.0.10011.16384 CodeBase: file:///C:/Windows/SysNative/WinMetadata/Windows.Foundation.winmd

Microsoft.CSharp Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll

System.Dynamic Assembly Version: 4.0.0.0 Win32 Version: 4.8.3752.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll

Anonymously Hosted DynamicMethods Assembly Assembly Version: 0.0.0.0 Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll

Microsoft.WindowsAPICodePack.Shell Assembly Version: 1.1.4.0 Win32 Version: 1.1.4.0 CodeBase: file:///H:/TaskbarGroups/Microsoft.WindowsAPICodePack.Shell.DLL

Microsoft.WindowsAPICodePack Assembly Version: 1.1.4.0 Win32 Version: 1.1.4.0 CodeBase: file:///H:/TaskbarGroups/Microsoft.WindowsAPICodePack.DLL

** JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

[I also tried to create a shortcut from blender's folder, but it couldn't create the shortcut there, so it created it to the dekstop, which drops the same error if I try to add it.]

18aKissD commented 3 years ago

And I don't know why it searches on the C: drive, the program is on the P: drive

image

18aKissD commented 3 years ago

https://youtu.be/pFnEhb07J20

The .exe don't work either, I think the program want to search it again in the drive C:

PikeNote commented 3 years ago

The issue is that the program expands Program Files to Program Files x86 That screws with the path a little. I think it is fixed in this experimental build.

Release.zip

18aKissD commented 3 years ago

Nope:( Still the same error

But if I add the .exe file it seems to be okey but still still drops the error that it can't find blender on C\ drive And after I try to open blender from that group, it won't open and then that group won't open as well. Other groups are opening without a problem, only the one not opening, which has the blender in it.

Sorry about my english btw

Tw3ak3rz commented 3 years ago

I had "already exists" errors but deleted the folders in File Explorer not the program and got that fixed. What I was thinking though is if after you added blender from P: could you open the XML file and edit the path to P: from C: if that's what it is showing and maybe it would work?

Side note, I used to have my C drive, a P drive for programs, and a G drive for Games. 😁

DoloresUmbridge1 commented 3 years ago

There is no solution yet?

Tw3ak3rz commented 3 years ago

There is no solution yet?

I assume my suggestion above did not help?

DoloresUmbridge1 commented 3 years ago

There is no solution yet?

I assume my suggestion above did not help?

No.. I have achieved it by cloning the program and its files from another computer ... Worse the blender ... Thanks anyway.

PikeNote commented 3 years ago

@Demoniacc I can send another experimental build as follow up. Quite late so I will have to send it in the morning (for me). It was due to the architecture being preferred for x86 and such. I fixed it a while back but changes are slow to be pushed to master for release since repo owner is quite busy atm.

DoloresUmbridge1 commented 3 years ago

@Demoniacc I can send another experimental build as follow up. Quite late so I will have to send it in the morning (for me). It was due to the architecture being preferred for x86 and such. I fixed it a while back but changes are slow to be pushed to master for release since repo owner is quite busy atm.

Hey Do not worry! really! Don't be in a rush for us. You already do a lot making this great app. Take your time there are more important things in life! Thanks anyway for the effort.

PikeNote commented 3 years ago

Release.zip

Release test- I did test blender locally along with Chrome so it should work.

Tw3ak3rz commented 3 years ago

There is no solution yet?

I assume my suggestion above did not help?

No.. I have achieved it by cloning the program and its files from another computer ... Worse the blender ... Thanks anyway.

Sorry that it didn't help but looks like you're getting the needed help now.

johnysandels commented 3 years ago

That release zip does actually fix the issue btw