>Hi all,
>
>In my runtime application, I keep getting an error whereever there is AddProperty in the line of the code.
>Here is the error:
>Error#1001. Feature is not available. The help file describes it as "The Visual FoxPro feature you have attempted to use is not supported in this version of Visual FoxPro."
>
>However, I have the correct vfprenu.dll, vfpr90.dll with the version# 9.00.0000.3504 in runtime environment.
>
>The documentation doesn't say that I can't use AddProperty in runtime.
>
>
>I'm loading the form from the main prg as follows:
>
>public omainForm as object
>m.omainForm = newobject("cmainform","applib.vcx")
>if vartype(m.omainForm)="O" ;
>then
> m.omainForm.Show()
> read events
>endif
>
>
>Why is that?
Found the cause of the problem:
Use AddProperty with only the first two parameters. I was using three or four on some of them.
Dawa Tsering
"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."
- Ephesians 4:29-30 NIV
Dare to Question -- Care to Answer
Time is like water in a sponge, as long as you are willing you can always squeeze some.
--Lu Xun, Father of Modern Chinese Literature