Gustavo

Gustavo

  • NA
  • 1.3k
  • 452.5k

Read / Write text file.

Feb 23 2010 4:09 PM

Hello:

 

 

I would like to read in a text file and have it populate some objects in my program. Also I would like to change or delete some lines in the text file. Anyone know where I can find some sample code to help me do this? (Also I would like to add a new line or delete a line).

 

                          

The following is what I would like to have in my test file:

 

 

User,Password,Sysytem,Database

Scott,Scott1212,HPV64,Devel

Scott,Scott1212,HPV64,Live

Bill,Bill3434,HPV64,Devel

Bill,Bill3434,HPV64,Live

Joe,Joe5656,VMW7,Devel

Joe,Joe5656,VMW7,Live

 

 

The objects I have on my form are:

textBoxUser_ID

textBoxPassword

comboBoxServer

comboBoxDatabase

 

 


Answers (23)