Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot add FXP programmatically
Message
 
 
À
13/02/2003 10:49:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00752699
Message ID:
00752816
Vues:
18
Don't delete the prg. Not exactly sure why it requires the .prg to be around, but it appears that that's how it works.


>Hi all,
>
>How do I add an FXP file to a project programmatically? Consider the following snippet which I thought would have added the FXP file.
>
>
>* create a test program
>strtofile([wait window 'Hello World'],'test.prg',.t.)
>* compile the test program
>compile test.prg
>* delete the test program
>delete file test.prg
>* create a test project
>modify project test nowait
>* add the compiled file
>_vfp.ActiveProject.Files.Add('test.fxp') && does not add the file!!!
>
>
>TIA.
Mike Stewart
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform