Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OProj.Build()
Message
From
20/02/2001 20:18:31
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Project manager
Title:
OProj.Build()
Miscellaneous
Thread ID:
00477868
Message ID:
00477868
Views:
54
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!
Next
Reply
Map
View

Click here to load this message in the networking platform