Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running an avi file
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01104761
Message ID:
01104785
Vues:
11
My colleague was having the same problem with PDF2Text program. However, instead of using double quotes he choosed to use ShortPath API...

>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
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform