Hello list,

I have a real problem with using PowerPoint viewer to launch some PPT files.
I have used several methods to detect the exisitence of the file and
executable and a correct path is returned for both the file to open and the
application to open it with. However PowerPoint viewer is opened but an
error is return saying 'PowerPoint Viewer is unable to read myPowerPoint'.

Here is some code...

on mouseUp me
  if baFileExists(the pathName & "ppt\" & myPowerPoint & ".ppt") then
    open the pathName & "ppt\" & myPowerPoint & ".ppt" with the pathName &
"viewer\ppView32.exe"
else
alert "No PowerPoint show available"
end if
end mouseUp me

Has anyone else experienced these problems? Even if I force it to read a
single file from a single line of code, it still refuses to read in the
selected file. e.g.

open the pathName & "ppt\myshow.ppt" with the pathName &
"viewer\ppView32.exe"

I can open a text file in Notepad using the same line of code but with the
extension and application changed, e.g.

open the pathName & "ppt\myshow.txt" with the pathName &
"viewer\Notepad.exe"

I have tried saving different Powerpoint file formats & versions but still
to no avail.

Please help me!

Thanx

Dave.


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to