Re: Client files

Alain Siverly <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
ok, the week was long. now in a way it really runs...

# Test: opening a file with A4GL having the VDC running

MAIN

DEFINE path_complete CHAR(100)

DEFINE filename CHAR(100)

LET path_complete = "/e/as/tests/sendfile/mi_pdf.pdf"

IF aclfgl_sendfile_to_ui(path_complete)

THEN

LET filename = "mi_pdf.pdf"

CALL aclfgl_client_execute(filename CLIPPED)

END IF

END MAIN

:-)

Am 15.06.12 18:10, schrieb Alain Siverly:

Please try this way:

# Test: opening a file with A4GL having the VDC running

MAIN

DEFINE path_complete CHAR(100)

DEFINE filename CHAR(100)

LET path_variable = "/e/as/tests/sendfile/mi_pdf.pdf"

IF aclfgl_sendfile_to_ui(path_variable)

THEN

LET filename = "mi_pdf.pdf"

CALL aclfgl_client_execute(filename CLIPPED)

END IF

END MAIN

Have a nice weekend

Alain

VENTAS AG

Am 15.06.12 17:12, schrieb Luis Carlos Díaz Otero:

Hi Alain:

Sorry for my previous mail. I think i discovered my
mistake: the file must be sent without the qualified
route: it must be sent: "mi_pdf" and not
"/directory/where/it/is/mi_pdf" and it works fine. Is this
O.K.?

Cordial saludo:

Luis Carlos Díaz Otero

----------

Hay 10 clases de
personas en el mundo: las que saben de números
binarios y las que no

----------

Asesoramos

y acompañamos su presentación de tareas y trabajos de
matemáticas:
http://www.facebook.com/pages/Asesorias-Matematicas/142808622433724?created

----------
De:
Alain Siverly <[email protected]>

Para:
Luis Carlos Díaz Otero <[email protected]>

CC:
AUBIT4GL <[email protected]>

Enviado:
Jueves, 14 de junio, 2012 8:04 A.M.

Asunto:
Re: [Aubit4gl-discuss] Client files

Hola,

you can use

IF aclfgl_sendfile_to_ui(mi_pdf)

THEN DISPLAY "fantastico"

CALL aclfgl_client_execute(mi_pdf)

END IF

The file will be transfered to the temp directory
of the PC and then the VDC will pass the file from
there to the client operating system for call the
viewer or what is defined as the normal
application on your PC to display it.

Saludos
Alain Siverly

VENTAS AG 20+ Jahre ERP-Erfahrung!

Am 14.06.12 13:57, schrieb Luis Carlos Díaz Otero:

Hi all.

With or without samba, is there a
way to send a 4GL (Aubit) report to a
local (client) directory and to open it
with local (client) software?. I.e.: If i
make a PDF report, is there a way to open
it on the client side without to have
running an X server like xming, and of
course without using the server-side PDF
viewer?

START REPORT to "myreport.pdf"
sends the output to the server side, not
to the client, is there a way the user can
choose the client directory where the file
be located?

These questions are made assuming
we are using VDC, and grapchics
environment of course.

Cordial saludo:

Luis Carlos Díaz Otero

----------

Hay 10
clases de personas en el mundo: las
que saben de números binarios y las
que no

----------

Asesoramos

y acompañamos su presentación de tareas
y trabajos de matemáticas:
http://www.facebook.com/pages/Asesorias-Matematicas/142808622433724?created

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.