TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rene Johansen
NA
2
0
Problem with textbox on xp (but not vista)
Mar 10 2010 2:23 PM
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...
Using Visual studio 2008
someone with a good idea....
Reply
Answers (
0
)
Books For Learning VB .NET 2008
Visual Basic .NET XML Socket Server.. with client!