Fwd: Re: VDC aclfgl_client_execute and aclfgl_printfile_to_ui

Daniel Kroker <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
---------- Ursprüngliche Nachricht ----------
Von: Daniel Kroker <[email protected]>
An: Vince Callaway <[email protected]>
Datum: 20. Juni 2012 um 18:59
Betreff: Re: [Aubit4gl-discuss] VDC aclfgl_client_execute and
aclfgl_printfile_to_ui

Hi,


> DEFINE l_pdfpath CHAR(200,
>              l_pdffile CHAR(100)


looks wrong or copy error? You have a missing ) after the char length.
Can you find the file im Temp Path?
Your source looks correct i think.



Vince Callaway <[email protected]> hat am 20. Juni 2012 um 18:20 geschrieben:

> 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/
> _______________________________________________
> 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.