On Tue, 5 Sep 2000, Nesse, Rustin wrote:
> I think it's 4k due to the size of the field object. MemoPad's memos
> are stored as chars, so I'd think that if you made the MemoPad clean
> up some of the field (like clear out 500 bytes every time the amount of
> text in the field reached 4k) you could get your record a good bit better.
Here is why I am interested. I have an application that I wish to be
able to use MemoPad:
1) As a means to Import/Export data from and to AND
2) Allow writing such data on a PC using MemoPad
3) Allow editing within MemoPad
4) Relieve me of having to write a conduit to do the same things.
I have my application using MemoPad for the above 4 tasks.
MemoPad does this nicely but my data, that needs to be written or might
be written on a PC, might exceed 4k. Also any data that is created in
the application might exceed 4k.
It turns out that my application can Import/Export up to 32K to a
MemoPad record. When backed up the entire 32K is saved as a backup. So
Import/export works ok using MemoPad. But I still have the problem of
how to edit, since MemoPad cannot edit files larger than 4k. Further,
if I change anything in a MemoPad file, on the PC (for records larger
than 4k), the backup is lost as memopad will truncate to 4k.
I'm looking for a way to do 1-4. It seems that I have only 3 options:
1) Keep it the way it is, realizing the 4k and 32k issues.
2) Write my own PC side application and conduit
3) Find a freeware application that already does this.
I really don't like my application depending on a 3rd party application
that might not be around in a while. But then again it appears that
MemoPad will not be around long either
Any other options?
Mike
> -Rus
>
> >> What is the limit of a MemoPad record?
> >
> >I guess I need two answers to this. The maximum size of a record
> >that still allows editing of a record from within MemoPad. I think
> >this is 4k if I'm not mistaken.
> >
> >But I also have found that an external program can write a record
> >larger than 4K, to memopad, hence my original question.
> >
> >> I'm sure this is covered somewhere but I can't find it.
> >>
> >> Is it the same for all versions of the OS?
> >>
> >> Thanks.
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see
>http://www.palmos.com/dev/tech/support/forums/
>
----------------------------------------------------
Shoot-to-Win
Protect the 2nd Amendment
----------------------------------------------------
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/