Hi i have the following code...

For X = 0 To lstretri.ListCount - 1
lstretri.ListIndex = X
txtCluburl.Text = lstretri.List(X)
lblcurrent.Caption = "Current: " & lstretri.ListIndex

I want to put a piece of coding the the Form_Unload() to save the current Listbox Index to "hold.yem" if the program is accidently closed. Also I would like for the For statement to retrieve the number value of the Listbox Index that was save and plug it into the coding and continue from where it left off.