使用vb更改文件夹(Windows资源管理器)的图标 [英] Changing the icon of a folder (windows explorer) with vb

查看:191
本文介绍了使用vb更改文件夹(Windows资源管理器)的图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用vb 10更改文件夹的图标?

How can I change the icon of a folder with vb 10 ?

推荐答案

请参阅此CodeProject文章:在Windows资源管理器中创建文件夹图标,使用C# [ ^ ]。



代码是用C#编写的,但没有区别;所有.NET语言都是可以互换的。无论如何,如果你想在.NET中使用任何帮助,你应该至少理解C#的基础知识。



我可以看到这篇文章的一个问题,就是它标题。这与Windows资源管理器中的图标无关。这是关于Shell API的。当文件夹的图标发生变化时,使用Shell API的任何应用程序(如文件管理器(有许多备用文件管理器))都可以根据代码提供的数据正确显示文件夹图标。



-SA
Please see this CodeProject article: Create Icons for Folders in Windows Explorer, Using C#[^].

The code is written in C#, but it makes no difference; all .NET languages are interchangeable. Anyway, if you want to use any help in .NET, you should understand at least the basics of C#.

One problem I can see with this article, is its title. This is not about "icons in Windows Explorer". This is about the Shell API. When an icon for a folder is changes, any application like file manager (there is a number of alternative file managers) using Shell API can display the folder icons correctly, according to the data provided by your code.

—SA


这篇关于使用vb更改文件夹(Windows资源管理器)的图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆