ERRO DE CONVERSAO
NÃO, SEM BANCO DE DADOS, POR ENQUANTO!
Não tem como postar o projeto não? Só o txt assim fica difÃcil de analisar, está muito grande.
Em que formato consigo enviar?
Compacta como ZIP;
Segue ai!
O erro esta nesse trecho...
Substituia por esse que funciona
Private Sub NumericUpDown3_ValueChanged_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NumericUpDown3.ValueChanged
NumericUpDown4.Value = 100 - (NumericUpDown3.Value + Label181.Text)
End Sub
Private Sub NumericUpDown4_ValueChanged_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NumericUpDown4.ValueChanged
NumericUpDown3.Value = 100 - (NumericUpDown4.Value + Label181.Text)
End Sub
Private Sub NumericUpDown1_ValueChanged_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NumericUpDown1.ValueChanged
NumericUpDown2.Value = 100 - NumericUpDown1.Value
End Sub
Private Sub NumericUpDown2_ValueChanged_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NumericUpDown2.ValueChanged
NumericUpDown1.Value = 100 - NumericUpDown2.Value
End Sub
Private Sub NumericUpDown6_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NumericUpDown6.ValueChanged
NumericUpDown5.Value = 100 - NumericUpDown6.Value
End Sub
Private Sub NumericUpDown5_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NumericUpDown5.ValueChanged
NumericUpDown6.Value = 100 - NumericUpDown5.Value
End Sub
Substituia por esse que funciona
Private Sub NumericUpDown3_ValueChanged_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NumericUpDown3.ValueChanged
Try
NumericUpDown4.Value = 100 - (NumericUpDown3.Value + Label181.Text)
Catch ex As Exception
End Try
End Sub
Private Sub NumericUpDown4_ValueChanged_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NumericUpDown4.ValueChanged
Try
NumericUpDown3.Value = 100 - (NumericUpDown4.Value + Label181.Text)
Catch ex As Exception
End Try
End Sub
Private Sub NumericUpDown1_ValueChanged_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NumericUpDown1.ValueChanged
Try
NumericUpDown2.Value = 100 - NumericUpDown1.Value
Catch ex As Exception
End Try
End Sub
Private Sub NumericUpDown2_ValueChanged_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NumericUpDown2.ValueChanged
Try
NumericUpDown1.Value = 100 - NumericUpDown2.Value
Catch ex As Exception
End Try
End Sub
Private Sub NumericUpDown6_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NumericUpDown6.ValueChanged
Try
NumericUpDown5.Value = 100 - NumericUpDown6.Value
Catch ex As Exception
End Try
End Sub
Private Sub NumericUpDown5_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NumericUpDown5.ValueChanged
Try
NumericUpDown6.Value = 100 - NumericUpDown5.Value
Catch ex As Exception
End Try
End Sub
VALEU, ALTAIR!
MUITO OBRIGADO! DEU CERTO! MUITO BOM!
MUITO OBRIGADO! DEU CERTO! MUITO BOM!
Tópico encerrado , respostas não são mais permitidas