Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OProj.Build()
Message
De
20/02/2001 20:18:31
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Titre:
OProj.Build()
Divers
Thread ID:
00477868
Message ID:
00477868
Vues:
52
Hi All

I'm using the project manager to find all files that should go into an EXE. By examining the project in a program Doug Hennig made for a FoxTalk article (I only helped test it), I can determine which files have changed, order winzip to zip these and eventually email them to my client. That part is so smooth.

Occasionally, I forget to do a rebuild of the project and some newly created files are not zipped. You're probably thinking "All you should have to do is make the project object Build()". Hah! Its never *THAT* easy <g>! According to the docs, oProj.Build() will return .F. if an error occurs.

To test this, I added the line
External Class NotThere.VCX
to my main.prg. If I suppress "displaying" the error, oProj.Build() returns .T. even though there is an error. If I allow the error to display, I get a .F. only when I cancel the build.

1) do you find the same results?
2) can you suggest a work around?

Thanks!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform