× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.






Gregg,

Are you trying to mail the file or read the file and mail the contents?
If you are trying to get the file it, make sure your path is correct for
where is it being created - including the starting "/" to start at root.

If you are trying to read and mail the contents:
Here is a subset of code we use to create a doc, read the notes.ini into
the doc and save the doc.
            Set doc = New NotesDocument(db)
            doc.Form = "INI"
            Set item = New NotesItem(doc, "Server", servername.Canonical,
NAMES)
            item.IsSummary = True
          'Get first line and initialize field
            Line Input #filenum, lineStr
            Set item = New NotesItem(doc, "INI", lineStr)
          'Read in rest of lines
            Do Until Eof(filenum)
                  Line Input #filenum, lineStr
                  Call item.AppendToTextList(lineStr)
            Loop
            Close #filenum
          'Save doc
            Call doc.Save(True, True)


--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.