You have to specify a procedure instead of a command for the menu option. You have to use macro expansion in the RUN command because the run command will not be able to interpret a VFP function.
>Hi Mark
>When I put in the code:
>run /n3 hh.exe fullpath("MyHelp.chm")
>It not gives that error message in both development & production pcs.
>Don't know how to declare a variable in the Menu designer to execute your code:
>lcFile=fullpath("myhelp.chm")
>run /n3 hh.exe &lcFile
>
>Besides, the error message says "cannot OPEN the MyHelp.chm. It can find it, it just cannot open it.
>I read MS KB article 194196 from 10-2000 that talks about a known bug back then. It smells like there still may be a problem.
>Where is the best place to get instructions on installing html help in vfp7 distributed applications (.exe)? The only info I have been able to find so far is by lurking in the UT.
>Bill Wright
Mark McCasland
Midlothian, TX USA