TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Marshall
NA
16
26.5k
File paths???
Apr 24 2007 3:32 PM
Hello all:
I'm developing a C# smart device app in VS2005 for PPC2003 and above.
My program is opening a ini file at the begining which is in the same dir. Problem is that the stream code below thinks the file should be in the root "\" directory. I've tried the @".\" and the ".\\" options to try and specify the same dir as the EXE but still get a file not found exception??? When I put the file in the root "\" directory then it opens the file???
StreamReader sr = new StreamReader("temp.ini", Encoding.ASCII);
Am I missing something here?
Thank you
Marshall
Reply
Answers (
6
)
how to pass a method with parameter(s) to threadStart ?
Text on the Image