23
Answers

Read / Write text file.

Gustavo

Gustavo

14y
5.2k
1

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)