Login | |
|
 |
RE: Reading and Writing files - 7/8/2007 2:25:38 PM
|
|
 |
|
| |
dm_4ever
Posts: 2724
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
|
First off, you overwrite the value of strLine and strLine1 so you end up with the last line of each of the text files Do until objFile.AtEndOfStream strLine = objFile.Readline Loop should be more like. Do until objFile.AtEndOfStream strLine = strLine & objFile.Readline Loop or to just get the entire content strLine = objFile.ReadAll objFile.Close Is this all your code?
_____________________________
dm_4ever My philosophy: K.I.S.S - Keep It Simple Stupid Read Me: http://www.visualbasicscript.com/m_24727/tm.htm Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
| |
|
|
 |
|
 |
|
|