gettingstarted
[Top] [All Lists]

Re: Listbox Open data

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Listbox Open data
From: CV <atauqua at hit dot net>
Date: Thu, 28 Sep 2006 00:00:02 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <CF24CF8C-6F74-4FD7-B1BA-43BD080D7051 at verizon dot net>


On Sep 27, 2006, at 9:42 PM, Brian Heibert wrote:



and this to open the file

  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
        window1.urlsv.AddRow FileStream.ReadLine
      Loop
    End
  Else
    MsgBox "File error"
  End


The problem I am running into now is it shows the open dialog I select a saved file and in the preview it shows that there is data in that file but when I click open the data doesn't go into the window. I am using a listbox I want to open the data and put it in a listbox


Where is the code located? With regard to Window1, was it instantiated somewhere using New, or is it the Project default window? _______________________________________________
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>