Search results

  1. T

    Create Validating Event Handler

    Thanks Kulrom, but it didn't work. Is there nothing I can tweak in the previous code given?
  2. T

    Create Validating Event Handler

    Thanks Kulrom, But now, how do I get it to distinguish between text and double. It needs to change the forecolor to red if text is entered, and change forecolor to black if the input is correct (double number).
  3. T

    Create Validating Event Handler

    How do I create this for my input text boxes? Selecting the Class Name and Method Name is as far as I got. If the input is not valid, I must set the foreground color of the text box to red. Otherwise, I have to set the foreground color to black. Thanks,
  4. T

    Message Box

    Thanks Gnome,
  5. T

    Message Box

    Message Box - RESOLVED dHow do I add an exclamation point and "ok", to my message box through this code: MessageBox.Show("Invalid Input", ControlChars.NewLine. & ex.Message) Thanks,
  6. T

    btnCalculate Code. HELP!!!!!!!!!!!!!!!!!!!!!!!!!

    Is this where the problem is?: pdblVolumeTotal = Volume(txtLength.Text, txtWidth.Text, txtHeight.Text) lblVolume.Text = System.Convert.ToString (pdblVolumeTotal)
  7. T

    btnCalculate Code. HELP!!!!!!!!!!!!!!!!!!!!!!!!!

    JB, Badger, The code works, but now when I hit the 'Calculate' button, the result goes into the 'Volume' label box, instead of the 'lblVolumeTotal' box, where it should go...
  8. T

    btnCalculate Code. HELP!!!!!!!!!!!!!!!!!!!!!!!!!

    btnCalculate Code. HELP!!!!!!!!!!!!!!!!!!!!!!!!!RESOLVED I'm working on a project in class. I've done most everything else, but now i'm stuck on coding the btnCalculate_Click. I've got to now: a) Convert (Length) field value from text to double (numeric) b) Call a function I created named...
Top Bottom