Search results for query: *

  1. U

    Help with saving from an array to a file

    I'm doing another assignment for class and we have to use arrays to store information, save it to a file, load the file, and use the information in the file to display results. Anyways, whenever I save the file it keeps adding to the file each time I run the program and save new data to the...
  2. U

    More VB.Net class homework fun...

    Alright I got everything working now, thanks for all your help! :) I promise you I will be back though... lol, not even half way through the semester.
  3. U

    More VB.Net class homework fun...

    Nevermind I figured it out. :) Last thing I need to do is call my clear button procedure, not sure how to do that. This is the code for it: Private Sub buttonClear_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles buttonClear.Click 'Clears the Form and sets...
  4. U

    More VB.Net class homework fun...

    Ah thank you very much, I will work with this, I am almost done with this silly project... at least I'm learning though. Edit: Well, I now know how to declare a boolean and set it equal to false but I'm not sure where to put it in my code to set it equal to true if the correct BMI is guessed.
  5. U

    More VB.Net class homework fun...

    Ok I got a little bit more done on this project, here is what I have: Private Sub buttonCalc_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles buttonCalc.Click 'Calculates the BMI 'Declare Variables Dim WeightInteger, HeightInteger As Integer...
  6. U

    More VB.Net class homework fun...

    Anyone got any ideas? Project due on monday (not to rush anyone).
  7. U

    More VB.Net class homework fun...

    Ok so this goes back to a POST I made before about calculating BMI based on height and weight entered. Well now I have to add to that project. One part is that I have to include radio buttons to select and if you select the right one with the number range that is equal to the result from the...
  8. U

    College Class - Help with project, simple calculation.

    Thank you, that will work. Unfortunately I think my professor wants us to use the try catch blocks, he may accept this way but take some points off. Anyway you could show me how to do it with the try catch blocks? Thanks again for all your help.
  9. U

    College Class - Help with project, simple calculation.

    I have another question, if you dont mind helping again. We have to use Try...Catch to catch errors when entering weight and height. I got some running for catching non-numeric data but I cant figure out how to add another one for each text box that will catch with dividebyZeroException...
  10. U

    College Class - Help with project, simple calculation.

    Sweet! Thank you very much! Alot of this stuff is hard for me to get it in to my brain even though its simple stuff but hopefully one day I'll get the hang of it :)
  11. U

    College Class - Help with project, simple calculation.

    I'm supposed to be creating a form to calculate body mass index (BMI) by doing: BMI = Weight In Pounds / (Height in Inches) ^ 2 * 703 I have to create two text boxes to store the information in and then use that information for my calculation, I have that part done ok I think. Then display...
Back
Top