Hey guys i have taken part in a programmers elite competition and in a group you are assigned different programs to build. i have VB and C++ .... im really good with C++ but i have never touched VB !! now i have a project to build ... so can anyone help me !? this is the program i have to build ... im not asking you to do my homework .... this is a little request for you smart vb people so please help :(
Download the P3S3 Data File For Import.txt (the file is attached.)
Be sure to use industry standard prefixing on these objects (i.e. Hungarian or Pascal naming) and use camel-case
Set the form's title bar text to display "P3S3 Data File Tasks ".
I HAVE ATTACHED THE form.doc file to look at the way the form looks.
When the form is loaded, read the records in P3S3 Data File For Import.txt to a listbox. Note
o Use a StreamReader class to perform the data file reading (importing).
o Be sure you do not import the first two records in the data file into the listbox.
o Be sure you do not import records that have no entries in the data file into the listbox (i.e.
each imported record must have at least one character in its string).
o Size the listbox to show 10 records.
Include a "Letter To Filter" DropDownList combo box that contains all letters in the alphabet,
each upper-cased. Provide a caption to the combo box of "Letter To Filter" and set its default
letter (i.e. Text property) to be "C" when the form loads.
Include two buttons on the form. The first button should be captioned "Export" and the second
button should be captioned "Exit".
For the "Export" button, Note the following:
o Provide a FolderBrowserDialog common dialog box to allow the user where the file should
be exported to. Then, export the records in the listbox to a data file named P3S3 Data File
For Export.txt. Be sure the data file is in the location specified by the user via their
common dialog box choice.
o Use a StreamWriter class to perform the data file writing (exporting).
o If the data file already exists, exporting to it should overwrite any existing contents in the file.
o Export records whose starting character matches the letter specified by the user in the
"Filtering Export Letter" combo box. For example, if the user selects the letter "A" (no
quotes) from the combo box, write only records beginning with the letter "A" (i.e. "Algeria",
"Argentina", etc.) to the data file. If no records in the listbox begin with the combo box
filtering letter, write "RECORD CRITERIA NO MATCHES" to the data file. Maintain a
total of how many records are exported.
For the "Exit" button, note the following:
o Display a message box of the filtering export letter used, the number of records that were
exported, and the folder location where the exported data file resides. If not export was
attempted, display a suitable message in the message box.
o Then, close the form.
Please guys i have no idea how to do vb projects ... and this is due by wednesday ... can u please i bed you help me with this one !!
PLEASE ... Thank you for your concerns !
God Bless You All for Helping.