Writing a programme using PurePDF. On windows all working just one teething problem on the MAC.
On Windows this displays the PDF after saving.
Code: Select all
RunProgram(GetCurrentDirectory() + "Albums\" + App::Title1 + ".PDF")
This works when run from within PB and also when compiled into an exe.
Had to modify this to work on the MAC to this
Code: Select all
RunProgram("Open", Chr(34) + GetCurrentDirectory() + "Albums/" + App::Title1 + ".PDF" + Chr(34),"")
Again works when run in PB, but when I create and run the application it does not work!
What am I doing wrong?
Regards
CD
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.