I recently started VB.NET and C#. Instead of reading too many related
books, I am looking for sample codes in both Visual Basic and C#,
which perform the following functionalities:
(1) A Windows based menu displays files in 'c:\input' directory.
(2) In the above menu window, choose and read an ASCII text file
('sample input.txt', for example) containing a table shown in 'INPUT',
extract only the fields shown in 'OUTPUT', and store them in another
ASCII text file ('sample output.txt') in 'c:\output' directory. The
file name should be generated programmatically.
(3) With push buttons ("Spread Sheet", "Bar Chart sorted by Row", or,
"Bar Chart sorted by Column"), the highlighted file ('sample
output.txt') on 'c:\output' directory in the above menu will be
converted into an Excel spread sheet, an Excel fixed format chart
sorted by row, or an Excel fixed format chart sorted by column,
respectively. The Excel outputs also need to be stored as files in
'c:\excel output' directory as well as to be displayed in separate
windows. The file name should be generated programmatically.
INPUT:
_________________________________________________________
MISC EXPENCE TABLE: (Page 2 of 3)
Name Year Month Date Amount ($) Item
---- ---- ----- ---- ---------- -------------
John 1999 02 09 123.45 Tennis Shoes
Sue 2001 03 15 130.54 Dinner
Mark 2002 08 30 303.43 Bicycle
John 2003 05 23 1,455.97 Tread Mill
Sue 2002 07 11 534.00 Gym Annual Due
TOTAL 2,547.39
OUTPUT:
John 1999 123.45
John 2003 1,455.97
Mark 2002 303.43
Sue 2001 130.54
Sue 2002 534.00
Thanks.
ijh145-ga |