Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot add FXP programmatically
Message
De
14/02/2003 10:14:51
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00752699
Message ID:
00753227
Vues:
20
If I don't delete the PRG, VFP will actually add the PRG file instead of the FXP file. Also, I can't drag & drop the FXP files from Windows Explorer into the project.

I can however, add the FXP file by explicitly selecting it when prompted by clicking the ADD button of the project. This will be a very tedious task if I have to do this for all compiled files.

I am trying to send a distribution project to our client containing the application codes (PRGs) with our framework compiled FXPs and objects.

>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.
ramil
~~ learning to stand still
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform