感谢.net2.0为我们所做的。
     Icon icon = Icon.ExtractAssociatedIcon(textBox1.Text);
     pictureBox1.Image 
= icon.ToBitmap();
呵呵,以前要用Api,现在好轻松就取得了。
System.Drawing.Icon    Class。哈哈:)
郁闷,我的博客出了BUG。

相关文章:

  • 2022-12-23
  • 2021-10-10
  • 2021-08-25
  • 2021-07-29
  • 2021-07-30
  • 2021-05-14
猜你喜欢
  • 2021-08-13
  • 2021-03-31
  • 2021-10-07
  • 2022-02-22
  • 2021-08-24
  • 2021-12-22
  • 2022-12-23
相关资源
相似解决方案