Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where do I start looking for problem solution?
Message
From
24/01/2005 08:21:31
 
 
To
21/01/2005 16:58:40
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00979329
Message ID:
00979967
Views:
33
I'm afraid I've got no other idea than to look at the code for all references to this property and put a wait window or messagebox() by each one indicating where it is being called from. Maybe that will help pick up the problem?



>Hi Frank,
>I can't SET STEP ON because it only occurs in the exe file. It works fine during development. I've done a messagebox just before the line that triggers the error, and everything is fine, but then the error occurs, but only intermittently, which makes it imposiible to track down.
>
>Any other ideas?
>
>
>>Hi Bill,
>>
>>Can you SET STEP ON around where the problem occurs and see what's going on? I would also do a search in the project for the variable reference.
>>
>>
>>>>>I'm getting an intermittent error when running my exe.
>>>>>
>>>>>error 1738
>>>>>property _icA_Logon is not a method or event
>>>>>myCont.INIT
>>>>>Line 31
>>>>>
>>>>>The problem:
>>>>>_icA_Logon is not even referenced in myCont.INIT().
>>>>>myCont.Init.Line 31:
>>>>>THIS._acAction = THIS._icA_Open
>>>>>
>>>>>_acAction has an assign method attached to it that has _icA_Logon referenced in it, but it isn't getting into _acAction_Assign()
>>>>>
>>>>>Line 31 is executed EVERY time the container is INIT(), but it only occasionally crashes.
>>>>>
>>>>>Both _icA_Open and _icA_Logon are defined in myCont as Character with values entered into the properties window.
>>>>
>>>>
>>>>Might there be any BINDEVENTS assigned to the _acAction property? BINDEVENTS are difficult to hunt down if you don't know about them.
>>>>
>>>>Just a thought.
>>>>
>>>>Good hunting!
>>>>
>>>>Steve
>>>
>>>I'm in VFP 7.0 SP1, so don't have BINDEVENTS.
>>>Any other ideas?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Reply
Map
View

Click here to load this message in the networking platform