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
Glenn Patton
NA
308
82.9k
Problems with File Access.....
May 11 2012 5:56 AM
Hi All,
I am having an issue using C# to read or write a simple file. The issue has cropped up as for a new project a directory structure is required, this structure is created by the installer. I have noticed when I run the installer from the debug mode it creates a Windows shortcut to the C: drive, but does create the struct needed ( C:\Data\BAK) the short cut appears in the Data directory.
My main issue how ever is that the directory(s) can't be seen or the file can't be read to
I have followed the steps in the below tutorial and tried means I have used in the past to write CSVs.
http://www.c-sharpcorner.com/uploadfile/mahesh/how-to-read-a-text-file-in-C-Sharp/
T
he error appears to be it can't see the file but if I manually create it the debugger says it can't be accessed very confused!
Glenn
Reply
Answers (
2
)
memory out of exception occurs (Find method) - dealing with 100 MB file
Response.redirect in C#