1. Read/Write Microsoft Word documents
- Posted by "Michelle Rogers" <michellerogers at bellsouth.net> Jul 18, 2004
- 521 views
Can anyone tell me how to have euphoria 1. write files in Microsoft word format? (or is this impossible) and the reverse of that.. 2. Read in data from a Microsoft word document, instead of plain text. One reason I'm asking is because i've found a small basic-derivitive language to code on Palm OS. I want to be able to interact between the palm (i have a class set of 25) and the main computer. Basically, the students would all use Palms..and they would hot sync to the main (teacher) computer..which would automatically grade/correct their work and also enter it into my grading program. Here's my problem... just plain text files won't "hot sync"....i can "hot sync" Word To Go documents from the palm to the pc. The pc reads them in as a word document. On the other hand, I can send a word document from the pc to the palm, and the palm reads it in as a "word to go" document. Wait...I may have just solved my own problem. Would it work to simply name the files with a ".doc" extension...but still treat them as a plain file?
2. Re: Read/Write Microsoft Word documents
- Posted by Patrick Barnes <mrtrick at gmail.com> Jul 18, 2004
- 510 views
You can simply tag a .txt file as .doc, that works ok. If you want to use documents with formatting, that is another thing altogether, and quite complicated. .rtf formated files would probably work, while not being as complex as microsoft word files. On Sun, 18 Jul 2004 18:13:15 -0400, Michelle Rogers <michellerogers at bellsouth.net> wrote: > > Can anyone tell me how to have euphoria > 1. write files in Microsoft word format? (or is this impossible) > and the reverse of that.. > 2. Read in data from a Microsoft word document, instead of plain text. > > One reason I'm asking is because i've found a small basic-derivitive > language to code on Palm OS. I want to be able to interact between the palm > (i have a class set of 25) and the main computer. Basically, the students > would all use Palms..and they would hot sync to the main (teacher) > computer..which would automatically grade/correct their work and also enter > it into my grading program. > > Here's my problem... > just plain text files won't "hot sync"....i can "hot sync" Word To Go > documents from the palm to the pc. The pc reads them in as a word document. > On the other hand, I can send a word document from the pc to the palm, and > the palm reads it in as a "word to go" document. > > Wait...I may have just solved my own problem. Would it work to simply name > the files with a ".doc" extension...but still treat them as a plain file? > > > > -- MrTrick
3. Re: Read/Write Microsoft Word documents
- Posted by "Michelle Rogers" <michellerogers at bellsouth.net> Jul 18, 2004
- 501 views
Oh, I forgot to mention that I intend to use euphoria to code on the pc, and simply read the data that was "hot-synced". Michelle Rogers ----- Original Message ----- From: "Michelle Rogers" <michellerogers at bellsouth.net> To: <EUforum at topica.com> Sent: Sunday, July 18, 2004 6:13 PM Subject: Read/Write Microsoft Word documents > > > Can anyone tell me how to have euphoria > 1. write files in Microsoft word format? (or is this impossible) > and the reverse of that.. > 2. Read in data from a Microsoft word document, instead of plain text. > > One reason I'm asking is because i've found a small basic-derivitive > language to code on Palm OS. I want to be able to interact between the palm > (i have a class set of 25) and the main computer. Basically, the students > would all use Palms..and they would hot sync to the main (teacher) > computer..which would automatically grade/correct their work and also enter > it into my grading program. > > Here's my problem... > just plain text files won't "hot sync"....i can "hot sync" Word To Go > documents from the palm to the pc. The pc reads them in as a word document. > On the other hand, I can send a word document from the pc to the palm, and > the palm reads it in as a "word to go" document. > > Wait...I may have just solved my own problem. Would it work to simply name > the files with a ".doc" extension...but still treat them as a plain file? > > > >
4. Re: Read/Write Microsoft Word documents
- Posted by Jonas Temple <jtemple at yhti.net> Jul 19, 2004
- 495 views
Michelle Rogers wrote: > > Oh, I forgot to mention that I intend to use euphoria to code on the pc, and > simply read the data that was "hot-synced". > Michelle Rogers Michelle, If you really want to find out what makes up a true .doc file, you can find the file layout at www.wotsit.org. Jonas
5. Re: Read/Write Microsoft Word documents
- Posted by Matt Lewis <matthewwalkerlewis at yahoo.com> Jul 19, 2004
- 517 views
Michelle Rogers wrote: > > Can anyone tell me how to have euphoria > 1. write files in Microsoft word format? (or is this impossible) > and the reverse of that.. > 2. Read in data from a Microsoft word document, instead of plain text. > You can do this with EuCOM (search the archive for COM). There are examples included on how to do this with Excel and Access that come with the library. It's basically like you're working with VBA (although a bit more involved, since you have to do more housekeeping). You'll need to use tbrowse (included) to generate a wrapper for the Word TypeLibrary, and use that to interface with Word. Take a look, and let me know when you have questions. If need be, I could knock up a quick demo for you. Matt Lewis
6. Re: Read/Write Microsoft Word documents
- Posted by Michael Raley <thinkways at yahoo.com> Jul 22, 2004
- 489 views
Michelle Rogers wrote: > > Can anyone tell me how to have euphoria > 1. write files in Microsoft word format? (or is this impossible) > and the reverse of that.. > 2. Read in data from a Microsoft word document, instead of plain text. > > One reason I'm asking is because i've found a small basic-derivitive > language to code on Palm OS. I want to be able to interact between the palm > (i have a class set of 25) and the main computer. Basically, the students > would all use Palms..and they would hot sync to the main (teacher) > computer..which would automatically grade/correct their work and also enter > it into my grading program. > > Here's my problem... > just plain text files won't "hot sync"....i can "hot sync" Word To Go > documents from the palm to the pc. The pc reads them in as a word document. > On the other hand, I can send a word document from the pc to the palm, and > the palm reads it in as a "word to go" document. I doubt that your language running on the palm itself will let you write "word" files. You need to find what file mechanism it suppports, such as palm doc format. --"ask about our layaway plan". --
7. Re: Read/Write Microsoft Word documents
- Posted by Patrick Barnes <mrtrick at gmail.com> Jul 22, 2004
- 518 views
Well there is "Documents to Go" already, that's a portable Office-compatible system. On Wed, 21 Jul 2004 22:33:55 -0700, Michael Raley <guest at rapideuphoria.com> wrote: > > posted by: Michael Raley <thinkways at yahoo.com> > > Michelle Rogers wrote: > > > > Can anyone tell me how to have euphoria > > 1. write files in Microsoft word format? (or is this impossible) > > and the reverse of that.. > > 2. Read in data from a Microsoft word document, instead of plain text. > > > > One reason I'm asking is because i've found a small basic-derivitive > > language to code on Palm OS. I want to be able to interact between the palm > > (i have a class set of 25) and the main computer. Basically, the students > > would all use Palms..and they would hot sync to the main (teacher) > > computer..which would automatically grade/correct their work and also enter > > it into my grading program. > > > > Here's my problem... > > just plain text files won't "hot sync"....i can "hot sync" Word To Go > > documents from the palm to the pc. The pc reads them in as a word document. > > On the other hand, I can send a word document from the pc to the palm, and > > the palm reads it in as a "word to go" document. > > I doubt that your language running on the palm itself will let you write > "word" files. You need to find what file mechanism it suppports, such as palm > doc > format. > > --"ask about our layaway plan". > -- > > > > > -- MrTrick
8. Re: Read/Write Microsoft Word documents
- Posted by Craig Welch <euphoria at welchaviation.org> Jul 22, 2004
- 498 views
Michael Raley wrote: > > Michelle Rogers wrote: > > Here's my problem... > > just plain text files won't "hot sync"....i can "hot sync" Word To Go > > documents from the palm to the pc. The pc reads them in as a word document. > > On the other hand, I can send a word document from the pc to the palm, and > > the palm reads it in as a "word to go" document. > > I doubt that your language running on the palm itself will let you write > "word" files. You need to find what file mechanism it suppports, such as palm > doc > format. She mentioned 'word to go'. That is a 3P program that allows for the creation and editing of Word documents on the Palm. -- Craig
9. Re: Read/Write Microsoft Word documents
- Posted by Michael Raley <thinkways at yahoo.com> Jul 22, 2004
- 506 views
Craig Welch wrote: > > Michael Raley wrote: <snip> > She mentioned 'word to go'. That is a 3P program that allows for the creation > and editing > of Word documents on the Palm. > > -- > Craig > Yes but that was not the first part of what she asked. I > One reason I'm asking is because i've found a small basic-derivitive > language to code on Palm OS. --"ask about our layaway plan". --
10. Re: Read/Write Microsoft Word documents
- Posted by Patrick Barnes <mrtrick at gmail.com> Jul 22, 2004
- 527 views
Michelle, Try just renaming your .txt file to .doc, then attempt to hot sync the document across. Success? Failure? -- MrTrick ------------------------------------------------------------------------------------- magnae clunes mihi placent, nec possum de hac re mentiri.
11. Re: Read/Write Microsoft Word documents
- Posted by Michael Raley <thinkways at yahoo.com> Jul 22, 2004
- 503 views
Craig Welch wrote: > > Michael Raley wrote: <snip> > She mentioned 'word to go'. That is a 3P program that allows for the creation > and editing > of Word documents on the Palm. > > -- > Craig > Yes but that was not the first part of what she asked for. It was this " One reason I'm asking is because i've found a small basic-derivitive language to code on Palm OS. ". That would indicate she wants a program to run on the palm to quiz the students and create an output file to be synched. The basic program may just creatie a palm doc format, such as described for NS Basic, below; NS Basic for Palm allows you to create your own databases directly within a program. A database is a collection of records that you can read by record id or sequentially. The format of each record is up to you: a record is a series of values of numbers, string, dates and other data type. Your program is responsible for the format of the records. The databases that NS Basic for Palm creates are standard Palm databases. The backup bit is set, so they are automatically copied to the Archive folder on your Desktop during a Hotsync. You can copy databases to the Palm by using the Install option of the Palm Desktop, then use NS Basic for Palm to read and write the files. On the desktop, a Visual Basic program can open the copy of the file in the Archive folder. More advanced control of files on the Palm from the desktop is possible using the SyncManager, documented in "Developing Palm OS Conduits", from Palm Inc. The SyncManager includes a number of calls that allow you to read and write databases and records on the Palm unit. Using these calls from a desktop Visual Basic or C program, you can create your own conduits to read, update and write out databases used by NS Basic for Palm. --"ask about our layaway plan". --