Home > Software engineering >  VB how to change the folder icon?
VB how to change the folder icon?

Time:09-19

Copy after I use the idea is to create the folder icon file icon. Ico to this folder, write to the desktop. Ini, then use attrib add attribute + s + h + r, but finally found that these are done and no error, but the folder icon or not I have to restart explorer. Exe, rebuilt icon cache
My ini is written like this:
[. ShellClassInfo]
IconResource=icon. Ico, 0
IconFile=icon. Ico
IconIndex=0
Note: the two formats are written in order to keep the icon in Windows XP, Windows 7 and above system can display the


I ask, what should be the right thing to do? Thanks ~
(sorry, wrong thread type point)

CodePudding user response:

With o, icon will change file, directory to move explorer

CodePudding user response:

Search "Shell Extension"?

CodePudding user response:

[. ShellClassInfo]
IconResource=G: \ \ 111 geodetic \ 221. Ico, 0
[view state]
Mode=
Vid=
FolderType=Documents



Fill in the absolute path

CodePudding user response:

Properties ICON in the main forms (starting form) selected you selected ICON files, can be loaded from the form the upper left corner, the compiled EXE executable file its ICON is what you want,

CodePudding user response:

Need to add a read-only property to the folder,

CodePudding user response:


Dig the grave,,,
  • Related