Outlook Script Question about using TXT.File
Am Thu, 4 Dec 2008 16:49:53 +0100 schrieb bbnimda:
That object offers a ReadLine function, did you try that?
i don't know how that function works. I'd read all the file, then use the
Split function. If you split all the content by the line delimiter, which
usually is vbCRLF, an array will be returned with one item per line.
--
Viele Gruesse
Michael Bauer - MVP Outlook
: Outlook-Kategorien? Category Manager ist die Lösung
: VBOffice Reporter für Datenanalyse & Berichte
: http://www.vboffice.net/product.html?pub=6
Hi All,
I'm use a custom Form , and store some information to .txt file, all is
ok
I store / save and read these information without any Pb, but from time to
time I need to replace a the content of a line and I don't found the
command that allow me to replace a line knowing it row
to add line I use something like this
Set objFile = objFSO.OpenTextFile(myfile,forereading)
myNewitem
objFile.WriteLine(myNewitem)
.....
and to read the file I put the content of the file to a list and get the
info from this list
|