User Profile

Collapse

Profile Sidebar

Collapse
Bresy
Bresy
Last Activity: Apr 4 '07, 04:41 PM
Joined: Mar 27 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Bresy
    replied to How to check textbox inputs
    in .NET
    Ok Thanks a lot for your help. I have got a solution but its very long as like I said there will be 30 different inputs. So this is how I got it to work is there any other way to make this simpler.

    Private Sub btnCheck_Click( ByVal sender As System.Object, ByVal e As System.EventArg s) Handles btnCheck.Click

    Dim TotalAns As Integer
    TotalAns = 0

    If txtRep1.Text = "A"
    ...
    See more | Go to post

    Leave a comment:


  • Bresy
    replied to How to check textbox inputs
    in .NET
    Sorry about that The boolean was included as that was the error I got from the source. It said "Option Strict On disallows implicit conversions from 'Boolean' to 'String'."

    Your answer works well. But only for one of the text boxes. I have 2 different text boxes at the minute and at the end I will need about 30 different user inputs.

    textrep1
    textrep2
    textrep3 ... etc.

    So I need...
    See more | Go to post

    Leave a comment:


  • Bresy
    started a topic Visual Basic.Net Help Please

    Visual Basic.Net Help Please

    How to check textbox inputs
    --------------------------------------------------------------------------------

    Hi I relatively new to VB.Net. And I have to create a sort of quiz type application.
    There are a few Text boxes where the user will input their answers. I want the code to check the users input and compare with set answer. If correct add 1 to a total and at the end display the total correct answers. I have a code...
    See more | Go to post

  • Bresy
    started a topic How to check textbox inputs
    in .NET

    How to check textbox inputs

    Hi I relatively new to VB.Net. And I have to create a sort of quiz type application.
    There are a few Text boxes where the user will input their answers. I want the code to check the users input and compare with set answer. If correct add 1 to a total and at the end display the total correct answers. I have a code but I keep getting Errors like cannot convert boolean to integer etc. Any help please..

    this is my code at the moment...
    See more | Go to post
No activity results to display
Show More
Working...