Programming tutorials online .NET, Java, C++, Visual Basic, and More
 

Home
.NET Tutorials
General Programming Tutorials
Community/Forums
Site Extras

 

VB/VB.NET Forum
 

Open forum for discussing anything VB 6 or Visual Basic .NET related.


POST REPLY
Posted By: Stevlee   5/11/2006 12:35:00 PM
Reply To: Stevlee who posted...
 
using VB 6.0, I need to read a file where each line in the file contains two strings separated by a space, i.e., var1 var2(also called Name Value Pair). Each string is of varying size. However, var1 can only equal a select number of values that map to a database field. var2 is the value I need to store in the database. Each line is part of a record, when I reach a line with just a dot that is the end of the record. How do you read these two strings in and store them into variables so I can insert into a table?



 
Sign In
Email
Password
  Forgot my password

Search

Featured Book

Introducing Microsoft .Net, Third Edition ($19.79)
Introducing Microsoft .Net, Third Edition


Featured Software

Microsoft Visual Studio Standard 2005 ($249.99)
Microsoft Visual Studio Standard 2005