Great, now I know it's in the cleanup section of my menus, like
oFormRef.cMenuName = m.cMenuName
I have a feeling that this is misleading, since the error seems to occur because some object on the form is not properly instantiated.
Would be nice if the message were 'Object MyObject failed to instantiate' or something to that effect.
>>It's happening as a result of createobject('myform'), and of course nothing gets created.
>>
>>Afaik, I have no oFormRef variable, so it's something within VFP or one of it's classes.
>>
>>All I get back is the error and the line, which is of no use at all, since it's the line with the createobject statement.
>
>You can use Code References tool to search your project for 'oFormRef'.
Peter Pirker
Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?
(Woody Allen)