Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compile from batch
Message
De
23/06/2000 15:50:43
Tom Schmick
Ohio Business Computers, Inc.
Findlay, Ohio, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00383993
Message ID:
00384005
Vues:
34
>Is it possible to compile a .prg from a DOS .bat file? I have a .bat file that puts a whole bunch of .prgs into one master .prg file. Then I go into VFP and compile the resulting .prg. It would be nice if I could make the .bat file call up VFP and compile it for me.
>
>I would have to be able to indicate somehow which version to use because .prg files are currently assigned to VFP 6 and I need this to work in 5 or 6. (There would be a different .bat file for each version)
>
>I don't know a lot about .bat files, so please forgive me if I've just asked something dumb. :)
>
>Thanks,
>
>Michelle

Hi Michelle,

You can build an exe from a command line in VFP, as in:

BUILD EXE MYEXE FROM MYPROJ where you have created a project containing your main program. You could make a 1 line PRG containing the above line and call VFP with that program as parameter.

HTH...

-Tom
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform