RE:Ejecutar ayuda hlp o chm sin ShowHelp
Hola Gian:
Si puedes abrir el archivo de ayuda chm, fuera de PB, y piensas que el problema está en la función ShowHelp; entonces intentá ejecutar la ayuda por otros caminos:
* Con start en RUN:
RUN('start C:\ayuda.chm', minimized! )
* Con API ShellExecute:
1. Declaras en Local External Functions:
FUNCTION long ShellExecuteA(long hwnd, string lpOperation, string lpFile, string lpParameters, string lpDirectory, long nShowCmd) LIBRARY "SHELL32.DLL"
2. Luego el script es:
long hwnd
string filname
hwnd=handle(parent)
filname='C:\ayuda.chm'
shellexecuteA(hwnd,'open',filname,'','',1)
//-------Fin-----
Nota: Si aún así no puedes ejecutar, el problema no es de PB, sino de tu archivo chm o tu equipo.