WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Functions

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Winhelp Function

Keywords:   winhelp

Question:

I am trying to execute the Winhelp function to display a topic in a Windows help file. My problem is that if the help file is already open, it first shuts down when the Winhelp function executes then starts up again with the requested topic. Not only that, all other open help files shut down too. Once the new instance of the help file is running, the Winhelp function can be executed repeatedly without causing the help file (or any others) to close. My test script is simply a dialogue window that activates Winhelp when a button is pressed. Nothing more than that. What I need is for the help file in question to stay open the first time it is called from my Winbatch program. Any suggestions would be appreciated.

Answer:

When using the WinHelp function, you're also asking Windows to try and manage the help environment.

You may wish to try...

	Run("winhelp.exe","xxx.hlp")
(where xxx.hlp is the name of the help file you want to display) instead to bring up help files.
Article ID:   W13119
Filename:   Winhelp Function.txt
File Created: 1999:04:15:16:51:52
Last Updated: 1999:04:15:16:51:52