Shell

tvrman

Member
Licensed User
Hi all,

if i want that a file in the treeview (file's loaded in a treeview) on the ppc open een file (external)
like PDF i can use shell command, but on the desktop it works fine
on de PPC there nothing happens?

anyone anyidea?

file = "test.pdf"
shell ( apppath & "\" & file ,"")

:sign0085:
 

RandomCoder

Well-Known Member
Licensed User
like PDF i can use shell command, but on the desktop it works fine
on de PPC there nothing happens?
Tvrman, check this link out to see if it offers any help...
http://www.basic4ppc.com/forum/showthread.php?t=411&highlight=shell

Can you open test.pdf using explorer by clicking on the file name or do you need to start the pdf viewer first?
If it wont run directly from pocket explorer then your problem could be due to file association in the registry.

Regards,
RandomCoder.
 

JJM

Active Member
Licensed User
Hi,

Have you, on your PPC, Adobe reader for PPC?

I think you must have that to open a file pdf.

Bye

JJ M
 

tvrman

Member
Licensed User
hi i have found the solution

shell ("IExplorer.exe", filename)

it opens PDF and other files with no problem. :sign0060:

for PDF viewer i use PocketXPF (freeware and very good!! :sign0188:)
no install reguired.
 
Top