Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto Add files
Message
 
 
To
01/05/2006 11:41:47
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
Project manager
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01117929
Message ID:
01118339
Views:
20
You would have the same problem when you use EVNTHANDLER() to bind to a COM events. You don't have reference to the COM object from its events unless you provide it some way.

>
>I was a little surprised that I had to use _vfp.activeproject.files.add() to make this work from within the beforeBuild event. I would have thought there would have been a way to get a reference to the project from within the method. It works though.
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform