Read file from root directory folder using filestream
Posted
by
SurajSing
on Stack Overflow
See other posts from Stack Overflow
or by SurajSing
Published on 2012-09-02T12:53:36Z
Indexed on
2012/09/02
15:38 UTC
Read the original article
Hit count: 273
There are two Image files in my folder which I have to call in my program. I have used:
AppDomain.curentDomain.baseDirectory + "Path and file name";
But this goes into my bin directory which I don't want; I want to read the folder from root directory where my folder name as resource I have saved my file there and call the image so please what's the code for that?
How do I read from root directory in a Windows Form Application?
© Stack Overflow or respective owner