Solved How can i show the change icon dialog box, with a vbscript ?

December 29, 2017 at 01:46:51
Specs: Windows 10
Hi everybody !
I wonder how can i show the change icon dialog box, with a vbscript or a command line and use informations throw it in my vbscript in order to let the user choose what icon he wants to set from the change icon dialog box ?
icon dialog box
Here is my vbscript that i created and i tested on my windows 10 and it worked to create a folder on the desktop and change its icon to Padlock icon.
So my question : is there any method to show this dialog box to let the user set what he wants as icon and use it by vbscript ?
Hackoo_Change_Icon_Folder.vbs


See More: How can i show the change icon dialog box, with a vbscript ?

Reply ↓  Report •

#1
December 29, 2017 at 11:40:20
✔ Best Answer
From what I've seen, the icon picker isn't exposed as a common dialog box, so you'd have to make one yourself. To do that, you'd need to be able to extract resources from .DLLs and .EXEs, as well as read .ICO files, and show that all to the user in a window you created. That requires more than what you can do in VBScript. At that point, it's easier to just write the entire thing in C#.

How To Ask Questions The Smart Way


Reply ↓  Report •
Related Solutions


Ask Question