Google Answers Logo
View Question
 
Q: Visual Basic / C# Code Sample ( No Answer,   0 Comments )
Question  
Subject: Visual Basic / C# Code Sample
Category: Computers > Programming
Asked by: ijh145-ga
List Price: $15.00
Posted: 26 Nov 2004 08:41 PST
Expires: 29 Nov 2004 07:52 PST
Question ID: 434372
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
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy