RE: [UV] Does anyone know how to

2004-03-04 Thread Ross Ferris
Can one ask what you would actually DO with the word document once you have made your 
substitutions ? Print ? Fax ? Email ?

We tackled this from the other end, and use Automation to drive word for production of 
standard forms. If this is perhaps of interest you can download an eval from our 
website . just follow the Lynx links from www.stamina.com.au - WordLynx, FaxLynx & 
MailLynx (if it isn't obvious which does what, please do NOT download these products 
:-)

Whole things runs as a "service" under windows, so can be 'driven' from a green screen


Ross Ferris
Stamina Software
Visage – an Evolution in Software Development


>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
>Behalf Of [EMAIL PROTECTED]
>Sent: Thursday, 4 March 2004 8:26 AM
>To: U2 Users Discussion List
>Cc: [EMAIL PROTECTED]
>Subject: RE: [UV] Does anyone know how to
>
>
>Thanks Mick - gives me something to start with.  Now if I can only get the
>users to accept it the battle will be successful.
>
>dan
>
>
>
>
>  "Gahan, Mick"
>  <[EMAIL PROTECTED]>  To: "U2 Users Discussion
>List" <[EMAIL PROTECTED]>
>              Sent by: cc:
>  [EMAIL PROTECTED] Subject:  RE: [UV] Does
>anyone know how to
>  ver.com
>
>
>
>  03/03/2004 04:16 PM
>  Please respond to U2
>  Users Discussion
>  List
>
>
>
>
>
>
>Dan,
>
>We do this within UniData, but I'm thinking it should work in Universe
>as well.
>
>Our trick is to save the Word Document as a RTF (Rich Text Format) file
>instead of in the native Word format.  The rtf format keeps you from
>having to worry about any special characters embedded within the
>document.
>
>It's worked well for us.
>
>Mick
>
>Mick Gahan
>Director, MIS
>Metropolitan Community College
>Omaha, NE
>(402) 457-2402
>
>NOTE: New email address ([EMAIL PROTECTED])
>
>
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>On Behalf Of [EMAIL PROTECTED]
>Sent: Wednesday, March 03, 2004 3:09 PM
>To: [EMAIL PROTECTED]
>Subject: [UV] Does anyone know how to
>
>
>I am running UV 9.5.1... on windows NT (PICK flavor).
>
>I want to be able to read in a .doc file created in Word 2000, do a
>string replace, and then write out the file as a new .doc file.  I have
>tried using the standard READ and READSEQ. I use the CHANGE command [REC
>= CHANGE(REC,txta,txtb)] and then  WRITE (or WRITESEQ).  In each case I
>get the anticipated results but when I attempt to launch the document in
>Word 2000 I get THE "unknown file format" error.  I have to figure that
>some characters imbedded in the original document are being stripped by
>the limitations of the uniVerse READ and READSEQ commands thus making
>this method not practical.  I did this in the past - in another life
>maybe - but this is my first attempt with WORD 2000.  All practical
>suggestions appreciated.
>
>dan
>
>Note: Effective February 2, 2004, Arnold & Porter became a limited
>liability partnership with the name Arnold & Porter LLP. Please change
>your records accordingly. The addresses, telephone and fax numbers, and
>e-mail addresses of the firm and attorneys have not changed.
>--
>This communication may contain information that is legally privileged,
>confidential or exempt from disclosure.  If you are not the intended
>recipient, please note that any dissemination, distribution, or copying
>of this communication is strictly prohibited.  Anyone who receives this
>message in error should notify the sender immediately by telephone or by
>return e-mail and delete it from his or her computer.
>--
>Daniel Plocinik [EMAIL PROTECTED]
>Arnold & Porter LLP Telephone:  202-274-7639
>555 Twelfth Street, NW  Fax:202-942-5999
>Washington, DC  20004-1202
>
>For more information about Arnold & Porter LLP, click here:
> http://www.arnoldporter.com
>
>
>--
>u2-users mailing list
>[EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
>--
>u2-users mailing list
>[EMAIL PROTECTED]
>http://www.oliver.com/mailman/listinfo/u2-users
>
>
>
>
>Note: Effective February 2, 2004, Arnold & Porter became a limited
>liability partnership with the name Arnold & Porter LLP. Please
>change your records acco

RE: [UV] Does anyone know how to

2004-03-04 Thread Anthony Youngman
Do you need to modify a document created by someone else? Or can you
just spit out a Word document from UV?

Some of our report programs generate rtf documents from scratch. It can
be fun getting the format right (we make extensive use of tables to put
stuff in the right place), and Word is not the most forgiving of formats
to use, but you might find this a better approach than faffing about
with replacing text (or not as the case may be).

I'll have to put my stuff up on Pickwiki at some point ...

Cheers,
Wol 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of [EMAIL PROTECTED]
Sent: 03 March 2004 21:09
To: [EMAIL PROTECTED]
Subject: [UV] Does anyone know how to

I am running UV 9.5.1... on windows NT (PICK flavor).

I want to be able to read in a .doc file created in Word 2000, do a
string
replace, and then write out the file as a new .doc file.  I have tried
using the standard READ and READSEQ. I use the CHANGE command [REC =
CHANGE(REC,txta,txtb)] and then  WRITE (or WRITESEQ).  In each case I
get
the anticipated results but when I attempt to launch the document in
Word
2000 I get THE "unknown file format" error.  I have to figure that some
characters imbedded in the original document are being stripped by the
limitations of the uniVerse READ and READSEQ commands thus making this
method not practical.  I did this in the past - in another life maybe -
but
this is my first attempt with WORD 2000.  All practical suggestions
appreciated.

dan

Note: Effective February 2, 2004, Arnold & Porter became a limited
liability partnership with the name Arnold & Porter LLP. Please
change your records accordingly. The addresses, telephone and fax
numbers, and e-mail addresses of the firm and attorneys have not
changed.
--
This communication may contain information that is legally privileged,
confidential or exempt from disclosure.  If you are not the intended
recipient, please note that any dissemination, distribution, or copying
of this communication is strictly prohibited.  Anyone who receives this
message in error should notify the sender immediately by telephone or
by return e-mail and delete it from his or her computer.
--
Daniel Plocinik [EMAIL PROTECTED]
Arnold & Porter LLP Telephone:  202-274-7639
555 Twelfth Street, NW  Fax:202-942-5999
Washington, DC  20004-1202

For more information about Arnold & Porter LLP, click here:
 http://www.arnoldporter.com


-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users




***

This transmission is intended for the named recipient only. It may contain private and 
confidential information. If this has come to you in error you must not act on 
anything disclosed in it, nor must you copy it, modify it, disseminate it in any way, 
or show it to anyone. Please e-mail the sender to inform us of the transmission error 
or telephone ECA International immediately and delete the e-mail from your information 
system.

Telephone numbers for ECA International offices are: Sydney +61 (0)2 9911 7799, Hong 
Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 2333.

***

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: [UV] Does anyone know how to

2004-03-04 Thread Claus Derlien
There should be some SYSTEM() functions to prevent read/write from altering
special chars in the record
if im remembering right its  SYSTEM(1017)

best regards from Denmark

Claus Derlien

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 10:09 PM
To: [EMAIL PROTECTED]
Subject: [UV] Does anyone know how to


I am running UV 9.5.1... on windows NT (PICK flavor).

I want to be able to read in a .doc file created in Word 2000, do a string
replace, and then write out the file as a new .doc file.  I have tried
using the standard READ and READSEQ. I use the CHANGE command [REC =
CHANGE(REC,txta,txtb)] and then  WRITE (or WRITESEQ).  In each case I get
the anticipated results but when I attempt to launch the document in Word
2000 I get THE "unknown file format" error.  I have to figure that some
characters imbedded in the original document are being stripped by the
limitations of the uniVerse READ and READSEQ commands thus making this
method not practical.  I did this in the past - in another life maybe - but
this is my first attempt with WORD 2000.  All practical suggestions
appreciated.

dan


Frie Funktionærer - faglig organisation og tværfaglig a-kasse - www.f-f.dk

***
Denne email og alle filer vedlagt som bilag kan indeholde fortroligt materiale, der 
kun er beregnet for adressaten,
og maa ikke udleveres eller kopieres til uvedkommende. Har De ved en fejltagelse 
modtaget denne email, bedes
De venligst omgaaende meddele os dette pr. telefon : 6313 8550. Paa forhaand tak.
***
This email and any files transmitted with it may contain confidential information 
intended for the addressee(s) only.
The information is not to be surrendered or copied to unauthorised persons. If you 
have received this
communication in error, please notify us immediately by telephone: +45 6313 8550. 
Thank you.
***

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: [UV] Does anyone know how to

2004-03-03 Thread FFT2001
In a message dated 3/3/2004 4:09:29 PM Eastern Standard Time, [EMAIL PROTECTED] writes:

> 
> I want to be able to read in a .doc file created in Word 2000, do a string
> replace, and then write out the file as a new .doc file.  I have tried
> using the standard READ and READSEQ. I use the CHANGE command [REC =
> CHANGE(REC,txta,txtb)] and then  WRITE (or WRITESEQ).  In each case I get
> the anticipated results but when I attempt to launch the 
> document in Word
> 2000 I get THE "unknown file format" error.


I would try using READBLK and WRITEBLK.  Readseq and writeseq will add "line 
terminators" if they aren't there which is bad, very bad :)
Will "bad, very bad" Johnson
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: [UV] Does anyone know how to

2004-03-03 Thread Brian Leach
Daniel,

Word files are binary format and are not changeable by 
this technique: the characters are positionally important 
in the document structure and any changes in length will 
screw the doc completely..

You can go for a number of approaches at various levels of 
technicality, but the simplest is just to save the 
document as Rich Text Format into a Type 19 file, and you 
can then easily do a CHANGE() function replace on the 
contents. I can't remember exactly, but mail merge fields 
are identified by a fairly obvious prefix, something like 
"\MERGEFIELD name". It's worth reading up a little about 
RTF format (the format is published and publically 
available on the web) before you do so you know some of 
the escape characters when replacing.

Brian Leach

On Wed, 3 Mar 2004 16:09:29 -0500
 [EMAIL PROTECTED] wrote:
I am running UV 9.5.1... on windows NT (PICK flavor).

I want to be able to read in a .doc file created in Word 
2000, do a string
replace, and then write out the file as a new .doc file. 
I have tried
using the standard READ and READSEQ. I use the CHANGE 
command [REC =
CHANGE(REC,txta,txtb)] and then  WRITE (or WRITESEQ).  In 
each case I get
the anticipated results but when I attempt to launch the 
document in Word
2000 I get THE "unknown file format" error.  I have to 
figure that some
characters imbedded in the original document are being 
stripped by the
limitations of the uniVerse READ and READSEQ commands 
thus making this
method not practical.  I did this in the past - in 
another life maybe - but
this is my first attempt with WORD 2000.  All practical 
suggestions
appreciated.

dan

Note: Effective February 2, 2004, Arnold & Porter became 
a limited
liability partnership with the name Arnold & Porter LLP. 
Please
change your records accordingly. The addresses, telephone 
and fax
numbers, and e-mail addresses of the firm and attorneys 
have not changed.
--
This communication may contain information that is 
legally privileged,
confidential or exempt from disclosure.  If you are not 
the intended
recipient, please note that any dissemination, 
distribution, or copying
of this communication is strictly prohibited.  Anyone who 
receives this
message in error should notify the sender immediately by 
telephone or
by return e-mail and delete it from his or her computer.
--
Daniel Plocinik 
   [EMAIL PROTECTED]
Arnold & Porter LLP Telephone: 
202-274-7639
555 Twelfth Street, NW  Fax: 
  202-942-5999
Washington, DC  20004-1202

For more information about Arnold & Porter LLP, click 
here:
 http://www.arnoldporter.com

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

This email was checked by MessageLabs SkyScan before 
entering Microgen.



This email was checked on leaving Microgen for viruses, similar
malicious code and inappropriate content by MessageLabs SkyScan.
DISCLAIMER

This email and any attachments are confidential and may also be
privileged.
If you are not the named recipient, please notify the sender
immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information.
In the event of any technical difficulty with this email, please
contact the sender or [EMAIL PROTECTED]
Microgen Information Management Solutions
http://www.microgen.co.uk
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: [UV] Does anyone know how to

2004-03-03 Thread Tony Gravagno
You really don't want to read a binary document into your app.  It's
relatively easy to create a COM Add-in for Word which can be controlled from
any MV environment over any OS.  See http://nebula-rnd.com/products/doc.htm
as an example of what can be done in this area.

I've been thinking about creating a simple version of NebulaDoc that does
nothing more than basic string replacement rather than supporting all of the
other Word functions.  This would facilitate these very common mail-merge
type requests.  Inquiries welcome.  Same thing can be done with Excel.  I
already have an inquiry about this for using Word with QM from LadyBridge
and a couple for D3.  I just need a few more confirmed requests to kick me
over the edge.

Tony
[EMAIL PROTECTED]

>-Original Message-
>From: [EMAIL PROTECTED]
>I am running UV 9.5.1... on windows NT (PICK flavor).
>
>I want to be able to read in a .doc file created in Word 2000,
>do a string replace, and then write out the file as a new .doc 
>file.  I have tried using the standard READ and READSEQ. I use 
>the CHANGE command [REC = CHANGE(REC,txta,txtb)] and then  
>WRITE (or WRITESEQ).  In each case I get the anticipated 
>results but when I attempt to launch the document in Word 2000 
>I get THE "unknown file format" error.  I have to figure that 
>some characters imbedded in the original document are being 
>stripped by the limitations of the uniVerse READ and READSEQ 
>commands thus making this method not practical.  I did this in 
>the past - in another life maybe - but this is my first 
>attempt with WORD 2000.  All practical suggestions appreciated.
>
>dan
>

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: [UV] Does anyone know how to

2004-03-03 Thread Daniel_Plocinik

Thanks Mick - gives me something to start with.  Now if I can only get the
users to accept it the battle will be successful.

dan



   
   
  "Gahan, Mick"
   
  <[EMAIL PROTECTED]>  To: "U2 Users Discussion List" <[EMAIL 
PROTECTED]>   
  Sent by: cc: 
   
  [EMAIL PROTECTED]     Subject:  RE: [UV] Does anyone know how to 

  ver.com  
   
   
   
   
   
   
   
  03/03/2004 04:16 PM  
   
  Please respond to U2 
   
  Users Discussion 
   
  List 
   
   
   
   
   




Dan,

We do this within UniData, but I'm thinking it should work in Universe
as well.

Our trick is to save the Word Document as a RTF (Rich Text Format) file
instead of in the native Word format.  The rtf format keeps you from
having to worry about any special characters embedded within the
document.

It's worked well for us.

Mick

Mick Gahan
Director, MIS
Metropolitan Community College
Omaha, NE
(402) 457-2402

NOTE: New email address ([EMAIL PROTECTED])


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 3:09 PM
To: [EMAIL PROTECTED]
Subject: [UV] Does anyone know how to


I am running UV 9.5.1... on windows NT (PICK flavor).

I want to be able to read in a .doc file created in Word 2000, do a
string replace, and then write out the file as a new .doc file.  I have
tried using the standard READ and READSEQ. I use the CHANGE command [REC
= CHANGE(REC,txta,txtb)] and then  WRITE (or WRITESEQ).  In each case I
get the anticipated results but when I attempt to launch the document in
Word 2000 I get THE "unknown file format" error.  I have to figure that
some characters imbedded in the original document are being stripped by
the limitations of the uniVerse READ and READSEQ commands thus making
this method not practical.  I did this in the past - in another life
maybe - but this is my first attempt with WORD 2000.  All practical
suggestions appreciated.

dan

Note: Effective February 2, 2004, Arnold & Porter became a limited
liability partnership with the name Arnold & Porter LLP. Please change
your records accordingly. The addresses, telephone and fax numbers, and
e-mail addresses of the firm and attorneys have not changed.
--
This communication may contain information that is legally privileged,
confidential or exempt from disclosure.  If you are not the intended
recipient, please note that any dissemination, distribution, or copying
of this communication is strictly prohibited.  Anyone who receives this
message in error should notify the sender immediately by telephone or by
return e-mail and delete it from his or her computer.
--
Daniel Plocinik [EMAIL PROTECTED]
Arnold & Porter LLP Telephone:  202-274-7639
555 Twelfth Street, NW  Fax:202-942-5999
Washington, DC  20004-1202

For more information about Arnold & Porter LLP, click here:
 http://www.arnoldporter.com


--
u2-users mailing list
[EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/ma

RE: [UV] Does anyone know how to

2004-03-03 Thread Gahan, Mick
Dan,

We do this within UniData, but I'm thinking it should work in Universe
as well.

Our trick is to save the Word Document as a RTF (Rich Text Format) file
instead of in the native Word format.  The rtf format keeps you from
having to worry about any special characters embedded within the
document.

It's worked well for us.

Mick

Mick Gahan
Director, MIS
Metropolitan Community College
Omaha, NE
(402) 457-2402

NOTE: New email address ([EMAIL PROTECTED])


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 3:09 PM
To: [EMAIL PROTECTED]
Subject: [UV] Does anyone know how to


I am running UV 9.5.1... on windows NT (PICK flavor).

I want to be able to read in a .doc file created in Word 2000, do a
string replace, and then write out the file as a new .doc file.  I have
tried using the standard READ and READSEQ. I use the CHANGE command [REC
= CHANGE(REC,txta,txtb)] and then  WRITE (or WRITESEQ).  In each case I
get the anticipated results but when I attempt to launch the document in
Word 2000 I get THE "unknown file format" error.  I have to figure that
some characters imbedded in the original document are being stripped by
the limitations of the uniVerse READ and READSEQ commands thus making
this method not practical.  I did this in the past - in another life
maybe - but this is my first attempt with WORD 2000.  All practical
suggestions appreciated.

dan

Note: Effective February 2, 2004, Arnold & Porter became a limited
liability partnership with the name Arnold & Porter LLP. Please change
your records accordingly. The addresses, telephone and fax numbers, and
e-mail addresses of the firm and attorneys have not changed.
--
This communication may contain information that is legally privileged,
confidential or exempt from disclosure.  If you are not the intended
recipient, please note that any dissemination, distribution, or copying
of this communication is strictly prohibited.  Anyone who receives this
message in error should notify the sender immediately by telephone or by
return e-mail and delete it from his or her computer.
--
Daniel Plocinik [EMAIL PROTECTED]
Arnold & Porter LLP Telephone:  202-274-7639
555 Twelfth Street, NW  Fax:202-942-5999
Washington, DC  20004-1202

For more information about Arnold & Porter LLP, click here:
 http://www.arnoldporter.com


-- 
u2-users mailing list
[EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users