Discussion:
Run Winhelp under XP from function
(too old to reply)
Andrea Corradi
2008-10-17 20:38:04 UTC
Permalink
Hello,

I write this code for start Winhelp from a function:

HelpPath = set("directory")+"\"
run( true, "winhelp "+HelpPath+"Gestioneallevamento.hlp" )



Winhelp starts but it doesn't find the help file.

With the same path and F1 it run correctly.

DBase Plus b1034

Thanks
Andrea
Geoff Wass [dBVIPS]
2008-10-18 05:38:13 UTC
Permalink
Post by Andrea Corradi
Hello,
HelpPath = set("directory")+"\"
run( true, "winhelp "+HelpPath+"Gestioneallevamento.hlp" )
Winhelp starts but it doesn't find the help file.
With the same path and F1 it run correctly.
DBase Plus b1034
Thanks
Andrea
Andrea,

It works for me. Try this:

? "winhelp "+HelpPath+"Gestioneallevamento.hlp"

to see exactly what you entire command contains. Perhaps there is a
space in the path name. If so, it will need to be enclosed in quotes.
--
Geoff Wass [dBVIPS]
Montréal, Québec, Canada

.|.|.| dBASE info at http://geocities.com/geoff_wass |.|.|.
.|.|.| ---------------------------------------------------------- |.|.|.
.|.|.| IT Consultant http://Geoff_Wass.com |.|.|.
Loading...