好像用这个API
HICON ExtractAssociatedIcon(
HINSTANCE hInst, // application instance handle
LPTSTR lpIconPath, // path and filename of file for which icon is
// wanted
LPWORD lpiIcon // pointer to icon index
);
HICON ExtractAssociatedIcon(
HINSTANCE hInst, // application instance handle
LPTSTR lpIconPath, // path and filename of file for which icon is
// wanted
LPWORD lpiIcon // pointer to icon index
);
呵呵,你认为? 不知道你对VB有多了解? 要想做到你说的,不是不可能,而是速度极慢!尤其是当文件夹下有超过100文件时!一句话,照我估计的,按你的水平做出来的,当浏览Windows和System目录时,能等死人!! 呵呵,说实在的,不是我小看你,这就是VB的毛病!其实像你做得,现在网上都有老外做得这样的例子。