When user restart program ID can not continue count.
for example INV001 ,INV002,when user restart the program the ID will recalculate from to INV001.
Dim ids As List(Of Integer) = New List(Of Integer)()
For i As Integer = 1 To 100
ids.Add(i)
Next
Dim idstring As String = "INV" & ids(count).ToString().PadLeft(4, "0"c)
Textbox1.Text = idstring
count += 1