Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Problem with textbox on xp (but not vista)

ZyferZyfer Posts: 2Member
I have some textboxes that I do simple math in. The problem is that it works in vista-windows 7, but on xp the textboxes are emty.

------------------------------------------------
Me.KostOP_TextBox.Text = (Me.SUM_COSTTextBox.Text - Me.Kost_TextBox.Text)

If Me.KostOP_TextBox.Text < 0 Then

Me.KostOP_TextBox.ForeColor = Color.Red

Else

Me.KostOP_TextBox.ForeColor = Color.Black

End If

Me.KostOP_TextBox.Text = String.Format("kr. {0:n2}", (Me.SUM_COSTTextBox.Text - Me.Kost_TextBox.Text))

-------------------------------------------------

It is a field from a dataset (Me.SUM_COSTTextBox.Text), and a tekstbox with a result from a anoter equation (Me.Kost_TextBox.Text). The result is the put into a anoter teksbox (Me.KostOP_TextBox.Text). The result is shown on vista-windows7 but not xp...

someone with a good idea....:-)


Sign In or Register to comment.