Message Box Problem?? *RESOLVED*
Ok this is what I got! All I want is for my Message Box to display the value of dblOrder and the value of strCost where I have them in RED. How do I do this??
VB Code:
Const AA As Double = 6.25
Dim strCost As String
Dim dblOrder As Double
dblOrder = Val(nudOrder.Text)
strCost = (dblOrder * AA).ToString("c")
MessageBox.Show("You ordered [COLOR=RED](dblOrder)[/COLOR] items at a total cost of [COLOR=RED](strCost)[/COLOR].", "Order")
Re: Message Box Problem??
[QUOTE]Originally posted by twisted
VB Code:
MessageBox.Show("You ordered (" & Cstr(dblOrder) & ") items at a total cost of (" & strCost & ").", "Order")