The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Accessing a project-level file at runtime

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Steve Hebert

Posts: 218
Nickname: sdhebert
Registered: Apr, 2005

Steve Hebert is a .NET developer who has created the .Math compiler library.
Accessing a project-level file at runtime Posted: Jun 29, 2005 5:29 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Steve Hebert.
Original Post: Accessing a project-level file at runtime
Feed Title: Steve Hebert's Development Blog
Feed URL: /error.htm?aspxerrorpath=/blogs/steve.hebert/rss.aspx
Feed Description: .Steve's .Blog - Including .Net, SQL Server, .Math and everything in between
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Steve Hebert
Latest Posts From Steve Hebert's Development Blog

Advertisement

Here's the code for accessing a physical file (i.e. jpg, gif, etc.) that is referenced in the solution. I run into this bit of code every once in a while but never frequently enough to remember it off the top of my head...

Stream stream=Assembly.GetExecutingAssembly().GetManifestResourceStream("[project].[path].[file]");

Read: Accessing a project-level file at runtime

Topic: AJAX-based VB and C# code converter Previous Topic   Next Topic Topic: A new blogging community and a new feed to add to my rss aggregator.

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use