This file looks OK to me. I have permissions. See attached icon file (894 bytes long).
DdoubleD 315 Posting Shark
Recommended Answers
Jump to PostIt seems this method doesn't support ico file. I tried with .bmp files, its working fine.
Jump to PostIcon class is there.
System.Drawing.Icon c = new Icon(@"c:\app\mapp\p1.ico"); pictureBox1.Image = c.ToBitmap();
All 5 Replies
DangerDev 107 Posting Pro in Training
DdoubleD 315 Posting Shark
kvprajapati 1,826 Posting Genius Team Colleague
sknake commented: thats it! :) +7
DangerDev 107 Posting Pro in Training
DdoubleD 315 Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.