PDA

View Full Version : How do I play a file on the clients computer


ghobii
10-07-2004, 04:07 PM
I'm creating a project where buttons will launch powerpoints from the clients computer. Always from the same location so I can define w the path and filename. But when I do a File.open command pointing to this location nothing happens. If I browse to the file in the editior it seems to be loading the file into the project directory for inclusion on the CD, this is not what I want.

ghobii
10-07-2004, 04:53 PM
Here's what I am currently doing. This command is attached to a buttons "on click" action
01 File.Open("C:\DVD\Profile.pps", "", SW_SHOWNORMAL);

Intrigued
10-07-2004, 04:57 PM
That is a feature I and others have raised.. I believe I.R. is still looking into this situation.

Here is a thread that I posted about using double back slashes in your file path.

http://www.indigorose.com/forums/showpost.php?p=40958&postcount=1

Sincerely,

ghobii
10-07-2004, 05:04 PM
I had actually tried the double backslashes and it doesn't work.
Are you telling me this can't be done? I told the client , "no problem" since it seemed such a simple thing to do.
Are there any work-arounds?

Corey
10-07-2004, 05:14 PM
Hi. This works OK over here...

File.Open("AutoPlay\\Docs\\myFile.pps", "", SW_SHOWNORMAL);

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

ghobii
10-07-2004, 05:14 PM
Oh, double backslashes for the entire path....that did it!
File.Open("C:\\DVD\\Profile.pps ", "", SW_SHOWNORMAL);

Corey
10-07-2004, 05:22 PM
Cool. Glad it worked! :)

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

Intrigued
10-07-2004, 05:36 PM
Rock on!

That's the ticket!

:yes