I'm working on asp.net (vb, maybe that can change something)
I have a project using as class library. I want it to load a text file. the file is on a folder on this project
usely I use "File.Exists" and "Server.MapPath("~")". but I do not have Server lib.
I look a way to use the file as content or resource. but I didnt succed for the moment(probably my fault)
So if you know a way to do what I want? Or how to use the file as a resource like by stream or something else?
I looked at this but my first try not working (http://keithelder.net/2007/12/14/How-To-Load-an-Embedded-Resource-From-A-DLL/)