Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Project hook
Message
 
 
To
22/06/2001 11:54:45
Sony Joseph
Dovenmuehle Mortgage Inc
Schaumburg, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Project manager
Title:
Miscellaneous
Thread ID:
00522542
Message ID:
00522635
Views:
12
>Hi,
>
>Can some one help me with the Project hook class? I want to build the exe into a certain folder always. How can I use BeforeBuild event to handle this?
>
>Thanks
>Sony

Don't know if this is the kind of help you ask for, but first, create the classlib and class for your project:

md pjxclass && creates a folder for your project class
create classlib pjxclass\pjxclass
create class myproject of pjxclass\pjxclass as projecthook
* create any method code
* save and close the class designer form.
modi proj myproject
* on the menu click on the Project menu pad, then click Project Info...

On the Project tab, check the Project Class checkbox, then click the builder button to locate your project class. Now, any time you build, your code in the BeforeBuild will run. Once the build is complete, any code you have in the AfterBuild will run.

It is in the AfterBuild that you can copy the EXE to any folder you want.

Or you can just do this with a command line:

BUILD EXE path_to_output\MYEXE FROM PROJNAME

See VFP Help on Build commands.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform