You may also want to check out 
http://www.djw.org/product/palm/par/index.html

PAR is a tool for manipulating .PDB/.PRC files,
but more importantly it is a showcase application
for a PDB-manipulation -library- (also available)

-- 
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi./sec ... not just a good idea, it's the LAW!


> -----Original Message-----
> From: Dave Lippincott [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 01, 1999 10:51 AM
> To: [EMAIL PROTECTED]
> Subject: Re: text doc to pdb 
> 
> 
> try: http://members.xoom.com/palmdev/pdblib.zip
> It might do what you want without coding.
> 
> -----Original Message-----
> From: DeAnna Davidson <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Wednesday, December 01, 1999 12:47 PM
> Subject: RE: text doc to pdb
> 
> 
> >I don't know what utilities there are to do it, but I make 
> my own .pdb
> files
> >from text files.  Basically, looking at the pdb file format, 
> you have to
> >create the header file and then store your text data as 
> records.  If you're
> >just trying to make something that you can read on the palm, then you
> >probably should look for one of those DOC converters or 
> something.  If
> >you're actually making a database you want to use with a 
> program, you may
> >have to actually create it.  I've seen a set of predone functions for
> making
> >pdb files, but, like said, I found it easier to just make my 
> own.  The
> steps
> >are basically as follows:
> >
> >1 - Create the header data.  It must have exactly the right 
> number of bytes
> >in it or you      will end of with an invalid file.
> >
> >2 - You will have to determine the size of each of the 
> records, because the
> >records list requires you to input the size of each record 
> you are going to
> >enter.  I believe the records list follows the header.
> >
> >3 - Then you add the record data to the file and, assuming 
> you didn't write
> >too many bytes anywhere or leave something major out, it 
> should be fine.
> >
> >Key point:  You will need to do a little endian/big endian 
> conversion on
> the
> >numbers assuming you have an Intel based processor.
> >
> >Outside of that, converting a text file to a pdb file is 
> basically reading
> >data from the text file and writing it in the right format 
> to a file with a
> >.pdb extension.
> >
> >DeAnna Davidson
> >Software Engineer
> >iBrite
> >-----Original Message-----
> >From: Alagesh [mailto:[EMAIL PROTECTED]]
> >Sent: Tuesday, November 30, 1999 5:48 AM
> >To: [EMAIL PROTECTED]
> >Subject: text doc to pdb
> >
> >
> >Hi ,
> >
> >Can any one pl. tell me how to convert  a text document to a 
> PDB format
> that
> >a palm accepts.
> >I went through the pdb file format but couldn't make out how 
> to convert a
> >text to a pdb file.
> >
> >TIA
> >Alagesh < [EMAIL PROTECTED] >.
> >
> >
> >--------------------------------------------------------------
> >Robosoft Technologies, Mangalore, India
> >
> >
> >
> 
> 
> 

Reply via email to