Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / March 2008

Tip: Looking for answers? Try searching our database.

Using the Text property of an Arraylist

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cmdolcet69 - 29 Feb 2008 20:40 GMT
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.ToString = ".." Then
               MessageBox.Show(" This is not an accepted value", "Not
a value...")
Herfried K. Wagner [MVP] - 01 Mar 2008 03:43 GMT
"cmdolcet69" <colin_dolcetti@hotmail.com> schrieb:
> How can I use the text property of a created arraylist
>
[quoted text clipped - 4 lines]
>                MessageBox.Show(" This is not an accepted value", "Not
> a value...")

'If Not tmpValues.Contains(...) Then MsgBox("This is not an accepted
value!")'.

Signature

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

cmdolcet69 - 03 Mar 2008 18:56 GMT
On Feb 29, 10:43 pm, "Herfried K. Wagner [MVP]" <hirf-spam-me-
h...@gmx.at> wrote:
> "cmdolcet69" <colin_dolce...@hotmail.com> schrieb:
>
[quoted text clipped - 14 lines]
> 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.Contains(...) Then MsgBox("This is not an accepted
value!")'.

It still wont pick up if i have a number ..3 for example.
cmdolcet69 - 05 Mar 2008 19:47 GMT
On Feb 29, 10:43 pm, "Herfried K. Wagner [MVP]" <hirf-spam-me-
h...@gmx.at> wrote:
> "cmdolcet69" <colin_dolce...@hotmail.com> schrieb:
>
[quoted text clipped - 14 lines]
> 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 ".."

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.