Results 1 to 2 of 2

Thread: [RESOLVED][2005] 1 textbox multiple inputs

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2007
    Posts
    22

    Resolved [RESOLVED][2005] 1 textbox multiple inputs

    I'm creating a program, 1 textbox, and 2 buttons,and a listbox, so everytime I enter a number into the textbox i have to click a button, then another buton computes the average, the problem i'm having is imputing multiple numbers in one textbox, eneter number, press button, txtbox clears, and so one, i need to do that 3 times

    Resolved by using multiple variables.
    Last edited by peterdfl; Apr 22nd, 2007 at 09:48 AM.

  2. #2
    Frenzied Member stimbo's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    1,739

    Re: 1 textbox multiple inputs

    Does the listbox store the numbers?

    Not that it's so important but create an array or use a List(of Integer) or whatever variable is appropriate.

    Assign the current number in the textbox to the current index and then clear the textbox.

    What have you done so far?
    Stim

    Free VB.NET Book Chapter
    Visual Basic 2005 Cookbook Sample Chapter

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