Using the Text property of an Arraylist

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • cmdolcet69

    Using the Text property of an Arraylist

    How can I use the text property of a created arraylist

    I need it to pop up that messagebox if the textin the tempValues
    arraylist is equal to ..


    ElseIf tmpValues.ToStr ing = ".." Then
    MessageBox.Show (" This is not an accepted value", "Not
    a value...")


  • Herfried K. Wagner [MVP]

    #2
    Re: Using the Text property of an Arraylist

    "cmdolcet69 " <colin_dolcetti @hotmail.comsch rieb:
    How can I use the text property of a created arraylist
    >
    I need it to pop up that messagebox if the textin the tempValues
    arraylist is equal to ..
    >
    >
    ElseIf tmpValues.ToStr ing = ".." Then
    MessageBox.Show (" This is not an accepted value", "Not
    a value...")
    'If Not tmpValues.Conta ins(...) Then MsgBox("This is not an accepted
    value!")'.

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

    Comment

    • cmdolcet69

      #3
      Re: Using the Text property of an Arraylist

      On Feb 29, 10:43 pm, "Herfried K. Wagner [MVP]" <hirf-spam-me-
      h...@gmx.atwrot e:
      "cmdolcet69 " <colin_dolce... @hotmail.comsch rieb:
      >
      How can I use thetextproperty of a createdarraylis t
      >
      I need it to pop up that messagebox if the textin the tempValues
      arraylistis equal to ..
      >
                 ElseIf tmpValues.ToStr ing = ".." Then
                     MessageBox.Show (" This is not an acceptedvalue", "Not
      a value...")
      >
      'If Not tmpValues.Conta ins(...) Then MsgBox("This is not an accepted
      value!")'.
      >
      --
       M S   Herfried K. Wagner
      M V P  <URL:http://dotnet.mvps.org/>
       V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
      Ok if a take away the
      'If tmpValues.Conta ins(...) Then MsgBox("This is not an accepted
      value!")'.

      It still wont pick up if i have a number ..3 for example.

      Comment

      • cmdolcet69

        #4
        Re: Using the Text property of an Arraylist

        On Feb 29, 10:43 pm, "Herfried K. Wagner [MVP]" <hirf-spam-me-
        h...@gmx.atwrot e:
        "cmdolcet69 " <colin_dolce... @hotmail.comsch rieb:
        >
        How can I use thetextproperty of a createdarraylis t
        >
        I need it to pop up that messagebox if the textin the tempValues
        arraylistis equal to ..
        >
        ElseIf tmpValues.ToStr ing = ".." Then
        MessageBox.Show (" This is not an accepted value", "Not
        a value...")
        >
        'If Not tmpValues.Conta ins(...) Then MsgBox("This is not an accepted
        value!")'.
        >
        --
        M S Herfried K. Wagner
        M V P <URL:http://dotnet.mvps.org/>
        V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
        It seems as if I have a value 0..3 it will not pick it up. When I use
        your above state it will only trigger the warning message if the value
        doesn;t have ".."

        Comment

        Working...