Thread: VB2008

Results 1 to 3 of 3
  1. #1
    spacebuggy's Avatar
    Join Date
    Oct 2008
    Location
    USA
    Posts
    1
    Reputation
    10
    Thanks
    0

    Unhappy VB2008

    I am trying to subtract two time and display the result in a textbox.
    I have two labels for the times, a textbox for the result and a button to calculate.

    Can anyone help me?

  2. #2
    GG2GG's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    United Kingdom
    Posts
    3,382
    Reputation
    21
    Thanks
    4,294,967,295
    My Mood
    Blah
    what you need is code ....
    anyway i dont realy understand what u want help with D:

  3. #3
    Calster's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    16
    Reputation
    10
    Thanks
    3
    I dont really understand your question. But i think you mean you want someone to input two numbers and then when you click the button, subtract them?

    If so:

    Change your two 'labels' to textboxes and make another label to display your result.

    Then on the button code so something like:

    ResultLabel.Text = Textbox1.Text - Textbox2.text

    That should work....

    If i understood you xD

    ~Calster~

Similar Threads

  1. Halo2 soundboard i made in VB2008
    By No5cope in forum Visual Basic Programming
    Replies: 2
    Last Post: 08-25-2009, 05:15 PM
  2. [Tutorial]VB2008! How To Make Digital Clock On Your Form!
    By almog6666 in forum Visual Basic Programming
    Replies: 3
    Last Post: 04-09-2009, 01:55 PM
  3. [Easy][VB2008 Tutorial, Beginner friendly] Sending a Email using SMTP
    By apezwijn in forum Visual Basic Programming
    Replies: 5
    Last Post: 10-22-2008, 07:13 AM
  4. d3d in vb2008
    By bloqueado93 in forum Visual Basic Programming
    Replies: 1
    Last Post: 05-05-2008, 11:52 AM
  5. vb2008 problem
    By bloqueado93 in forum Visual Basic Programming
    Replies: 3
    Last Post: 05-04-2008, 08:21 PM

Tags for this Thread