New topic: 

Problems converting 2007 REALbasic to 2012 RealStudio

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

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        Tom Bisbee          Post subject: Problems converting 2007 
REALbasic to 2012 RealStudioPosted: Sat Jan 05, 2013 3:48 pm                    
     
Joined: Tue May 08, 2007 9:48 am
Posts: 25                Good afternoon. I'm in the process of recompiling a 
2007 REALbasic program using Real Studio 2012 Release 2.

Yesterday I asked a question about 'ApplicationSupportFolder' and received two 
answers which I'm not smart enough to take advantage of. (I should note that 
I'm 79 and haven't programmed in five years.) The compiler's error message was 
"This item does not exist".

So today I'm back with the question - but I'm showing the code around it:

 OwnManAcctDB = New REALSQLDatabase
 Dim f, g, h as FolderItem
 f = ApplicationSupportFolder
 if f = nil
    ...
 endif

 fpath = f.AbsolutePath + "Holdin's Holdings TB"
 g = GetFolderItem(fpath)
 if not g.exists then
   h = new FolderItem(fpath)
   h.CreateAsFolder
 end if

ALSO. It tells me that over 100 of my controls are based on a deprecated class. 
HELP?

  Tom Bisbee - in the hills of Vermont.   
                             Top                npalardy          Post subject: 
Re: Problems converting 2007 REALbasic to 2012 RealStudioPosted: Sat Jan 05, 
2013 4:12 pm                       Real Software Engineer          
Joined: Sat Dec 24, 2005 8:18 pm
Posts: 7645
Location: Canada, Alberta, Near Red Deer                Tom Bisbee 
wrote:OwnManAcctDB = New REALSQLDatabase
Dim f, g, h as FolderItem
f = ApplicationSupportFolder
if f = nil
..
endif




OwnManAcctDB = New REALSQLDatabase
Dim f, g, h as FolderItem
f = SpecialFolder.ApplicationData
if f = nil
..
endif
      
_________________
My web site Great White Software
RBLibrary.com REALbasic learning  
                             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