VDC aclfgl_client_execute and aclfgl_printfile_to_ui
Vince Callaway <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <CAL=AZZYzd8ishFbN24759Wy+hh7xQaV=7dP=doV9=LFQz4GiKA@mail.gmail.com> |
I've been neglecting looking at VDC but based on some previous posts
decided to take a stab.
There was an example posted earlier on displaying a pdf to the client
that I played around with. The instructions posted did not quite work
for me. This is a basic snippet of what did:
DEFINE l_pdfpath CHAR(200,
l_pdffile CHAR(100)
LET l_pdfpath="/my/path/to/my/file.pdf"
LET l_pdffile="file.pdf"
IF aclfgl_sendfile_to_ui(l_pdfpath CLIPPED) THEN
CALL aclfgl_client_execute(l_pdffile CLIPPED)
END IF
Checking aclflg_client_execute for a return value was throwing an error.
I also tried the aclfgl_printfile_to_ui command like this:
IF aclfgl_sendfile_to_ui(l_pdfpath CLIPPED) THEN
IF aclfgl_printfile_to_ui(l_pdffile CLIPPED) <> TRUE THEN
MENU "Oops" ATTRIBUTES(STYLE="dialog", COMMENT="That didn't go
as planned.",IMAGE="information")
COMMAND "Ok"
EXIT MENU
END MENU
END IF
END IF
Here is where I am at with this. Under the Linux (Ubuntu) client
sending the file to the UI and execute work perfectly. Under the
Windows client nothing happens. The printfile_to_ui command does not
appear to send anything to the UI at all.
VDC Windows version is 11062012
VDC Linux was retrieved via svn and compiled.
Aubit4gl is 1.2.30 compiled from source under Ubuntu.
I have also not been able to get proxy to work with anything but I
will address that later.
------------------------------------------------------------------------------
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/