Results 1 to 4 of 4

Thread: Message Box Problem?? *RESOLVED*

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2004
    Posts
    131

    Question 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:
    1. Const AA As Double = 6.25
    2.  
    3. Dim strCost As String
    4. Dim dblOrder As Double
    5. dblOrder = Val(nudOrder.Text)
    6.  
    7. strCost = (dblOrder * AA).ToString("c")
    8.  
    9. 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width