freshgrill
asked on
mark parts of a text file
I am looking for a working example of a c# program that loads a text file and allows you to:
1) mark the starting line of the data portion
2) mark the ending line of the data portion
3) mark the starting location of several columns
Basically, with a file of a bunch text, mark off the "data" portion, then give the program the locations of each column allowing it then to break down all the data into rows/columns format.
To mark the columns, I would like the user just to click in the data itself and register the start locations (how many characters over).
1) mark the starting line of the data portion
2) mark the ending line of the data portion
3) mark the starting location of several columns
Basically, with a file of a bunch text, mark off the "data" portion, then give the program the locations of each column allowing it then to break down all the data into rows/columns format.
To mark the columns, I would like the user just to click in the data itself and register the start locations (how many characters over).
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Everything between { #Region " Windows Form Designer generated code " } and { #End Region } at the beginning of the code now goes into a separate file with the newer Visual Studios (I think I was using VB.Net 2003 at the time). You'd have to look closely at the control declarations to figure out how they were laid out.
I'll see if I can find it on my computer and upload an updated version.
I'll see if I can find it on my computer and upload an updated version.
ASKER
Error 1 'Protected Overrides Sub Dispose(disposing As Boolean)' has multiple definitions with identical signatures. C:\Users\administrator.FRE
Error 2 'Private Sub InitializeComponent()' has multiple definitions with identical signatures. C:\Users\administrator.FRE
Error 3 'components' is already declared as 'Private components As System.ComponentModel.ICon
Warning 4 Unused local variable: 'cr'. C:\Users\administrator.FRE