RE: [U2] UniObjects - read .rtf doc from UV server

2008-07-08 Thread Louie Gouws
Hi Tony,

It is a VB.Net application. Using UO.Net to interface with UniVerse.

The System Administrator must set up a template of two documents. There are
rules on how to do these documents. It is pulled into a richtextbox in VB.
Where bold, italic, bullets etc. can be used. These documents will sit on
the UV Server.

Other users will get these document templates - the application will fill
in the tags (e.g. Date will be replaced with the date in the correct
format, Name will be replaced with the real name etc.)

The user then will have the option to print this document. The completed
document will then (with unique key) be written to the UV Server.

That's about it

Louie



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tony G
Sent: 07 July 2008 22:02
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] UniObjects - read .rtf doc from UV server

I understand you aren't going to use Word and that you have your
solution.

Just so that we understand how you're using the environment, I'm
curious about exactly what the application for a Rich Text
document is.  It looks like you're allowing users to create
templates which are used to populate data.  I'm wondering who is
creating the templates and who is consuming the final document -
that would affect the choice of tools.

I've found that very frequently people ask how do I do _this_
when _this_ isn't really the best way to handle the real business
problem.  It's the difference between strategic and tactical, and
while some people get a little miffed with some asks about their
approach, sometimes another set of eyes/ears can improve the
tactical approach a great deal - or in this case help any of us
tackling a similar problem.

T
Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] UniObjects - read .rtf doc from UV server

2008-07-07 Thread Louie Gouws
Hi All,

 

How would one read a .rtf doc from the UniVerse server via UniObjects? As
well as write it back to the server?

 

Any directions will help

 

Louie
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniObjects - read .rtf doc from UV server

2008-07-07 Thread Bjorn Behr
Hello Mr Gouws.

I trust life is treating you well :D

Why do you not just read it into a word document? And to wite it back,
just save it as a record. It is pure text and you should have no
hassels.

Bjorn

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Louie Gouws
Sent: 07 July 2008 10:22 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] UniObjects - read .rtf doc from UV server

Hi All,



How would one read a .rtf doc from the UniVerse server via UniObjects?
As well as write it back to the server?



Any directions will help



Louie
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Important Notice: This email is subject to important restrictions,
qualifications and disclaimers (the Disclaimer) that must be accessed
and read at the following address or by copying and pasting the following
address into your Internet browser's address bar: 
http://www.frstia.co.za/Disclaimer.asp

The Disclaimer is deemed to form part of the content
of this email in terms of Section 11 of the Electronic Communications
and Transactions Act, 25 of 2002. If you cannot access the Disclaimer,
please obtain a copy thereof from us by sending an email to mailto:[EMAIL 
PROTECTED]

FirstRand STI Admin (Pty) Ltd is an Authorised Financial Services Provider
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniObjects - read .rtf doc from UV server

2008-07-07 Thread Hona, David S
Same as U2 BASIC via sequential read/write. Check out the UniObjects for
.NET documentation for the UniSequentialFile Class.

If it is a large complex .RTF then, you may be far better processing it
server-side - if feasible. 

As the round robin impact of sending the data to the client and back to
the server again can be an issue for some applications/networks. Also,
some consideration about multiple users updating it simultaneously -
potentially - needs to be considered, if you wish to avoid file corrupt.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Louie Gouws
Sent: Monday, July 07, 2008 6:22 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] UniObjects - read .rtf doc from UV server

Hi All,

 

How would one read a .rtf doc from the UniVerse server via UniObjects?
As well as write it back to the server?

 

Any directions will help

 

Louie
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniObjects - read .rtf doc from UV server

2008-07-07 Thread Louie Gouws
Sorry - correction to my post.

Using VB.Net and UO.Net

Louie
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniObjects - read .rtf doc from UV server

2008-07-07 Thread Louie Gouws
Hi Bjorn

Life is great, thanx.

VB Application, using UniObjects to UV.

The .rtf template is on the UV Server. Must read it into rtf text box in VB.
Replace tags and display it for user to print.

Each .rtf doc (user might not have Word) document needs to be saved on UV
Server.

Louie

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Behr
Sent: 07 July 2008 10:42
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] UniObjects - read .rtf doc from UV server

Hello Mr Gouws.

I trust life is treating you well :D

Why do you not just read it into a word document? And to wite it back,
just save it as a record. It is pure text and you should have no
hassels.

Bjorn
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniObjects - read .rtf doc from UV server

2008-07-07 Thread Mac Bhyat
Rtf is normally just text that is formatted a special way that rtf readers
and writers understand - the rtf specification
http://msdn.microsoft.com/en-us/library/aa140277.aspx, so you can write a uv
pgm that read's/or writes that type of file using simple openseq/readseq -  

Mac

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Louie Gouws
Sent: 07 Jul 2008 10:22
To: u2-users@listserver.u2ug.org
Subject: [U2] UniObjects - read .rtf doc from UV server

Hi All,

 

How would one read a .rtf doc from the UniVerse server via UniObjects? As
well as write it back to the server?

 

Any directions will help

 

Louie
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


--
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://linux.bitdefender.com/



__ NOD32 3245 (20080707) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://linux.bitdefender.com/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniObjects - read .rtf doc from UV server

2008-07-07 Thread Louie Gouws
Thanks David,

Just what I was looking for

Louie

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hona, David S
Sent: 07 July 2008 11:17
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] UniObjects - read .rtf doc from UV server

Same as U2 BASIC via sequential read/write. Check out the UniObjects for
.NET documentation for the UniSequentialFile Class.

If it is a large complex .RTF then, you may be far better processing it
server-side - if feasible. 

As the round robin impact of sending the data to the client and back to
the server again can be an issue for some applications/networks. Also,
some consideration about multiple users updating it simultaneously -
potentially - needs to be considered, if you wish to avoid file corrupt.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Louie Gouws
Sent: Monday, July 07, 2008 6:22 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] UniObjects - read .rtf doc from UV server

Hi All,

 

How would one read a .rtf doc from the UniVerse server via UniObjects?
As well as write it back to the server?

 

Any directions will help

 

Louie
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniObjects - read .rtf doc from UV server

2008-07-07 Thread Louie Gouws
Hi Mac,

Thanks for that link - very helpful

Louie

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mac Bhyat
Sent: 07 July 2008 11:46
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] UniObjects - read .rtf doc from UV server

Rtf is normally just text that is formatted a special way that rtf readers
and writers understand - the rtf specification
http://msdn.microsoft.com/en-us/library/aa140277.aspx, so you can write a uv
pgm that read's/or writes that type of file using simple openseq/readseq -  

Mac
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniObjects - read .rtf doc from UV server

2008-07-07 Thread Mac Bhyat
USE THE SEQUENTIAL READER CLASS OF UNIOBJECTS TO READ YOUR RTF DOC INTO A
VARIABLE, AND POPULATE THE RTF BOX OF VB WITH THAT VARIABLE CONTENTS AND
PRINT THE RTF BOX CONTENTS

MAC 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Louie Gouws
Sent: 07 Jul 2008 11:31
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] UniObjects - read .rtf doc from UV server

Hi Bjorn

Life is great, thanx.

VB Application, using UniObjects to UV.

The .rtf template is on the UV Server. Must read it into rtf text box in VB.
Replace tags and display it for user to print.

Each .rtf doc (user might not have Word) document needs to be saved on UV
Server.

Louie

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Behr
Sent: 07 July 2008 10:42
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] UniObjects - read .rtf doc from UV server

Hello Mr Gouws.

I trust life is treating you well :D

Why do you not just read it into a word document? And to wite it back, just
save it as a record. It is pure text and you should have no hassels.

Bjorn
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


--
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://linux.bitdefender.com/



__ NOD32 3245 (20080707) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://linux.bitdefender.com/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniObjects - read .rtf doc from UV server

2008-07-07 Thread Anthony Youngman
Just be warned - rtf isn't as portable as it's supposed to be. I wrote rtf 
files from UV and they would read perfectly okay in some word processors and 
not in others.

Oh - and just doing a read, save in Word of a file created in UV increased 
the file size horrendously ...

There might be some routines on PickWiki that write rtf - I can't remember if I 
uploaded them or not.

Cheers,
Wol

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Louie Gouws
Sent: 07 July 2008 11:01
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] UniObjects - read .rtf doc from UV server

Hi Mac,

Thanks for that link - very helpful

Louie

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mac Bhyat
Sent: 07 July 2008 11:46
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] UniObjects - read .rtf doc from UV server

Rtf is normally just text that is formatted a special way that rtf readers
and writers understand - the rtf specification
http://msdn.microsoft.com/en-us/library/aa140277.aspx, so you can write a uv
pgm that read's/or writes that type of file using simple openseq/readseq -

Mac
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniObjects - read .rtf doc from UV server

2008-07-07 Thread Louie Gouws
Thanks Wol

I'm actually creating the template .rtf in VB.Net. then I will write it to
the UV Server. Then later read it into VB.Net again, manipulate it and print
it. I will test it on all word processors I can lay my hands on. Thanks for
the warning. 

Not going to use Word like Bjorn suggested.

Louie

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anthony Youngman
Sent: 07 July 2008 12:38
To: 'u2-users@listserver.u2ug.org'
Subject: RE: [U2] UniObjects - read .rtf doc from UV server

Just be warned - rtf isn't as portable as it's supposed to be. I wrote rtf
files from UV and they would read perfectly okay in some word processors and
not in others.

Oh - and just doing a read, save in Word of a file created in UV increased
the file size horrendously ...

There might be some routines on PickWiki that write rtf - I can't remember
if I uploaded them or not.

Cheers,
Wol
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniObjects - read .rtf doc from UV server

2008-07-07 Thread Tony G
I understand you aren't going to use Word and that you have your
solution.

Just so that we understand how you're using the environment, I'm
curious about exactly what the application for a Rich Text
document is.  It looks like you're allowing users to create
templates which are used to populate data.  I'm wondering who is
creating the templates and who is consuming the final document -
that would affect the choice of tools.

I've found that very frequently people ask how do I do _this_
when _this_ isn't really the best way to handle the real business
problem.  It's the difference between strategic and tactical, and
while some people get a little miffed with some asks about their
approach, sometimes another set of eyes/ears can improve the
tactical approach a great deal - or in this case help any of us
tackling a similar problem.

T
Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
 

 -Original Message-
 From: Louie Gouws
 I'm actually creating the template .rtf in VB.Net. 
 then I will write it to the UV Server. Then later read 
 it into VB.Net again, manipulate it and print it. I 
 will test it on all word processors I can lay my hands 
 on. Thanks for the warning.
 Not going to use Word like Bjorn suggested.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/