realbasic-nug
[Top] [All Lists]

Re: Import text file as project item?

To: "REALbasic Network Users Group" <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Import text file as project item?
From: Will Leshner <leshner at ljug dot com>
Date: Sun, 29 Feb 2004 18:54:41 -0800
References: <BC67E2CF dot 4277A%mars at realsoftware dot com> <2B74407B-6B2B-11D8-9496-000A277ACFB8 at austin dot rr dot com>

On Feb 29, 2004, at 6:50 PM, Albert Wallace wrote:

  f = GetFolderItem("areaCodes")
  If f<>nil and f.exists then
    textIn = f.openAsTextFile


I thought you were dragging the into your project. Why are you trying to also open it as a file? If you have a text file called areaCodes and you've dragged it into your project, then you should be using it as a string called areaCodes, not as a file.


- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>