Provide a brief definition of the following terms (in the interface
programming context):
Magic numbers
Compile Error
Run time error
Debug
Local variable
Global variable
Constant variable
Static variable
If you use a source (book or web site), cite your source. (The sites
http://whatis.techtarget.com/ and http://www.webopedia.com/ are decent
sources for technical definitions.)
Download the Excel file from
http://clerk.house.gov/member_info/excelmemberlabels_111.xls
Check to see if any of the data has commas. Then save the Excel as a comma-separated values files.
Have the program read that file (with the first and last rows eliminated?) and instantiates and initializes arrays
for Prefix, FirstName, MiddleName, LastName, Suffix, Address, City, State, Zip
(I also made one more array LFName which was the lastname followed by a comma and a space and
the first name, which is what I put in the listbox of the left.)
When the user clicks the button between the lists, the
selected item from the left list is added to the right list. (Pop up a
MessageBox if the user doesn't select someone of the left.)
When the user clicks the Save button. Loop through the items
in the right listbox.
Find the index that corresponds to each representative in the right
listbox. Basically you are finding the position in the left listbox
of each item in the right listbox. (This is where I used that extra
array I made.)
Use the arrays and concatenation to make the letters with
the saluation, the body, and the signing. Today.ToLongDateString
was used to get the date.
Instantiate the StreamWriter in the loop. Use the LastName
followed by the FirstName followed by .txt for the name of the file.
Pop up a MessageBox that says where the files have been saved.
Friday:
ChineseMenu.zip Start of Chinese Food menu in answer to question about showing
images based on user's selection Keypad.zip Shows AddHandlesr and AddressOf -- how to give an event to a dynamic control