Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Property is not found
Message
From
27/07/2019 10:43:46
 
 
To
27/07/2019 09:52:19
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual Studio
Category:
Troubleshooting
Miscellaneous
Thread ID:
01669781
Message ID:
01669791
Views:
57
I appreciate your kind attention to this my question and dilema, I restate the question:
I have class called "MyClass". It has two properties, "MyClass.Foo" defined as string and MyClass."Foo1" defined as a numeric (o mage to Calvin Hsia).
When i execute my app in dev mode and step through the code where these properties are assigned values:
MyClass.Foo = ""
MyClass.Foo1 = 0.00
life is good.

Next i run the app without debugging assuming the best and these property assignments are made without issue.

Now i am ready to execute my app in run time and my code fails at this line:
MyClass.Foo1 = 0.00

The error is: "Property "Foo1 is not found."

As I said, it is not a property.

If it were a property then a reason would be, you are instantiating a different class than you thought. We really didn't see your actual code piece including instantiation of the object.

>Your being too literal.
>Why would a property be there in dev mode but not at runtime?
>has that ever happened to you?
>
>>I have class called "MyClass". It has two properties, "Foo" defined as string and "Foo1" defined as a numeric (o mage to Calvin Hsia).
>>When i execute my app in dev mode and step through the code where these properties are assigned values:
>>Foo = ""
>>Foo1 = 0.00
>>life is good.
>>
>>Next i run the app without debugging assuming the best and these property assignments are made without issue.
>>
>>Now i am ready to execute my app in run time and my code fails at this line:
>>Foo1 = 0.00
>>The error is: "Property "Foo1 is not found."
>>
>>VFP 8 by the way.
>>
>>Any clues?
>
>
>Foo =  ""
>Foo1 = 0.00
>
>
>This is not a property assignment. You are assigning values to memory variables.
>
>
>Foo1 = 0.00 
>
>giving an error about property is nonsense, again it is not a property assignment but a memory variable. Are you sure those don't have a . (dot) prefix and included inside a with ... endwith block?
Barry Taft
i am only worried in the short term. once there is a problem, the solution usually presents itself.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform