New topic: 

SpecialFolder Help

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

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        Tegwin          Post subject: SpecialFolder HelpPosted: Mon Apr 
15, 2013 6:15 am                         
Joined: Fri Nov 18, 2005 7:26 pm
Posts: 51                I am wanting to create a folder in the Application 
data folder and but wanted it to  be in a subfolder such a AppName\Database. I 
have tried this approach but it does not work, what should I use to have it in 

ApplicationData\Appname\Database\database.db




db_file = SpecialFolder.Desktop.Child("Appname\database").Child("database.db")  
or
db_file = 
SpecialFolder.ApplicationData.Child("Appname\database").Child("database.db")
   
                             Top                Tegwin          Post subject: 
Re: SpecialFolder HelpPosted: Mon Apr 15, 2013 8:05 am                         
Joined: Fri Nov 18, 2005 7:26 pm
Posts: 51                Ok I have figured this out . I need to have an extra 
.Child.. I have done this 


db_file = 
SpecialFolder.ApplicationData.Child("APPName").child("DB").Child("database.db")

this seems to work ok   
                             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