gettingstarted
[Top] [All Lists]

Re: re-post of a simple question

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: re-post of a simple question
From: Jean-Jacques Chailloux <jjchailloux at yahoo dot com>
Date: Thu, 31 Mar 2005 08:30:44 -0800 (PST)
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Delivered-to: gettingstarted at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=w4oOseAn1JlySLmNjKWcxrJz4e09Rn8J0UvLT3k9tcYx25nyZ1gBaMKyYa1h+oM8plG70p3oGED9E3JwdFA21a7G6BGFOodKFZwTQHZe/BmHa9y+bI4PpNUAooQcvBEK9diHHg6tgoN++cX45uQv56yR1kXRJGDW1A6H873b2nI= ;
hi,

Dim FichRef As FolderItem
Dim fileStream As TextInputStream
Dim thePath, uneLigne As String

        thePath = "...whatever..."
        FichRef = New FolderItem(thePath)
' test here
        fileStream = FichRef.OpenAsTextFile()
        uneLigne = fileStream.ReadLine
        fileStream.Close
bye <- do not insert this line :)
jjc

--- Ben Scofield <ben at scotech dot us> wrote:
> Hey all! Thanks for the quick responses. Those were
> all somewhat what I was looking for, BUT, I forgot
> to mention that I found plenty of examples for
> opening a file when it was selected from a dialogue
> box. What I need to do is loop through a given
> folder (path specified as a windows system variable)
> and open the files in that path. There won't be a
> dialogue box to work with. That's why most of the
> examples I've found won't work because I have no
> dialogue box and the subsequent reading of the files
> were all related to file picking dialog boxes. So in
> short, how about an example of reading a file line
> by line that there has been no user interaction to
> open, all I have is a path?
> 
> Thanks again!
> 
> 
> 
> Ben Scofield
> Software Consultant
> ScoTech
> www.scotech.us
> (866) SCO-2FIX
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
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>