Forums for Groups

IMPORTANT! You can read every forum, but you can only post in a forum if you are member of the 'Organic Group' that owns the forum. See groups for a complete list of Organic Groups on the Hive. Content (forums, pages, blogs, etc) on OE Hive is all organized using a module called 'Organic Groups'. Every Group has its own forum.


Adverts and Commercial Forum

This Forum is for the posting of adverts and commercial materials. This is the only Forum on the Hive where this is allowed. Posting commercial material here is currently free, as long as it is obvious to the Hive editors exactly why the commercial material is of concern to Progress users.


Book Corner discussion

Forum for the Book Corner Group. Review and recommend software industry books.


Progress X Libre Office (Calc)

Good afternoon.
It is possible to generate a file (Calc) of LibreOffice, through a progress program?
Someone would have an example.
It can be basic to use as reference.
Thank you.


Changing font size in Editbox?

Hi,
I'm using Progress 10.1 b. I want to change the size of Editbox in GUI. There is maximum 23. But I want to set it 46 or create new font which is 46. But when I change the size it stays only for the same session. When I close and re open session the font back to 23 again?

How can I make it lasting 46 pt?

Regards,
Mucip:)


CAN-FIND

I'm not quite certain why this particular variation of CAN-FIND doesn't parse, but I get:

org.prorefactor.refactor.RefactorException: can-find.
p:7:8: unexpected token: CAN-FIND

However a lot of other instances of can-find do seem to parse just fine.
Corresponding sample below & as an attachment.

================ can-find.p ================

/*------------------------------------------------------------------------
File : can-find.p
Purpose : demonstrate a parsing error using CAN-FIND


nested include with {&*}

This one is a little esoteric but impacts a large number of programs here.
An include file has itself an include that looks like this:

{{&programname}{&*}}

to optionally include another file at this point in the include (I.e. as a kind of primitive template method).
This appears to work fine, but programname is optionally included, and in a case where programname is undefined AND one of the cascading arguments is a multi-line argument, the value of the multiline argument does not have its newlines escaped in the program listing file causing a parse error.


down 1 stream

I'm using ProParse to parse a large number of OpenEdge programs, a number of which use 'down 1 stream' when generating reports. ProParse doesn't seem to care for this, I'm getting a org.prorefactor.refactor.RefactorException: down-one-stream.p:39:17: unexpected token: stream

Here's a sample .p created to demonstrate this using the sports2k database (also attached):

===================== snip ============================

/*------------------------------------------------------------------------
File : down-one-stream.p


Indirect Define Node

I understand that Indirect Define Nodes can be parameter definitions, but what else might they be?


Progress AES Decryption NoPadding

Hi everybody, does anyone knows how to decrypt with 4GL without padding?, i have been trying to do it but i fail everytime, i managed to do it with java but i don't know how to replicate the code in 4GL

4GL Implementation:

DEFINE VARIABLE TextToDecrypt    AS CHARACTER NO-UNDO.
DEFINE VARIABLE EncryptionAlgor  AS CHARACTER NO-UNDO.
DEFINE VARIABLE EncryptionKeyHex AS CHARACTER NO-UNDO.
DEFINE VARIABLE EncryptionIVHex  AS CHARACTER NO-UNDO.
DEFINE VARIABLE cDecryptedText   AS CHARACTER NO-UNDO.

Sintaks For Create OpenOffice Writer

Hi,

I have some problem, I can't find another sintaks to create openoffice writer from
openedge 10.2a. All samples just like this :
DEFINE VARIABLE hSM AS COM-HANDLE NO-UNDO.
DEFINE VARIABLE hDesktop AS COM-HANDLE NO-UNDO.
DEFINE VARIABLE hDocument AS COM-HANDLE NO-UNDO.

DEFINE VARIABLE hText AS COM-HANDLE NO-UNDO.
DEFINE VARIABLE hCursor AS COM-HANDLE NO-UNDO.

/* Some methods require an Array parameters for extra arguments. The
only Progress database that translates to Array is RAW. */
DEFINE VARIABLE extraArgs AS RAW NO-UNDO.

CREATE "com.sun.star.ServiceManager" hSM.


Using blob fields in dataserver MSSQL

Hello!!

I need some help to convert a memo field in SQL Server, progress see it as longvarbinary (character), into a text or string.

Sql function to do it:
SELECT
[SRM].[R_E_C_N_O_],
ISNULL(CONVERT(VARCHAR(1024),CONVERT(VARBINARY(1024),[alias].[memoField])),'') AS [MEMO]
FROM
[table] [alias] WITH (NOLOCK)

I need to do it in 4GL.

Can you help.

Thanks.


convert PDF to txt file in progress

Good morning everyone forum.
I need a help.
I have to develop a routine in progress, for converting a PDF file to a file in TXT format.
For later import into the system.
How do I Convert this? There is a FREE application that I can run on my progress application?
How do I do that? What parameters do I use?

thanks


Syndicate content