Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File bindevent.prg does not exist
Message
From
18/09/2016 15:00:48
 
 
To
18/09/2016 03:12:38
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01641018
Message ID:
01641028
Views:
61
Hi Walter,

And good to see you too here. :)

The code was in the init of an object and the object it was supposed to bind was not yet declared this time. In a previous version of the class it was later declared, so no problem occurred.

In de help-item 'Event Binding for Visual FoxPro Objects' they write:

* When you specify objects for event binding, make sure they are
* fully instantiated. Do not bind events, methods, or properties
* to an object in its Load or Init event because the object might
* not yet be fully instantiated and can cause the binding operation
* to fail.

So, I discovered the solution, but it nevertheless is a strange error message.


>>Can anyone explain to me why I get the error: File 'bindevent.prg' does not exist.
>>
>>It is vfp9 sp2. See also the screenshot.
>
>Hi Peter,,,,, good to see you here again....
>
>That is strange.. it sounds to me that the problem is in the compilation of the exe.
>Does this problem still exist when you recompile the source?
>
>Walter,
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform