Re: VDC aclfgl_client_execute and aclfgl_printfile_to_ui
Maximilian Seidel <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <[email protected]> |
I am sure its works under windows, i used that alot in the past... Could it be that you have no defaultviewer for the pdf filetype? The VDC use a QT-Function to mange this... You can try to use the win32 starter on the cmdline: cd C:\pdf\path START filename.pdf Its the same like in the QT-Function... When this dont work you have a problem with your windows ... Daniel Kroker <[email protected]> hat am 20. Juni 2012 um 20:02 geschrieben: > I havent any problems with the latest svn checkout under windows. we use the > same code to display pdf files. > But i can check the binaries tomorrow if they are okay. I can't test it yet. > > I'm using windows 7 firewall is deactivated and User Account Control is off. > > > Vince Callaway <[email protected]> hat am 20. Juni 2012 um 19:25 > geschrieben: > > > I thought about that as well, so I placed the file in the local directory. > > > > Looks like my temp is c:\Users\Vince Callaway\AppData\Local\Temp I > > found the file there datestamped the last time I did the test so the > > file is being sent. The other files like ventas.png from the demo are > > there as well. That part appears to work, it just is not bringing up > > acrobat for the pdf. > > > > I just tested again using a .png file. The file is transfered and > > shows in the temp file. Under linux it brings up the app associated > > with png, nothing under windows but the file is now in the temp > > directory. As of right now it appears that something is not right > > with the execute function under the windows version. The file > > transfer itself is good. Maybe there is a security setting that is > > keeping it from happening? > > > > My Windows version is Windows 7 Ultimate. > > > > On Wed, Jun 20, 2012 at 10:06 AM, Daniel Kroker <[email protected]> wrote: > > > My Temp path for the VDC is "C:\Users\da\AppData\Local\Temp" > > > > > > > > > > > > da - is my pc name > > > > > > > > > > > > perhaps the file haven't send to the client because the path to the field > > > is > > > longer as your l_pdfpath var? > > > > > > > > > Vince Callaway <[email protected]> hat am 20. Juni 2012 um 19:02 > > > geschrieben: > > > > > >> That was just a copy/paste error. > > >> > > >> What is the temp path under windows? > > >> > > >> On Wed, Jun 20, 2012 at 9:59 AM, Daniel Kroker <[email protected]> wrote: > > >> > 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