Salve a tutti. Ho un problema che non mi dà tregua: ho 2 pc con installato visual studio.NET. In un pc lo script che posto funziona correttamente, nell'altro (un portatile) mi dà questo errore:

"An unhandled exception of type 'System.ArgumentException' occurred in microsoft.visualbasic.dll
Additional information: Le informazioni sul separatore di valuta specificate in NumberFormatInfo e necessarie per l'analisi non sono univoche."

Come è possibile che in un pc funzioni e nell'altro no? Le versioni del software sono identiche.
Grazie a tutti.


Private Sub TextBox78_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox78.TextChanged
Dim d80 As Double
Dim d78 As Double

Dim d79 As Double
Dim str79 As String

str79 = ""

If TextBox80.Text.Length > 0 And TextBox78.Text.Length > 0 Then
d80 = CDbl(TextBox80.Text)
d78 = CDbl(TextBox78.Text)

d79 = 2 * d80 + d78 + 1
str79 = d79.ToString("N")
End If

TextBox79.Text = str79
End Sub