gettingstarted
[Top] [All Lists]

Re: Opening a text file

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Opening a text file
From: Terry Ford <tmford at shaw dot ca>
Date: Wed, 27 Sep 2006 11:19:26 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <399C471F-2EAC-4A32-8A2A-8ECAE3D32EF2 at verizon dot net>
You look at the examples in the LR.

Terry


On Sep 26, 2006, at 3:22 PM, Brian Heibert wrote:

Hi,

  progresswheel1.visible=true
  Dim TextTypes as New FileType
  TextTypes.Name= "Text Files"
  TextTypes.Extensions=".txt"
  Dim f as FolderItem
  dim fs as TextInputStream
  f.mactype = "Text"
  f.maccreator = "UKBH"
  f= GetOpenFolderItem(textTypes)
  If f <> Nil then
    //MsgBox f.AbsolutePath
    fs.

  End if

  'dim i as integer
  'dim File as FolderItem
  'dim FileStream as TextOutputStream
  'file=GetSaveFolderItem("","URL Database")
  'If file <> Nil then
  'file.macType = "Text"
  'file.macCreator = "UKBH"
  'FileStream = file.CreateTextFile
  'If FileStream <> Nil then
  'For i = 0 to urlsv.ListCount - 1
  'FileStream.WriteLine urlsv.List(i)
  'Next
  'End if
  'End if
  '
  '
  '

I have the above code to create a text file
now how do I open it?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

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


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