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
Jeremy Munn
NA
10
0
c# StreamReader/StreamWriter Not Working Correctly
Jul 10 2007 12:02 PM
Hi, I'm using a StreamReader that process an input file and generates an output file (both .txt) after querying Active Directory.
My application is working fine whenever I type in my own parameter for the filename (i.e. fileName = Console.ReadLine(); ), but the program does not create the output file whenever I try to drag a file (i.e. the input .txt file) onto my .exe file. I would like to be able to have this drag-and-drop capability, as some of the input filenames are very long.
Also, this is really weird, but if I put the absolute path to the input .txt file inside of my project properties (debug>StartOptions, Command line arguments) and run it that way, it works fine!
I don't know what is going on, but it's driving me crazy ;)
Any help would be most appreciated.
Thanks,
jeremytmunn
[email protected]
Reply
Answers (
10
)
dialup in c#
c# Database file Update