Having a little problem.
Reading settings in the following format from an INI file:
[general]
totalrecords=3[list]
infoname1=Blahblah
infoemail1=blah@blah.com
infoname2=Mr.White
infoemail2=White@sad.com
infoname3=Mr. Black
infoemail3=black@mr.com
When i'm deleting a record; say record 2, it reduces totalrecords to 2. However, i'm stuck with info1 and info3 as the two records.
I'm populating the .name into a listbox in the following way:
Read Total Accounts from INI
For i = 1 To TotalAccounts
AccountList.AddItem (ReadIniValue(App.Path & "\config.ini", "list", "infoname" & i))
AccountList.ItemData(AccountList.NewIndex) = i
Next i
Obviously.. there's a large problem with this. Any suggestions?
