executing help files from inside OI 3.2 (OpenInsight Specific)
At 06 AUG 1998 10:58:44AM [email protected] wrote:
OI 3.2 + Win NT WS =] utility('HELP' …) doesn't work
OI 3.2 + Win 95 =] utility('HELP' …) worx perfectly
I know there r differences in the file format, that Win Nt uses
the same format as win 3.11, but .. the basic problem is in
the utility function still .. (I get the error message 'Can't open
helpfile' .. however if I try to run the command
WINHELP .. from the command line, well .. then it works
just fine ..)
is this problem solved in later versions ??? if so in which ?
/bengt
At 07 AUG 1998 03:19PM Cameron Revelation wrote:
Hi Bengt,
Is the help file in 4.x format?
Try this on '95 then NT:
1. Open UI Workspace
2. Choose File, New menu, select Message
3. Choose Help, Contents menu
Do you get help titled "The Message Designer"?
Cameron Purdy
Revelation Software
At 11 AUG 1998 03:12AM bwk wrote:
yes .. I get the help for the msg designer (in both cases)
our application uses the utility('RUNHELP'..) to show help topics
from the different forms ..
as I mentioned before, this works fine under win95 and 3.11, however
under win NT we get the message "Cannot open help file", and this
regardless if I try executing the file that works under win95, or
the file that works under 3.11.
I tried executing the following command:
winhelp
and this works …
any ideas on what might be wrong ??
(I don't know the version of any of these help files btw )
/bengt
At 11 AUG 1998 07:29AM Cameron Revelation wrote:
Bengt,
It is possible that NT cannot find the file. There is a bug in NT where it won't use the current directory sometimes. Assuming the help file is in the OI directory, try qualifying the path to the file. Instead of:
<code> Utility("RUNHELP", File, Params)</code>
Try:
<code> Path=drive() if Path-1,1 # "\" then Path := "\" end Path := File Utility("RUNHELP", Path, Params)</code>
Cameron Purdy
Revelation Software
At 14 AUG 1998 05:12AM [email protected] wrote:
thanx Cam :)
you were exactly right .. (I even had to add the file-suffix .hlp
to make it work .. )
/bengt