Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Files included with executables...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00654752
Message ID:
00654776
Vues:
18
This message has been marked as the solution to the initial question of the thread.
>I have a class that displays a wait dialogue with a little avi animation. The problem I'm having is that when I put the executable in a different directory, on that doesn't have the wait.avi file in it, it gives me an error saying it can't find the file, even though, in the project manager, I am including the file.
>
>Any idea on how I can get this so I don't have to copy the avi with the executable when I distrobute it?
>
>Ohh, and everything else works fine... images and icons get included with no problems.
>

The activex you're using requires file on disk because it cannot see files included in exe. You've to either distribute AVI as a separate file or copy it out at your app start.
Strtofile(Filetostr("wait.avi"), "wait.avi"))
You can check if file already exists and skip copying in this case.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform