Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Button and Images
Message
From
04/10/2004 14:28:39
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00946621
Message ID:
00948564
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?

Darn, sorry for the bad reply earlier ... I happened to be looking up something else just now and ran across this thread from a few months ago. I remembered having discussed this earlier, but didn't realize that this thread answered the question you just asked! Check out Message #933315 which shows how to use a relative path for your image.

Sorry again for dropping the ball. =(

~~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