Re: help urgent
From: Jezebel (dwarves_at_heaven.com.kr)
Date: 12/10/04
- Next message: Jezebel: "Re: VB6 code organization OOP"
- Previous message: Jeff Waskiewicz: "RE: Search Logic Challenge -"
- In reply to: gabby kelly: "help urgent"
- Next in thread: Jeff Johnson [MVP: VB]: "Re: help urgent"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 11 Dec 2004 07:43:11 +1100
Wrong forum and what's the question anyway? Better if you do your own
homework, anyway.
"gabby kelly" <stargatesg1girl@yahoo.com> wrote in message
news:ezBdQgv3EHA.1976@TK2MSFTNGP09.phx.gbl...
>
> VB.NeT
>
>
>
>
>
> Declare a structure with two members to store each record from the input
> file The First member should be a date and the second a single precision
> number. Declare a dynamic array of stuctures.
>
> Create the click event handler for the Open Input file button the code
> in the event handler should display an OpenFileDialog allowing the user
> to select a file. Open the input file and read the contents. Store each
> record in a dynamic array you declared in the previous steps,
> redimensioning the array as necessary. Remember to preserve the array
> contents each time that you redimension it. After reading the Input
> File, load the date from each array member into the combo box. When
> adding the date to the combo box remove the time part of the value so
> that the only the date appears. Use the ToShortDateString method to
> convert the date value. Samples are taken every ten minutes. Thus the
> array will contain a duplicate date values for a particular day. Remove
> the duplicate values so that only one line appears in the combo box for
> each day.
>
> Create the necessary event handler so that when the user clicks the
> combo box all the records for the selected date will appear in the two
> list boxes. In addition calculate and display the minimum, max, and
> average temperature for the selected date, and display those values in
> the labels appearing on the form. Format the output to 4 decimal places.
> Output values should also be right justified in the labels
>
> Create the code for the Write Output File button. Display a save file
> Dialog allowing the user to select a file to save. The array of
> structures will contain several records for one day. Calculate the avg
> temperature for each day and write one record containing the date and
> average temperature to the file name specified by the user.
>
> Create a second form to display the summarized fle you generated in the
> previous step.Modify the forms constructer to accept one string
> argument. Display the string in the text box. In the write output file
> event handler display the form with the summaried file contents.
>
>
> Thanks stargatesg1girl
>
>
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!
- Next message: Jezebel: "Re: VB6 code organization OOP"
- Previous message: Jeff Waskiewicz: "RE: Search Logic Challenge -"
- In reply to: gabby kelly: "help urgent"
- Next in thread: Jeff Johnson [MVP: VB]: "Re: help urgent"
- Messages sorted by: [ date ] [ thread ]