Hello
I need to add new records to the datebook from an exe application. Is that posible using this components or part of its source?
I was traying but it seems to need a Sync session.
If not, anybody know how to do it? I just want to add new events to the local datebook from the web.
Thanks,
Alfredo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry no; well, at least not directly. Firstly, there's no way currently to directly manipulate Palm PDB files on the local computer using the TpfgPalmRemoteTable component, since it's heavily tied into the Palm architecture. In hindsight it would have been a good idea, but I never thought of it during the initial class design.
What you can do is use the available components to load a PDB flie into memory, access the raw data of individual records, and then save it out again. If you look at the PDBViewer, it shows how to do this. Admittantly you'd be forced to manually pack up your new events yourself, but at least it'd be better than trying to reimplement code to handle the PDB file indexes and everything.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks, for you response.
Is the .dat the same as a PDB file??
I have tried the PDBViewer with the datebook.dat, and is giving me this error: "The PDB read system cannot support PDB files that contain multiple linked record lists"
at this line:
if RLW(header.nextRecordListID) <> 0 then
raise EPDBError.Create(SMultipleRecordListError);
I am using Palm Desktop 4.1.4
Sorry if that is trivial, but i am new at the Palm's world.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I double-checked, and the datebook.dat file isn't a Palm PDB file. Technically, the nextRecordListID field in a PDB file can be non-zero to indicate a file that contains multiple sets of record pointers followed by data, but in practice a PDB file should only ever have a single record pointer list.
Thanks a lot, but i have visited this page before and it is an old format, not compatible with versions 4.1.2 and 4.1.4 of Palm Desktop. The current format isn't public
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
I need to add new records to the datebook from an exe application. Is that posible using this components or part of its source?
I was traying but it seems to need a Sync session.
If not, anybody know how to do it? I just want to add new events to the local datebook from the web.
Thanks,
Alfredo
Sorry no; well, at least not directly. Firstly, there's no way currently to directly manipulate Palm PDB files on the local computer using the TpfgPalmRemoteTable component, since it's heavily tied into the Palm architecture. In hindsight it would have been a good idea, but I never thought of it during the initial class design.
What you can do is use the available components to load a PDB flie into memory, access the raw data of individual records, and then save it out again. If you look at the PDBViewer, it shows how to do this. Admittantly you'd be forced to manually pack up your new events yourself, but at least it'd be better than trying to reimplement code to handle the PDB file indexes and everything.
Thanks, for you response.
Is the .dat the same as a PDB file??
I have tried the PDBViewer with the datebook.dat, and is giving me this error: "The PDB read system cannot support PDB files that contain multiple linked record lists"
at this line:
if RLW(header.nextRecordListID) <> 0 then
raise EPDBError.Create(SMultipleRecordListError);
I am using Palm Desktop 4.1.4
Sorry if that is trivial, but i am new at the Palm's world.
I double-checked, and the datebook.dat file isn't a Palm PDB file. Technically, the nextRecordListID field in a PDB file can be non-zero to indicate a file that contains multiple sets of record pointers followed by data, but in practice a PDB file should only ever have a single record pointer list.
If you want to manually manipulate the datebook.dat file, check out http://www.geocities.com/Heartland/Acres/3216/datebook_dat.htm - I did a quick Google, and it gives the details of the datebook.dat file's internal structure.
Thanks a lot, but i have visited this page before and it is an old format, not compatible with versions 4.1.2 and 4.1.4 of Palm Desktop. The current format isn't public