I have a PowerPoint 2003 Presentation that runs a VB 6 program. The
link was set up by using the Slide Show/Action Settings/Run Program
insert. With the Browse button, I can locate the desired program,
which runs great when viewing the slide show.
But there is a problem. If I shut down PowerPoint and start again some
time later, the next time I try to run the slide show, the link comes
up with file not found. This occurs even though the link label still
points to the correct program file name.
I can repeat the Slide Show/Action Settings/Run Program insert and get
it work again, but then it fails after shutting down and restarting
later.
Anybody got a solution here? All I'm trying to do is run a VB program
from a PowerPoint presentation. |
Request for Question Clarification by
mathtalk-ga
on
07 Apr 2004 17:53 PDT
Is the pathname to the executable fully qualified? It sounds like an
issue with "where's the current directory" and relative pathnames.
Just a thought...
-- mathtalk-ga
|
Clarification of Question by
skippy60-ga
on
07 Apr 2004 19:54 PDT
Yes, when you use the browse button to locate the program, it does
produce a complete path name starting with
c:\directory1\directory2\directorty3\filename.
Nice try, but the problem lies elsewhere. The strange thing is that a
label does appear on later tries that shows the complete path name,
and yet PP pops up a cannot find error. Totally illogical.
|
Request for Question Clarification by
mathtalk-ga
on
07 Apr 2004 23:39 PDT
How about embedded spaces in the path? Maybe some quotation marks
around the executable filename, as they would appear in a "shortcut"?
-- mathtalk-ga
|
Clarification of Question by
skippy60-ga
on
08 Apr 2004 09:32 PDT
mathtalk,
I trield quotation marks, but it did not work.
I did find out something new, however. The program I am calling has to
load two other files that are in the same directory.
Because of the above, I wrote a simple "Hello World" program with no
called files. This clears the problem. Apparently, it is the files
being called that cannot be found.
Since the files being called are in the same directory as the program,
it seems strange that PowerPoint cannot locate the called-for files.
Skip
|