Liberty BASIC Community Forum
« Show PDF files »

Welcome Guest. Please Login or Register.
Jan 23rd, 2018, 7:18pm


Rules|Home|Help|Search|Recent Posts|Notification


« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Show PDF files  (Read 394 times)
NSbrown
New Member
Image


member is offline

Avatar




PM


Posts: 15
xx Show PDF files
« Thread started on: Jun 5th, 2017, 03:35am »

hello all
how can I load and show PDF file into graphic window?
tnx'
Sharon Brown
User IP Logged

Rod
Global Moderator
ImageImageImageImageImage


member is offline

Avatar

Graphics = goosebumps!


PM

Gender: Male
Posts: 5618
xx Re: Show PDF files
« Reply #1 on: Jun 5th, 2017, 04:02am »

A .pdf is probably more suited to a browser window, in Liberty BASIC's case an ATL control.

http://lbpe.wikispaces.com/ATL+Demo
User IP Logged

MKnarr
Senior Member
ImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 432
xx Re: Show PDF files
« Reply #2 on: Jun 5th, 2017, 3:00pm »

I show pdf files this way.
Code:
run "explorer ";"filename.pdf" 


It opens the file in Acrobat.
User IP Logged

tooanalytical


member is offline

Avatar




PM


Posts: 1165
xx Re: Show PDF files
« Reply #3 on: Jun 5th, 2017, 9:01pm »

on Jun 5th, 2017, 3:00pm, MKnarr wrote:
I show pdf files this way.
Code:
run "explorer ";"filename.pdf" 


It opens the file in Acrobat.

An explanation for why that, would be great.
User IP Logged

Brandon Parker
Moderator
ImageImageImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 1123
xx Re: Show PDF files
« Reply #4 on: Jun 6th, 2017, 10:01pm »

Doing it that way basically tells windows to run the file with the natively associated program. In the case of a PDF file that is generally Acrobat Reader unless the user has specified something else.


{:0)

Brandon Parker
« Last Edit: Jun 6th, 2017, 10:01pm by Brandon Parker » User IP Logged

Windows 7 Home Premium 64-bit Intel(R) Quad Core(TM) i5 CPU M 430 @ 2.27GHz 4GB DDR3 RAM
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Rules|Home|Help|Search|Recent Posts|Notification

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls