You have to set the Database backup bit. When you sync after that, a copy
will be put in your palm/<user profile>/backup directory
You can either do it programmatically using DmSetDatabaseInfo
DmDatabaseInfo(theCardNum, theDBID, NULL, &theAttrs, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL);
// Set the backup flag
theAttrs |= dmHdrAttrBackup;
// Set the attributes
DmSetDatabaseInfo(theCardNum, theDBID, NULL, &theAttrs, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL);
or you can download a tool called Insider. This allows you to set the
backup bit of databases with a click of your stylus.
-----Original Message-----
From: Chris Yourch [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 08, 2001 4:27 PM
To: Palm Developer Forum
Subject: Copy databases from Palm to PC
Hi,
How do I copy databases from the Palm to the PC?
I want to run my application once and have it create a few Palm
databases and then take these databases and add them to my installer.
The problem is, I don't know how to copy the databases from the Palm to
PC.
Regards,
Chris
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/