Index General Support requests Feature requests Content requests Bug reports Misc issues Tips & tricks How to... Notices

Can't apply icon to shortcuts (Bug reports)

by Lois McCabe @, Thursday, September 26, 2013, 17:26 (3864 days ago)

Running as Administration
Windows 7
Icomancer applies icon changer to FOLDER only after restarting system.
Icomancer advises the following when trying to apply icon to SHORTCUT:

Access Denied:
Cannot set icon to "C:\Users\McCabe\Desktop\QuikLooks.lnk" shortcut. Please ensure that the shortcut is writable or run icomancer as Administrator.

Exception info:
System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.Shell'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{286E6F1B-7113-4355-9562-96B7E9D64C54}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at Icomancer.Functions.AssignPrebuiltIconToShortcut(String IconFile, Int32 IconIndex, String ShortcutFile) in H:\Icomancer\Icomancer\Functions.vb:line 1913
at Icomancer.Functions.SetIconToFSobject(String IconFileName, String TargetFSobjectName, IconAssignationTypes AssignationType) in H:\Icomancer\Icomancer\Functions.vb:line 1727



Complete thread:

 RSS Feed of thread

powered by my little forum