New topic: 

Directory Listing?

<http://forums.realsoftware.com/viewtopic.php?t=43936>

         Page 1 of 1
   [ 5 posts ]                 Previous topic | Next topic          Author  
Message        bluesfannoz          Post subject: Directory Listing?Posted: Wed 
May 09, 2012 9:42 am                         
Joined: Wed Apr 26, 2006 12:56 pm
Posts: 14
Location: Topeka, KS                I am creating a simple website that based 
upon login will take the user to a folder and display a list of PDF's in that 
folder that the user can click on to display. The server I am looking to 
replace,  just used IIS directory listing to display that list of files to the 
user.  Is there an easy way in WE or do I have to use a listbox and read the 
filenames in myself and display them?      
_________________
Stephen Koger 
SEKESC-Greenbush 
"Ensuring Equal Educational Oppurtunities for Everyone"  
                             Top                Bob Keeney          Post 
subject: Re: Directory Listing?Posted: Wed May 09, 2012 9:54 am                 
                
Joined: Fri Sep 30, 2005 11:48 am
Posts: 2999
Location: Lenexa, KS                You'll have to use a WebListbox and 
populate it yourself.      
_________________
Bob K.

30+ hours of Real Studio Video Training (including over 6 hours of Web Edition) 
at http://www.bkeeney.com/
Real Studio Consulting http://www.bkeeney.com/consulting/real-studio-consulting 
     
BKeeney Briefs Blog For Real Studio Developers http://www.bkeeneybriefs.com/  
                             Top                simulanics          Post 
subject: Re: Directory Listing?Posted: Wed May 09, 2012 1:59 pm                 
        
Joined: Sun Aug 12, 2007 10:10 am
Posts: 526
Location: Boiling Springs, SC                I made an example project to help 
you out. It uses a reusable method (so you can edit if needed and paste it into 
your application ) that will load the list of PDFs into the listbox and has a 
description column beside it as well.

Hope it helps 

http://www.realstudiodevspot.com/demos/ ... viewer.zip
*included a pdf for testing      
_________________
Matthew A. Combatti
Real Studio 2011 r4.3
Visit Real Studio Developer's Spot!
Systems:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8 Beta
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS
~All REAL Compatible~  
                             Top                bluesfannoz          Post 
subject: Re: Directory Listing?Posted: Wed May 09, 2012 2:52 pm                 
        
Joined: Wed Apr 26, 2006 12:56 pm
Posts: 14
Location: Topeka, KS                Thanks!  Actually I have already done most 
of what you provided. The example on how to provide a description though will 
come in handy!


simulanics wrote:I made an example project to help you out. It uses a reusable 
method (so you can edit if needed and paste it into your application ) that 
will load the list of PDFs into the listbox and has a description column beside 
it as well.

Hope it helps 

http://www.realstudiodevspot.com/demos/ ... viewer.zip
*included a pdf for testing      
_________________
Stephen Koger 
SEKESC-Greenbush 
"Ensuring Equal Educational Oppurtunities for Everyone"  
                             Top                bluesfannoz          Post 
subject: Re: Directory Listing?Posted: Wed May 09, 2012 2:52 pm                 
        
Joined: Wed Apr 26, 2006 12:56 pm
Posts: 14
Location: Topeka, KS                My next issue is how to then let them 
display the PDF.   An example that works for MAC, Windows, Iphone, Ipad would 
be much appreciated!     
_________________
Stephen Koger 
SEKESC-Greenbush 
"Ensuring Equal Educational Oppurtunities for Everyone"  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 5 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to