Walter Meester
HoogkarspelNetherlands
General information
Category:
Coding, syntax & commands
Hi Peter,
Indeed very strange to receive such and error message.
And thanks for finding the solution... I got a situation with bindevents not working and your findings fully explain it.
Walter,
>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,
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only