New topic in General: 

Write a file into preferences special folder

face - Fri Mar 28, 2008 5:31 pm

<http://forums.realsoftware.com/viewtopic.php?t=21500>
                                                                                
                                                                                
I need to write a file into 
/preferences_special_folder/test_folder/test_sub_folder/file

  Code:dim f, fc as folderitem
f = SpecialFolder.Preferences.Child( "test_folder" )
if not f.exists then
  f.createAsFolder
end
fc = f.child( "test_sub_folder" )
if not fc.exists then
  fc.createAsFolder
end
TestDB = New REALSQLDatabase
TestDB.databaseFile = GetFolderItem("f").Child("fc").Child("TestDB.rsd")  // 
That's not work !
                                        
                                                                                
                                                                                
                                                                                
                                                                                
                                        



-- 
Over 900 classes with 18000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.1. 

&lt;http://www.monkeybreadsoftware.de/realbasic/plugins.shtml&gt;

[email protected]

Reply via email to