Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running an avi file
Message
 
 
To
15/03/2006 20:22:53
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:
01104765
Views:
11
You're welcome.

>Thanks Sergey. You're awesome.
>
>>When path includes spaces, it has to be enclosed in double quotes
>>ZAPP = ["] + SYS(5) + CURDIR() + [CAMPLAY.EXE"] + [ /A /E]
>>ZMOV = ["] + SYS(5) + CURDIR() + [moviefolder\] + movie + ["]
>>
>>
>>
>>>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
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform