I'm trying to use VA_WEBCTL to view a PDF that is local to the PC I'm running my VLF app on.
The PDF comes from a FETCH to a table with a BLOB. It's put deep in some temp directory. I try setting the URL to the file name, I put the prefix file://, nothing works.
Is it possible to do this? If not why don't we have an easy way to view PDF's in Lansa for Windows?
View PDF in Windows
-
davidbalansa
- Posts: 92
- Joined: Mon Feb 01, 2016 10:08 am
Re: View PDF in Windows
Hi Art,
I am still on Windows 10. I tried the example in the shipped VLFWIN 'Showing a web page'. I changed the URL to a file path 'C:\investigation.pdf'. It still looks to be working. The command handler (reusable part) is DF_WEBBR. It uses the browser control #DF_WEBAC
Regards,
David
I am still on Windows 10. I tried the example in the shipped VLFWIN 'Showing a web page'. I changed the URL to a file path 'C:\investigation.pdf'. It still looks to be working. The command handler (reusable part) is DF_WEBBR. It uses the browser control #DF_WEBAC
Regards,
David
Re: View PDF in Windows
Thanks for the reply. It's not working for me in Windows 11, but I don't think that windows version is the problem. Here's a screenshot of the browser component as blank, and the "message line" below shows the actual file name that I've confirmed exists.
*EDIT* is it possible using Directx is causing me my problem? I need to test that.
*EDIT* is it possible using Directx is causing me my problem? I need to test that.
- Attachments
-
- Screenshot 2023-05-09 at 10.24.25 AM.png (40.94 KiB) Viewed 13243 times
Art Tostaine
Re: View PDF in Windows
Yeah a form in Win32 or Directx isn't working for me either. Stumped on this one.
Art Tostaine
Re: View PDF in Windows
When I use the shipped example to view the PDF it opens in a seperate window. Does this happen to you as well?
Art Tostaine