I will try that

I guess i lost the email sorry

On Sep 27, 2006, at 7:43 PM, CV wrote:



On Sep 27, 2006, at 5:56 PM, Brian Heibert wrote:

Can someone refer me to a page in a manual or something that would show me how to open a file
I looked at the TextEdit tutorial example

Brian,

The other day I posted this example for you when you wanted to open a file and load it into a listbox. Where do we stand on that?

 dim i as integer
  dim File as FolderItem
  dim FileStream as TextInputStream
  file=GetOpenFolderItem("")
  If file <> Nil and file.exists then
    FileStream = file.OpenAsTextFile
    If FileStream <> Nil then
      Do Until FileStream.EOF
        self.urlsv.AddRow FileStream.ReadLine
      Loop
    End
  Else
    MsgBox "File error"
  End

Best,

Jack



_______________________________________________
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>

_______________________________________________
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>

Reply via email to