Re: opening a client application from a server?

ccc31807 <cartercc@xxxxxxxxx> wrote in news:625c32aa-1068-40e8-bb0c-

On May 7, 10:44 pm, "A. Sinan Unur" <1...@xxxxxxxxxxxxxxxxxxx> wrote:

Here is your fish. Enjoy.

Which defeats the purpose. I'm /NOT/ writing a script to produce an
output file for a web server.

Huh? Are you playing games here?

The subject line says:

Re: opening a client application from a server?

In addition, your original post states clearly:

ccc31807 <cartercc@xxxxxxxxx> wrote in news:c64106fd-a0b6-4361-a72a-

as easy as writing a CGI script and dynamically updating the
HTML from a database. WordProcessingML is no different from
XHTML and does pretty good at creating Word documents.

Here's the question: The client has a requirement that the users
create a Word document on a web enabled app and open it in the
client browser. I can create the word document and open it on the
server (using this command -- exec("c:/Program Files/Microsoft
Office/ OFFICE12/winword.exe", "c:/TEST1.DOC")) but I can't get Word
to open the file on the client. I can write the .doc file to a
directory and give the client to the directory over the internet,
but that doesn't meet the requirement.

I /AM/ producing the output file to write to the file system.

Which file system? Where do you think your client is going to save the
file after s/he has edited it?

I haven't run your code, but am curious if it will actually work in
Word 2007.

I don't know. I have Word 2003.

And, of course, I tested the script before posting it.


A. Sinan Unur <1usa@xxxxxxxxxxxxxxxxxxx>
(remove .invalid and reverse each component for email address)

comp.lang.perl.misc guidelines on the WWW: