02-25-2008 01:51 PM
02-25-2008 02:10 PM
Your text file attachment did not show up when I tried to open it. However, you have a race condition in your code. You are using local variables for Write Counter. The part that increments the variable may or may not happen before the variable is read in the other two places that you are using this variable. You also write 0 to the Write Counter in one of your case statements. You need to learn about proper data flow. I'm not sure if this is causing your problem (I doubt it), but I thought you should know about race conditions.
You are writing a binary file. How do you translate to text file for viewing? Maybe your extra characters are coming from translation errors.
02-25-2008 02:44 PM
02-25-2008 02:46 PM
02-25-2008
03:58 PM
- last edited on
06-18-2025
08:32 PM
by
Content Cleaner
[link removed]
02-25-2008 04:02 PM
02-25-2008 05:09 PM - edited 02-25-2008 05:13 PM
02-25-2008 06:12 PM
02-25-2008 06:56 PM
Mark, I am only able to generate the header row when I run your code. Here are some suggestions:
I would see if writing and viewing as a text file takes away those characters.
02-25-2008 08:14 PM