result non è dichiarata
Ovviamente se

poi ho un altra sub


...

Quindi scriverai

codice:

codice:
        Dim idx As Integer = stringhericevute.Count - 1
        If (idx >= 0) Then MessageBox.Show(stringhericevute(idx))