[COLOR=#0000ff]Dim[/COLOR][SIZE=2] counter [/SIZE][SIZE=2][COLOR=#0000ff]As[/COLOR][/SIZE][SIZE=2] Integer = getCounterFromWhereverYouStoreYourSettings()[/SIZE]
counter += 1
[COLOR=#0000ff]Dim[/COLOR][SIZE=2] outstream [/SIZE][SIZE=2][COLOR=#0000ff]As[/COLOR][/SIZE][SIZE=2] StreamWriter = File.CreateText("output" & counter.ToString & ".text")[/SIZE]
storeCounterToWhereverYouStoreYourSettings(counter)