Hi!
How you run that program? If from Config.FPW, then there is a really big probablility some development environment elements are not yet initialized.
Also, does that code works ok from a command window?
>Hi everybody,
>
>I have VFPStart program, which worked fine for several years.
>
>It has this code:
>
>lnBar = cntbar('_MTOOLS') + 1
>***
>lnBar=m.lnBar+1
>********* EView - Erik Moore EView - very powerful tool for manipulating with views
>define bar m.lnBar of _MTOOLS prompt "EView..."
>lcTemp = m.tcUtilityPath + "eView\eView"
>
>Now, after I installed VFP8 beta all of the sudden this piece of code started to return "no such menu item is defined". Moreover, if I ignore it, and try to run several times, eventually it works.
>
>Do you know, what may cause such weird problem? It gives me this error sporadically in VFP6 and in VFP8. Menu tools is indeed defined.
>
>Thanks in advance.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.