VB beginner

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 88achess
    New Member
    • Sep 2006
    • 1

    VB beginner

    I am supposed to make a tshirt sale thing for my VB class. It is not working. Can anyone help? When the calculate button is clicked convert text input and store in variables, calculate the cost at price times quantity. That is jst the start. i am new and I need help. Thanks.
  • radcaesar
    Recognized Expert Contributor
    • Sep 2006
    • 759

    #2
    No Code Snippets, No Error Message Details, How can we ?

    Comment

    • angi the dark angel
      New Member
      • Sep 2006
      • 11

      #3
      here we go.
      add 3 test boxes

      private sub calculate()

      dim qty as integre=trim(tx t_qty.text)
      dim pricer_per_item as integre=trim(tx t_qty.text)
      dim total as decimal=0.0
      total=(qty *pricer_per_ite m)
      textbox3.text=C Dbl(total).toSt ring("###,##0.0 0")

      Comment

      Working...