15,917,005 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by mike1989 (Top 6 by date)
mike1989
27-Apr-11 12:00pm
View
Yes, I do know what sleep does. My intention was to just show an example of how the system clock could be use to capture a small time increment. I put the Thread.Sleep( 2); because with out it there is no notable difference, the result is 0.
I am sure you are aware that in the .Net platform things do not always happen in real time as you would expect.
mike1989
26-Apr-11 11:18am
View
I wish I could. There are 1550 lines of code in this class, but only two places that deal with the opening and closing of the files. Most of the code is methods for decoding different blocks of data in the input file.
Do you know of a way I can upload it here?
mike1989
26-Apr-11 11:13am
View
Thanks for the advice :-)
mike1989
25-Apr-11 16:30pm
View
I though the same thing, why would I only see this exception while running the installed version and during the times running in the IDE?
I have verified that I am closing the StreamReader object everytime I use it, like this
finally
{
if ( reader != null )
{
// make sure the file is closed
reader.Close();
reader.Dispose();
}
}
mike1989
25-Apr-11 16:23pm
View
Sorry,
I have revised the question. By weird I mean that while I was test running the code using the IDE, All code executed perfect. But after installing the software and executing it directly from Windows with out the debugger, the software was throwing exceptions about the data file being locked.
mike1989
12-Apr-11 14:53pm
View
Thank you,
Using your code the string has the begining and ending quotes displayed on the console screen in the test program.
Using the code from the above post DID NOT include the begining and end quotes displayed on the console screen in the test program. However, the total parameter count was correct in both cases being under test.
-Just a little detail that I noticed,
Thanks again,
Mike
Show More