I am using Visual Basic 2008, and I am making a simple meeting planner program. The data stored for each day is stored into an array with three fields:
calendars.Days
calendars.ToD
calendars.Appointment
Days stores the selected day corresponding to the MonthCalendar object of the entry.
ToD is the time of day selected by a combobox of times for the appointment.
Appointment is whatever description in a textbox the appointment is given.
Whenever a day is selected on the MonthCalendar object, it loads all of the data from that day that is in the array and displays it in a listbox called lstResult. What I am trying to do is, when I press the delete key on a selected entry in the listbox, it deletes that entry in the array and the listbox. The listbox part is easy, I just need help on deleting the selection from the array.
Anyone got any ideas on how to go about this? Note that I am not much of an expert on Visual Basic so some things might need a little explanation to them.