Read a text file and return value if specified text is found VB .Net 2008 - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Programming
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 11-13-2011, 06:34 PM   #1 (permalink)
Ultra Techie
 
QuaziBee's Avatar
 
Join Date: Jun 2007
Location: Calgary, AB
Posts: 661
Default Read a text file and return value if specified text is found VB .Net 2008

I need to read a text file and if "21" appears I need to start an event that changes the text of a label in my windows form.

A friend suggested I try
Do Until
but I honestly don't know how the do untill returns values.

Beginner programmer here, please be kind.
__________________

__________________
Network Administrator /
Project Coordinator
Moli Industries LTD.
www.rapidts.com
QuaziBee is offline  
Old 11-14-2011, 12:58 PM   #2 (permalink)
Seg Fault'n
 
Join Date: Jul 2005
Location: The dried husk where America came from
Posts: 5,801
Default Re: Read a text file and return value if specified text is found VB .Net 2008

Could you provide some more details about what you are looking for? Do you want to read through a text file and for each instance of the text "21", you want to change the value displayed in a label?
__________________


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
"Get your money and let's go to court!" - Craig Mudie, MS
kmote is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Illustrator wrap/fit all text in text area ! Whitey ! Web Graphics and Design 3 02-15-2010 02:52 PM
Remove Unneeded Text With Text Trimmer Osiris Tips, Tricks & Tutorials 0 11-05-2008 07:20 AM
Fun text-based game i found Shirtbird PC Gaming 8 11-18-2006 01:10 AM
How to recover text from any files by using the "Recover Text from Any File" converte Osiris Tips, Tricks & Tutorials 0 06-20-2006 07:24 AM
can not read the text completely on a page rookie1010 Viruses, Spyware and Malware 2 05-24-2004 03:07 PM



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 06:28 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2019, vBulletin Solutions, Inc.