Runprogram dont work

Mac OSX specific forum
drgolf
Enthusiast
Enthusiast
Posts: 120
Joined: Tue Mar 03, 2009 3:40 pm
Location: france

Runprogram dont work

Post by drgolf »

OSX 10.6.2
PB 4.41

The code :
RunProgram("open","myfile.pdf","",#PB_Program_Open)

work in the ide but not in standalone app.
Fred
Administrator
Administrator
Posts: 18406
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Runprogram dont work

Post by Fred »

The current directory is probably not correct. Try a

Code: Select all

 Debug GetCurrentDirectory()
to be sure.
drgolf
Enthusiast
Enthusiast
Posts: 120
Joined: Tue Mar 03, 2009 3:40 pm
Location: france

Re: Runprogram dont work

Post by drgolf »

i test : Debug GetCurrentDirectory()
No problem with the current directory.
Post Reply