New topic: 

copy database file for backup

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

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        coryhefner          Post subject: copy database file for 
backupPosted: Thu Dec 13, 2012 2:19 am                         
Joined: Thu Dec 10, 2009 2:00 pm
Posts: 95
Location: Calafornia                I know this is probably a silly question,  
but hear it is. I am trying yo back up the data base that has been created 
through code using he save dialog box. I have been laying with this for some 
hours now and cannot get the Dialog box to pick up the Database that is located 
next to the exe. Am I approaching this a wrong way?

Her is what happens
1) I have a timer that goes off to prompt the user that they need to back up of 
the database file.
2) In the menu item i have an entry to back up database that pulls the save as 
dialog box up that defaults to the current directory of the application.
3) I can never see the database file in the directory through the save as 
dialog but can verify through the explorer / mycomputer interface

things to note 
1) windows 7 machine
2) because the database is done in code there is no extension file associated 
with it.
3) not sure if what additional file types need to be added to the project is 
there something for the sql-light database?  I think I set up every thing that 
is there.   
                             Top                tseyfarth          Post 
subject: Re: copy database file for backupPosted: Thu Dec 13, 2012 2:42 am      
                   
Joined: Sat Dec 04, 2010 9:14 pm
Posts: 787                Hello,

But there is an extension - right?
Is the db name always the same?

When using the dialog, you can specify the file name, and/or extension.  Also, 
if using a folder dialog, that wont necessarily show the file.

I am sorry, but I do not have access to more specifics at the moment.  However 
tomorrow I will take a look and share specifics with you....

Tim   
                             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