>I want to call a *.chm file from a menu item in Visual FoxPro, any idea?
>by example:
>In visual Basic, I do it with Shell, anyone knows a similar command in VFoxPro?
Hello
You can call it with RUN command (native VFP), or using ShellExecute:
DECLARE INTEGER ShellExecute IN "Shell32.dll" ;
INTEGER hwnd, ;
STRING lpVerb, ;
STRING lpFile, ;
STRING lpParameters, ;
STRING lpDirectory, ;
LONG nShowCmd
=Shellexecute(0,'Open','path\file.chm','','',0)
Grigore Dolghin
Class Software.