>I know that the VFP6 Project Man is OO, and I wanted
>to add code to a 'postbuild' method that would automatically
>run refox and encrypt the exe so I won't have to remember to do
>it (taking the human error factor out of the picture) ;)
>
>Unfortunately I can only find code that you can use from a PRG
>like ProjMan.Add(File). If I have to do it from a prg, I can
>just use the old BUILD EXE and shell. But I was hoping for a
>PostBuild() method that fired that I could put code in.
>
>Am i dreaming or it that in there somewhere?
You have to use a project hook object to do this. Create a new class based on the project hook base class, and save it. Now open your project, right click and select project info- in the options dialog, you can specify a class to use as your project hook class. Now close the project and reopen it. Now whenever certain events fire in that project, the corresponding method runs in the project hook class. You would create your class and put code in the hook::AfterBuild method.
Erik Moore
Clientelligence