|
-
Jun 17th, 2004, 07:22 AM
#1
Thread Starter
Addicted Member
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")
Last edited by twisted; Jun 17th, 2004 at 08:19 AM.
Twisted
-
Jun 17th, 2004, 07:44 AM
#2
Frenzied Member
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")
-
Jun 17th, 2004, 08:19 AM
#3
Thread Starter
Addicted Member
Thanks a lot man! Worked great!
-
Jun 17th, 2004, 08:38 AM
#4
Frenzied Member
No problem. Thanks for adding Resolved to the title of the post.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|