Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Button and Images
Message
From
30/09/2004 11:40:12
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00946621
Message ID:
00947541
Views:
13
>this.Image = System.Drawing.Image.FromFile("c:\\MyImage.ico");
>
>Hi Bonnie, thanks for the info, but how do i do it without an absolute path?

Sorry Shawn, I don't know the answer. When you do it visually, the Images get stored in the .Resx when you create the ImageList from the Property Sheet, so there's no issue about finding them at runtime. I've not actually done it in code for real, I've only done it in a little test application to see whether I could get it to work programmatically.

Sorry =(

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform