<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic append to text file - thank you in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347837#M78264</link>
    <description>Mark:&lt;BR /&gt;
    I assume, if you are customizing AutoCad, you also use AutoCad. Learning to&lt;BR /&gt;
drive cad in it self is no small task Having acomplished that, learning to&lt;BR /&gt;
customize with all the great new tools available today, Dude YOU are cutting&lt;BR /&gt;
edge buddy! 2 ghz PCs, megs &amp;amp; megs of ram, live it up, life is good&lt;BR /&gt;
wahoo&lt;BR /&gt;
Andy&lt;BR /&gt;
&lt;BR /&gt;
Mark Propst wrote:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; Laurie,&lt;BR /&gt;
&amp;gt; I'm not disaggreeing with you at all.&lt;BR /&gt;
&amp;gt; It's just that till I ask the questions I don't know what tool I do have at&lt;BR /&gt;
&amp;gt; hand, or which is easier to use!(since they were both in the help files at&lt;BR /&gt;
&amp;gt; the time I was trying to get that to work)&lt;BR /&gt;
&amp;gt; I'm all about trying to get the job done...that's why all my code is so&lt;BR /&gt;
&amp;gt; messy and weird...just get this **** thing working, eh mate?&lt;BR /&gt;
&amp;gt; hey, just sitting in front of a computer makes me feel on the cutting edge&lt;BR /&gt;
&amp;gt; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&amp;gt; g'day!&lt;BR /&gt;
&amp;gt; Mark&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Laurie Comerford" &lt;LAURIE&gt; wrote in message&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; I think as non-professional programmers, we are better getting the job&lt;BR /&gt;
&amp;gt; done&lt;BR /&gt;
&amp;gt; &amp;gt; with the tools at hand than being at the cutting edge of technology.&lt;/LAURIE&gt;</description>
    <pubDate>Mon, 07 Jan 2002 17:08:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2002-01-07T17:08:05Z</dc:date>
    <item>
      <title>append to text file - i give up</title>
      <link>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347824#M78251</link>
      <description>arggggh! after wasting the better part of the last two days trying to do&lt;BR /&gt;
this one simple thing I have to admit ignorance and ask for help&lt;BR /&gt;
&lt;BR /&gt;
I've read and re-read the help files and searched archives and google and&lt;BR /&gt;
can't fiind anything that has helped me understand what I'm doing wrong.&lt;BR /&gt;
I've tried a hundred variations of getfile, createtextfile, open&lt;BR /&gt;
statement[forWriting, ForReading, ForAppending], OpenAsTextStream,&lt;BR /&gt;
OpenTextFile, writeline, readline etc and I cant seem to get a simple text&lt;BR /&gt;
file and append to it.&lt;BR /&gt;
I know this is pathetically lame that I can't figure this out on my own but&lt;BR /&gt;
if there's any sympathy out there for a lamer...help!&lt;BR /&gt;
my latest failed example is:&lt;BR /&gt;
&lt;BR /&gt;
Public Sub AddToFile(filenm as string, msg As String)&lt;BR /&gt;
&lt;BR /&gt;
'declare file locations&lt;BR /&gt;
Dim FileLocation As String&lt;BR /&gt;
FileLocation = "C:\temp\"&lt;BR /&gt;
&lt;BR /&gt;
'declare file name variables&lt;BR /&gt;
Dim FileName As String&lt;BR /&gt;
&lt;BR /&gt;
'assign name to text file&lt;BR /&gt;
FileName = FileLocation &amp;amp; filenm&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
'create a file object for the report file&lt;BR /&gt;
Dim fso As Variant 'file scripting object&lt;BR /&gt;
Set fso = CreateObject("Scripting.FileSystemObject")&lt;BR /&gt;
&lt;BR /&gt;
Dim objFile As Variant 'actual file textstream object&lt;BR /&gt;
&lt;BR /&gt;
'create actual file stream object&lt;BR /&gt;
On Error Resume Next&lt;BR /&gt;
Set objFile = fso.GetFile(FileName)&lt;BR /&gt;
If Err Then&lt;BR /&gt;
&lt;BR /&gt;
Set objFile = fso.CreateTextFile(FileName, True) 'allow overwrite&lt;BR /&gt;
Err.Clear&lt;BR /&gt;
End If&lt;BR /&gt;
&lt;BR /&gt;
Dim objfile2 As Variant&lt;BR /&gt;
'this is supposed to open the file for appending but it doesn't&lt;BR /&gt;
'supposedly ForAppending etc are built in constants but they aren't&lt;BR /&gt;
'you apparently have to declare them as constants yourself&lt;BR /&gt;
'the help says append = 3 but the example uses 8 but I can't get either to&lt;BR /&gt;
work&lt;BR /&gt;
Set objfile2 = objFile.OpenAsTextStream(8) 'forappending - or (3) -&lt;BR /&gt;
different help files&lt;BR /&gt;
&lt;BR /&gt;
'write msg to file&lt;BR /&gt;
'since the file was "supposedly" opened for append this should add a new&lt;BR /&gt;
line each time it's run&lt;BR /&gt;
'but it doesn't&lt;BR /&gt;
objfile.Writeline msg&lt;BR /&gt;
objfile.Close&lt;BR /&gt;
&lt;BR /&gt;
Set objFile = Nothing&lt;BR /&gt;
Set objfile2 = Nothing&lt;BR /&gt;
Set fso = Nothing&lt;BR /&gt;
&lt;BR /&gt;
End Sub&lt;BR /&gt;
that would then be called with:&lt;BR /&gt;
Sub testx()&lt;BR /&gt;
AddToFile "test1.txt", "this is a test"&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
I know somehow I'm making this much harder than it has to be.&lt;BR /&gt;
This has to be the easiest thing to do and I cant figure it out....dumb dimb&lt;BR /&gt;
dimmmerer&lt;BR /&gt;
Thanks for any help&lt;BR /&gt;
Mark</description>
      <pubDate>Sun, 06 Jan 2002 10:57:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347824#M78251</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-01-06T10:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: append to text file - i give up</title>
      <link>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347825#M78252</link>
      <description>Does this help&lt;BR /&gt;
&lt;BR /&gt;
Option Explicit&lt;BR /&gt;
&lt;BR /&gt;
Public Sub writeme()&lt;BR /&gt;
&lt;BR /&gt;
Dim FileNumber As Integer&lt;BR /&gt;
FileNumber = FreeFile&lt;BR /&gt;
&lt;BR /&gt;
Dim FileName As String&lt;BR /&gt;
FileName = "C:\Test.txt"&lt;BR /&gt;
Dim i As Integer&lt;BR /&gt;
&lt;BR /&gt;
For i = 1 To 4&lt;BR /&gt;
Open FileName For Append As #FileNumber&lt;BR /&gt;
Print #FileNumber, "Test" &amp;amp; i&lt;BR /&gt;
Close #FileNumber&lt;BR /&gt;
Next i&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
Kent Keller&lt;BR /&gt;
http://kwikmcad.topcities.com/&lt;BR /&gt;
&lt;BR /&gt;
"MP" &lt;NOSPAM&gt; wrote in message&lt;BR /&gt;
news:7C23C6AA78FEE52F445B8026E90463BD@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; arggggh! after wasting the better part of the last two days trying to do&lt;BR /&gt;
&amp;gt; this one simple thing I have to admit ignorance and ask for help&lt;/NOSPAM&gt;</description>
      <pubDate>Sun, 06 Jan 2002 11:31:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347825#M78252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-01-06T11:31:35Z</dc:date>
    </item>
    <item>
      <title>append to text file - thank you</title>
      <link>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347826#M78253</link>
      <description>Kent Keller &lt;KWIK.MCAD&gt; wrote in message&lt;BR /&gt;
&amp;gt; Does this help&lt;BR /&gt;
&lt;BR /&gt;
Hi Kent,&lt;BR /&gt;
sure does!&lt;BR /&gt;
can you explain the difference between all the different ways to get at a&lt;BR /&gt;
file...I didn't know which to use for what purpose&lt;BR /&gt;
eg:&lt;BR /&gt;
getFile&lt;BR /&gt;
OpenTextFile&lt;BR /&gt;
OpenAsTextStream&lt;BR /&gt;
CreateTextFile?&lt;BR /&gt;
CreateTextStream?&lt;BR /&gt;
Open statement&lt;BR /&gt;
etc?&lt;BR /&gt;
sometimes I can't even find references to them in the help cause i don't&lt;BR /&gt;
know which program they belong to - autocad - vba - vb ???...like just now I&lt;BR /&gt;
looking for CreateTextFile and it's not in the help but it was there before&lt;BR /&gt;
now I don't know where to look for it??? mucho confuso&lt;BR /&gt;
&lt;BR /&gt;
for example what is wrong with this approach?&lt;BR /&gt;
    Set f = fs.CreateTextFile("test1.txt", True)            'Create a file&lt;BR /&gt;
   Set ts = f.OpenAsTextStream(ForAppending, TristateUseDefault)'open to&lt;BR /&gt;
append&lt;BR /&gt;
I can't get it to work but from the sparce help I would think it would.&lt;BR /&gt;
I just don't understand the basics of all this&lt;BR /&gt;
&lt;BR /&gt;
I appreciate your solving my immediate dilema but I also want to understand&lt;BR /&gt;
why...&lt;BR /&gt;
Thanks again.&lt;BR /&gt;
Mark&lt;/KWIK.MCAD&gt;</description>
      <pubDate>Sun, 06 Jan 2002 11:53:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347826#M78253</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-01-06T11:53:11Z</dc:date>
    </item>
    <item>
      <title>append to text file - thank you</title>
      <link>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347827#M78254</link>
      <description>Mark&lt;BR /&gt;
&lt;BR /&gt;
No I can't, most of them I have never used, but looking at a couple of them they&lt;BR /&gt;
look like they are part of scripting rather than the basic VB stuff.  I just haven't&lt;BR /&gt;
done anything with scripting.  Unless you really need it, to avoid confusion I would&lt;BR /&gt;
avoid examples that have something like Set fs =&lt;BR /&gt;
CreateObject("Scripting.FileSystemObject") in it.  It will likely add to your&lt;BR /&gt;
confusion at this time.  It is to my understanding a Light version of VB/VBA that&lt;BR /&gt;
doesn't require a host program such as Autocad.  It is they language a lot of the&lt;BR /&gt;
email viruses are written in. I could be off base a bit, and I am sure we will  get&lt;BR /&gt;
straightened out if I am.  8^)&lt;BR /&gt;
&lt;BR /&gt;
I think most (all?) of those methods you listed are part of VBA and Scripting....&lt;BR /&gt;
not AutoCAD.&lt;BR /&gt;
&lt;BR /&gt;
I usually use the Search tab rather than the Index ...especially when I am not sure&lt;BR /&gt;
about something.   The easies way though is to type it in on the IDE, Highlight it,&lt;BR /&gt;
and hit F1.  That should take you right to the proper spot in help&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
Kent Keller&lt;BR /&gt;
http://kwikmcad.topcities.com/&lt;BR /&gt;
&lt;BR /&gt;
"MP" &lt;NOSPAM&gt; wrote in message&lt;BR /&gt;
news:B70C04D7E0F11533EBDAA92CB62F105E@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; can you explain the difference between all the different ways to get at a&lt;BR /&gt;
&amp;gt; file...I didn't know which to use for what purpose&lt;BR /&gt;
&amp;gt; eg:&lt;BR /&gt;
&amp;gt; getFile&lt;BR /&gt;
&amp;gt; sometimes I can't even find references to them in the help cause i don't&lt;BR /&gt;
&amp;gt; know which program they belong to - autocad - vba - vb ???...like just now I&lt;BR /&gt;
&amp;gt; looking for CreateTextFile and it's not in the help but it was there before&lt;BR /&gt;
&amp;gt; now I don't know where to look for it??? mucho confuso&lt;/NOSPAM&gt;</description>
      <pubDate>Sun, 06 Jan 2002 12:12:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347827#M78254</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-01-06T12:12:14Z</dc:date>
    </item>
    <item>
      <title>append to text file - thank you</title>
      <link>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347828#M78255</link>
      <description>Kent Keller &lt;KWIK.MCAD&gt; wrote in message&lt;BR /&gt;
&amp;gt; No I can't, most of them I have never used, but looking at a couple of&lt;BR /&gt;
them they&lt;BR /&gt;
&amp;gt; look like they are part of scripting rather than the basic VB stuff.&lt;BR /&gt;
yeah, I still don't understand the fact that so many different progs can&lt;BR /&gt;
work together.&lt;BR /&gt;
I see some posts that have c++ looking lines in them but they're appearing&lt;BR /&gt;
in a vb context.&lt;BR /&gt;
very confusing to me.  And all the API stuff...more very confusing&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt;  It will likely add to your confusion at this time.&lt;BR /&gt;
Yeah, and like I really need that added to!!!!!&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; The easies way though is to type it in on the IDE, Highlight it,&lt;BR /&gt;
&amp;gt; and hit F1.  That should take you right to the proper spot in help&lt;BR /&gt;
I do that a lot but sometimes get the keyword not found...but on another&lt;BR /&gt;
machine sometimes I can get the reference so some other progs must be loaded&lt;BR /&gt;
that have other help files or something????&lt;BR /&gt;
&lt;BR /&gt;
Any way, thanks again for your help...that saved me another two days of&lt;BR /&gt;
frustrating ignorant flailing about!&lt;BR /&gt;
Mark&lt;/KWIK.MCAD&gt;</description>
      <pubDate>Sun, 06 Jan 2002 12:26:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347828#M78255</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-01-06T12:26:49Z</dc:date>
    </item>
    <item>
      <title>append to text file - thank you</title>
      <link>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347829#M78256</link>
      <description>for example what is wrong with this approach?&lt;BR /&gt;
    Set f = fs.CreateTextFile("test1.txt", True)            'Create a file&lt;BR /&gt;
   Set ts = f.OpenAsTextStream(ForAppending, TristateUseDefault)'open to&lt;BR /&gt;
append&lt;BR /&gt;
&lt;BR /&gt;
The CreateTextFile method returns a TextStream object.&lt;BR /&gt;
&lt;BR /&gt;
The OpenAsTextStream method is part of the FileSystemObject and not a method&lt;BR /&gt;
of the TextStream object, which is what you are doing wrong in the above&lt;BR /&gt;
code.&lt;BR /&gt;
&lt;BR /&gt;
In the first statement f is set to an open TextStream.&lt;BR /&gt;
It is not neccesary to open it again.&lt;BR /&gt;
&lt;BR /&gt;
If you want to open an existing text file. Use the OpenAsTextStream method&lt;BR /&gt;
with an FileSystemObject.&lt;BR /&gt;
&lt;BR /&gt;
Try the example below:&lt;BR /&gt;
&lt;BR /&gt;
Option Explicit&lt;BR /&gt;
'Reference: 'Microsoft Scripting Runtime' library&lt;BR /&gt;
&lt;BR /&gt;
Sub AppendTextToFileEx()&lt;BR /&gt;
    'this will create and oopen a text file&lt;BR /&gt;
    'add 7 lines and close file&lt;BR /&gt;
    'then reopen for appending&lt;BR /&gt;
    'and add 3 more lines then close&lt;BR /&gt;
&lt;BR /&gt;
    Dim objFileSystem As FileSystemObject&lt;BR /&gt;
    Dim objTextFile As TextStream&lt;BR /&gt;
    Dim i As Integer&lt;BR /&gt;
&lt;BR /&gt;
    'create file system object&lt;BR /&gt;
    Set objFileSystem = CreateObject("Scripting.FileSystemObject")&lt;BR /&gt;
&lt;BR /&gt;
    'create and open a new text file, overwrite set to true&lt;BR /&gt;
    Set objTextFile = objFileSystem.CreateTextFile("C:\MyTextFile.txt",&lt;BR /&gt;
True)&lt;BR /&gt;
&lt;BR /&gt;
    'add 7 numbered lines to text file&lt;BR /&gt;
    For i = 1 To 7&lt;BR /&gt;
        objTextFile.WriteLine i&lt;BR /&gt;
    Next i&lt;BR /&gt;
&lt;BR /&gt;
    'close text file&lt;BR /&gt;
    objTextFile.Close&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
    'open text file for appending&lt;BR /&gt;
    Set objTextFile = objFileSystem.OpenTextFile("C:\MyTextFile.txt",&lt;BR /&gt;
ForAppending)&lt;BR /&gt;
&lt;BR /&gt;
    'add 3 more line to text file&lt;BR /&gt;
    For i = 8 To 10&lt;BR /&gt;
        objTextFile.WriteLine i&lt;BR /&gt;
    Next i&lt;BR /&gt;
&lt;BR /&gt;
    'close text file&lt;BR /&gt;
    objTextFile.Close&lt;BR /&gt;
&lt;BR /&gt;
End Sub</description>
      <pubDate>Mon, 07 Jan 2002 06:29:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347829#M78256</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-01-07T06:29:48Z</dc:date>
    </item>
    <item>
      <title>append to text file - thank you</title>
      <link>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347830#M78257</link>
      <description>W,&lt;BR /&gt;
Thanks for that explanation.&lt;BR /&gt;
I was flopping around all over the place - just couldn't hit the target.&lt;BR /&gt;
Now it's much clearer.&lt;BR /&gt;
So, given there are different ways to access a text file, what&lt;BR /&gt;
considerations determine which method to use?&lt;BR /&gt;
'per Kent's post&lt;BR /&gt;
Open FileName For Append As #FileNumber&lt;BR /&gt;
that seems very clean and simple&lt;BR /&gt;
and now with your explanation I could as easily use the TextStream obj.&lt;BR /&gt;
So, is there a preference and why?&lt;BR /&gt;
And what specifically are the Scripting Runtime options designed for as&lt;BR /&gt;
opposed to stock vb or vba?  I've heard of vbScript and have some idea that&lt;BR /&gt;
its' something for web pages???&lt;BR /&gt;
Appreciate any clarification of the background concepts that you could&lt;BR /&gt;
provide.&lt;BR /&gt;
&lt;BR /&gt;
Thanks again for your response.&lt;BR /&gt;
Mark&lt;BR /&gt;
&lt;BR /&gt;
"W Massey" &lt;WMASSEY&gt; wrote in message&lt;BR /&gt;
&amp;gt; The CreateTextFile method returns a TextStream object.&lt;BR /&gt;
&lt;BR /&gt;
ah ha!&lt;BR /&gt;
&amp;gt; 'Reference: 'Microsoft Scripting Runtime' library&lt;/WMASSEY&gt;</description>
      <pubDate>Mon, 07 Jan 2002 09:48:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347830#M78257</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-01-07T09:48:53Z</dc:date>
    </item>
    <item>
      <title>append to text file - thank you</title>
      <link>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347831#M78258</link>
      <description>Hi Mark,&lt;BR /&gt;
&lt;BR /&gt;
Having seen the problems you've had I'd forget the Scripting approach.   The&lt;BR /&gt;
standard VB file open with Read/Write/Append options works simply and&lt;BR /&gt;
reliably.  Why add confusion with scripting stuff.&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Laurie Comerford&lt;BR /&gt;
CADApps&lt;BR /&gt;
www.cadapps.com.au&lt;BR /&gt;
&lt;BR /&gt;
"Mark Propst" &lt;MARK&gt; wrote in message&lt;BR /&gt;
news:B5D8BFE1EDD16C212A7532809A679C66@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; W,&lt;BR /&gt;
&amp;gt; Thanks for that explanation.&lt;BR /&gt;
&amp;gt; I was flopping around all over the place - just couldn't hit the target.&lt;BR /&gt;
&amp;gt; Now it's much clearer.&lt;BR /&gt;
&amp;gt; So, given there are different ways to access a text file, what&lt;BR /&gt;
&amp;gt; considerations determine which method to use?&lt;BR /&gt;
&amp;gt; 'per Kent's post&lt;BR /&gt;
&amp;gt; Open FileName For Append As #FileNumber&lt;BR /&gt;
&amp;gt; that seems very clean and simple&lt;BR /&gt;
&amp;gt; and now with your explanation I could as easily use the TextStream obj.&lt;BR /&gt;
&amp;gt; So, is there a preference and why?&lt;BR /&gt;
&amp;gt; And what specifically are the Scripting Runtime options designed for as&lt;BR /&gt;
&amp;gt; opposed to stock vb or vba?  I've heard of vbScript and have some idea&lt;BR /&gt;
that&lt;BR /&gt;
&amp;gt; its' something for web pages???&lt;BR /&gt;
&amp;gt; Appreciate any clarification of the background concepts that you could&lt;BR /&gt;
&amp;gt; provide.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Thanks again for your response.&lt;BR /&gt;
&amp;gt; Mark&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "W Massey" &lt;WMASSEY&gt; wrote in message&lt;BR /&gt;
&amp;gt; &amp;gt; The CreateTextFile method returns a TextStream object.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; ah ha!&lt;BR /&gt;
&amp;gt; &amp;gt; 'Reference: 'Microsoft Scripting Runtime' library&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/WMASSEY&gt;&lt;/MARK&gt;</description>
      <pubDate>Mon, 07 Jan 2002 11:47:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347831#M78258</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-01-07T11:47:58Z</dc:date>
    </item>
    <item>
      <title>append to text file - thank you</title>
      <link>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347832#M78259</link>
      <description>Laurie,&lt;BR /&gt;
I totally agree with you, that I don't need any more confusion than I&lt;BR /&gt;
already have(don't want to be greedy now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
It's just that I like to learn about the options and the background to how&lt;BR /&gt;
and why things work so hopefully in the future the confusion will start to&lt;BR /&gt;
diminish.&lt;BR /&gt;
I'm definitely going to use the simpler versions for now...just like to&lt;BR /&gt;
understand!&lt;BR /&gt;
Mark&lt;BR /&gt;
&lt;BR /&gt;
"Laurie Comerford" &lt;LAURIE&gt; wrote in message&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; Having seen the problems you've had I'd forget the Scripting approach.&lt;BR /&gt;
&amp;gt; Why add confusion with scripting stuff.&lt;/LAURIE&gt;</description>
      <pubDate>Mon, 07 Jan 2002 12:16:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347832#M78259</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-01-07T12:16:22Z</dc:date>
    </item>
    <item>
      <title>append to text file - thank you</title>
      <link>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347833#M78260</link>
      <description>Hi Mark,&lt;BR /&gt;
&lt;BR /&gt;
The difficulty with a full understanding is that it's like Newton on the&lt;BR /&gt;
seashore looking at one grain of sand.  There is simply too much to ever be&lt;BR /&gt;
able to understand it all - or even know what there is to know.&lt;BR /&gt;
I think as non-professional programmers, we are better getting the job done&lt;BR /&gt;
with the tools at hand than being at the cutting edge of technology.&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Laurie Comerford&lt;BR /&gt;
CADApps&lt;BR /&gt;
www.cadapps.com.au&lt;BR /&gt;
&lt;BR /&gt;
"Mark Propst" &lt;MARK&gt; wrote in message&lt;BR /&gt;
news:757681341AFC640B20F325E3B91E33C0@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Laurie,&lt;BR /&gt;
&amp;gt; I totally agree with you, that I don't need any more confusion than I&lt;BR /&gt;
&amp;gt; already have(don't want to be greedy now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&amp;gt; It's just that I like to learn about the options and the background to how&lt;BR /&gt;
&amp;gt; and why things work so hopefully in the future the confusion will start to&lt;BR /&gt;
&amp;gt; diminish.&lt;BR /&gt;
&amp;gt; I'm definitely going to use the simpler versions for now...just like to&lt;BR /&gt;
&amp;gt; understand!&lt;BR /&gt;
&amp;gt; Mark&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Laurie Comerford" &lt;LAURIE&gt; wrote in message&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; Having seen the problems you've had I'd forget the Scripting approach.&lt;BR /&gt;
&amp;gt; &amp;gt; Why add confusion with scripting stuff.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/LAURIE&gt;&lt;/MARK&gt;</description>
      <pubDate>Mon, 07 Jan 2002 12:58:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347833#M78260</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-01-07T12:58:42Z</dc:date>
    </item>
    <item>
      <title>append to text file - thank you</title>
      <link>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347834#M78261</link>
      <description>Laurie,&lt;BR /&gt;
I'm not disaggreeing with you at all.&lt;BR /&gt;
It's just that till I ask the questions I don't know what tool I do have at&lt;BR /&gt;
hand, or which is easier to use!(since they were both in the help files at&lt;BR /&gt;
the time I was trying to get that to work)&lt;BR /&gt;
I'm all about trying to get the job done...that's why all my code is so&lt;BR /&gt;
messy and weird...just get this **** thing working, eh mate?&lt;BR /&gt;
hey, just sitting in front of a computer makes me feel on the cutting edge&lt;BR /&gt;
:)&lt;BR /&gt;
g'day!&lt;BR /&gt;
Mark&lt;BR /&gt;
&lt;BR /&gt;
"Laurie Comerford" &lt;LAURIE&gt; wrote in message&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; I think as non-professional programmers, we are better getting the job&lt;BR /&gt;
done&lt;BR /&gt;
&amp;gt; with the tools at hand than being at the cutting edge of technology.&lt;/LAURIE&gt;</description>
      <pubDate>Mon, 07 Jan 2002 13:13:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347834#M78261</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-01-07T13:13:18Z</dc:date>
    </item>
    <item>
      <title>append to text file - thank you</title>
      <link>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347835#M78262</link>
      <description>Mark,&lt;BR /&gt;
&lt;BR /&gt;
The TextStream object is an object-oriented approach to handling text files.&lt;BR /&gt;
As you saw with the other examples it is just as easy to do the same task&lt;BR /&gt;
using stock vb commands. As far as I can tell, it doesn't offer any new&lt;BR /&gt;
functionality. On the plus side, it wraps every thing up in a neat package&lt;BR /&gt;
which helps with code readablilty. On the down side, it has a bit of&lt;BR /&gt;
overhead that you won't get with stock vb commands.&lt;BR /&gt;
&lt;BR /&gt;
If I had to say which way was better, I'd say the stock vb approach works&lt;BR /&gt;
best for text files, because of the overhead factor. But, if you examine the&lt;BR /&gt;
FileSystemObject you will find alot more functionality that can not be&lt;BR /&gt;
easily accomplished using stock vb commands.&lt;BR /&gt;
&lt;BR /&gt;
Wayne</description>
      <pubDate>Mon, 07 Jan 2002 14:44:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347835#M78262</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-01-07T14:44:22Z</dc:date>
    </item>
    <item>
      <title>append to text file - thank you</title>
      <link>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347836#M78263</link>
      <description>Wayne,&lt;BR /&gt;
Thank you, always thirsty for knowledge.&lt;BR /&gt;
Mark</description>
      <pubDate>Mon, 07 Jan 2002 15:43:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347836#M78263</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-01-07T15:43:40Z</dc:date>
    </item>
    <item>
      <title>append to text file - thank you</title>
      <link>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347837#M78264</link>
      <description>Mark:&lt;BR /&gt;
    I assume, if you are customizing AutoCad, you also use AutoCad. Learning to&lt;BR /&gt;
drive cad in it self is no small task Having acomplished that, learning to&lt;BR /&gt;
customize with all the great new tools available today, Dude YOU are cutting&lt;BR /&gt;
edge buddy! 2 ghz PCs, megs &amp;amp; megs of ram, live it up, life is good&lt;BR /&gt;
wahoo&lt;BR /&gt;
Andy&lt;BR /&gt;
&lt;BR /&gt;
Mark Propst wrote:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; Laurie,&lt;BR /&gt;
&amp;gt; I'm not disaggreeing with you at all.&lt;BR /&gt;
&amp;gt; It's just that till I ask the questions I don't know what tool I do have at&lt;BR /&gt;
&amp;gt; hand, or which is easier to use!(since they were both in the help files at&lt;BR /&gt;
&amp;gt; the time I was trying to get that to work)&lt;BR /&gt;
&amp;gt; I'm all about trying to get the job done...that's why all my code is so&lt;BR /&gt;
&amp;gt; messy and weird...just get this **** thing working, eh mate?&lt;BR /&gt;
&amp;gt; hey, just sitting in front of a computer makes me feel on the cutting edge&lt;BR /&gt;
&amp;gt; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&amp;gt; g'day!&lt;BR /&gt;
&amp;gt; Mark&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Laurie Comerford" &lt;LAURIE&gt; wrote in message&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; I think as non-professional programmers, we are better getting the job&lt;BR /&gt;
&amp;gt; done&lt;BR /&gt;
&amp;gt; &amp;gt; with the tools at hand than being at the cutting edge of technology.&lt;/LAURIE&gt;</description>
      <pubDate>Mon, 07 Jan 2002 17:08:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/append-to-text-file-i-give-up/m-p/347837#M78264</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-01-07T17:08:05Z</dc:date>
    </item>
  </channel>
</rss>

