Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running an avi file
Message
 
 
To
15/03/2006 20:14:09
Michael Gass
Instructional Software, Inc.
Kirkland, Washington, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01104761
Message ID:
01104784
Views:
12
See also Re: Clock, hourglass, or other visual wait display Thread #608057 Message #608259

>I'm getting a "file not found" error when trying to run an avi movie. It's a path problem. I'm using Camtasia generated avi files and the Camtasia player to play them on the user's machine. The movies are downloaded from the web to a movie folder. The movie files download and the CamPlayer starts but the error occurs when trying to run the movies. The movies run fine when started manually. The code I'm using is:
>
>LPARAMETERS movie
>LOCAL ZAPP,ZMOV
>ZAPP = SYS(5) + CURDIR() + "CAMPLAY /A /E"
>ZMOV = SYS(5) + CURDIR() + "moviefolder\" + movie
>RUN /n &ZAPP &ZMOV
>
>The error:
>
>File not found
>Files\MyAppFolder\moviefolder\
>
>It's in the Program Files folder so I'm assuming that the 'Files' portion of 'Program Files' is all that's being picked up for the path. Can anyone tell me what I'm doing wrong? TIA
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform