New topic: 

FolderItems and URLs..

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

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        JustSomeGuy          Post subject: FolderItems and URLs..Posted: 
Mon Jun 21, 2010 7:17 pm                         
Joined: Fri May 11, 2007 11:35 am
Posts: 897                As part of my database application i store a file 
location along with a record.
That record is on the host application drive that is connecting to the database 
server.
 if the user logs into the database from another computer.. the file paths will 
not be correct
because they were relative to the other computer.
I noticed there is a URL as part of the folder item.  Is that a path that I can 
/ should use?      
_________________
6502 Assembler on Steroids  
                             Top                griffitts          Post 
subject: Re: FolderItems and URLs..Posted: Tue Jun 22, 2010 12:17 pm            
             
Joined: Mon Oct 16, 2006 4:06 pm
Posts: 37
Location: Fort Worth, TX                If I have a set directory hierarchy 
that the files need to be in, ie: /app files/images/img.jpg, I store that part 
in the db. Then I keep the user's path to those files in a local preference 
file, ie: /user's path to app files/. So you read the preference file, read the 
db record, put them together and you get: /user's path to app files/app 
files/images/img.jpg.   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 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