On 3/27/07, Ahmed Shehata <[EMAIL PROTECTED]> wrote:
Sir,
     We're using Open Office in some of our schools in Belgium, and we also 
develop our own sofware application using Cobol, when a call is made from a 
Cobol program to open a document created with swriter, th program doesn't 
start. ( while the same cobol satement works with MSWORD)

 The cobol statement is something like this:

 Call  "......\swriter" using "mydoc"

 checking the result-code from cobol shows that the call statement has been 
executed without any error.

 But swriter doesn't starts!

 Any tips?

 Regards

 Ahmed



---------------------------------
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.

Hello Ahmed,

In general you are better off asking this type of questions on the
developers list, but in this particular instance (maybe) all you need
to do is to replace swriter with
"soffice -o {file name}"
This is the command line instruction to open a document that
OpenOffice can handle (so if the type is odt it will open it in
writer, if odp in Impress and so on...)

To just open a new writer document the command is
soffice -writer (if I remember correctly, that is :-) )

Cheers,

Michele

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to